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.


  Current location        Thread information  
OmniTrader Professional Forum
OmniScripts
Percentage Price Oscillator
Last Activity 12/22/2017 12:33 AM
3 replies, 936 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Steven S

Member

Posts: 10

Joined: 1/3/2009

User Profile
 
Subject : Percentage Price Oscillator
Posted : 1/4/2014 4:10 PM
Post #22509

Has anyone created the PPO indicator for Omnitrader Pro? The formula is 9 Day EMA - 26 day EMA / 26 Day EMA. Any help would be great. Thanks in advance.

Steven Still
^ Top
Jim Dean

Sage
20001000100
Posts: 3121

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

User Profile
 
Subject : RE: Percentage Price Oscillator
Posted : 1/4/2014 4:18 PM
Post #22510 - In reply to #22509

#indicator
dim RtnVal as single
if EMA(26) > 0 then
RtnVal = (EMA(9)-EMA(26))/EMA(26)*100
end if
plot("PPO",RtnVal)
return RtnVal
^ Top
Steven S

Member

Posts: 10

Joined: 1/3/2009

User Profile
 
Subject : RE: Percentage Price Oscillator
Posted : 1/6/2014 3:03 PM
Post #22515 - In reply to #22510

Jim,
Once I insert the .txt file into omnilanguage and compile, how do I then place a value (ex. 14) in the edit area of chart options, then get it to appear on the chart?

Thanks. Steven
^ Top
Jim Dean

Sage
20001000100
Posts: 3121

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

User Profile
 
Subject : RE: Percentage Price Oscillator
Posted : 1/6/2014 3:18 PM
Post #22516 - In reply to #22515

#indicator
#param "FastPds",9, 2, 20
#param "SlowPds",26, 10, 40
dim RtnVal as single
if EMA(SlowPds) > 0 then
RtnVal = (EMA(FastPds)-EMA(SlowPds))/EMA(SlowPds)*100
end if
plot("PPO",RtnVal)
return RtnVal
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


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