OmniTrader Professional Forum OmniTrader Professional 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.


Posts: 829

Joined: 2/18/2009

User Profile
Subject : RE: My own Olang Indicator
Posted : 12/8/2011 7:56 AM
Post #20049 - In reply to #20048

Hi Jim

I think I made a mistake but not on my computer right now to test. I left the -1 after bar - I should have just input bar - will test and post again once I get to the computer.

Thank you Jim

Here is what I input last night:

#param "CurrATRpds", 15
#param "HistATRpds", 660

Dim RatioHistVol as Single

If bar - 1 < HistATRpds then

RatioHistVol = ATR(CurrATRpds) / ATR(bar - 1)


RatioHistVol = ATR(CurrATRpds) / ATR(HistATRpds)

End If

Plot( "HistVol", RatioHistVol )

Return RatioHistVol

Deleting message 20049 : RE: My own Olang Indicator

Nirvana Systems
For any problems or issues please contact our Webmaster at