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.

 
jawjahtek

Member
25
Posts: 37

Joined: 5/30/2006
Location: Georgia, USA

User Profile
 
Subject : RE: Awesome Oscillator
Posted : 11/13/2012 7:38 PM
Post #21407 - In reply to #21404

Actually, this is just a version of MACD using SMAs and the Median Price.
Here is Nirvana's code for MACD, modified as needed.
Good luck to you; I would not consider this indicator "awesome" or "spot on", and I would not expect N to include it in OT.

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

Dim fMACDao as Single

fMACDao = SMA((H+L)/2, ShortPeriods) - SMA(H+L)/2, LongPeriods)
Plot("MACDao", fMACDao)
Return 0
Deleting message 21407 : RE: Awesome Oscillator


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