OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Rean

Veteran
100
Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: How do I offset a Moving Average
Posted : 10/21/2022 11:17 AM
Post #48728 - In reply to #48726

Thanks Barry

I tried it but it's not working. See the attached snippet. The bottom red SMA is the SMA(20), the top is SMA(20)+5.

This is what the quick indicated text file looks like:

#Indicator

Dim fValue As Single

fValue = SMA(20)+5
PlotPrice("Value", fValue)

Return fValue
Attached file : SMA_offset.jpg (51KB - 182 downloads)
Attached file : SMA_offset.jpg (51KB - 186 downloads)

Deleting message 48728 : RE: How do I offset a Moving Average


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.