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.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Awesome Oscillator
Posted : 10/28/2014 3:56 AM
Post #23125 - In reply to #23124

#Indicator
#PARAM "ShortPeriods", 5
#PARAM "LongPeriods", 34

Dim fMACDao as Single

if bar > LongPeriods then

fMACDao = SMA((H+L)/2, ShortPeriods) - SMA((H+L)/2, LongPeriods)

If fmacdao > fmacdao[1] then
Plothist("MACDao", fMACDao, 0, green)
Else
Plothist("MACDao", fMACDao, 0, red)
End if

end if

Return fMACDao
Deleting message 23125 : RE: Awesome Oscillator


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