Percentage Price Oscillator (PPO)

Optuma Forums Optuma Scripting Percentage Price Oscillator (PPO)

This topic contains 2 replies, has 2 voices, and was last updated by Darren Darren 1 month, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47931
    Darren
    Darren
    • Topics: 29
    • Replies: 152
    • Posts: 181

    The Percentage Price Oscillator (PPO) is similar to the MACD in that it calculates the difference between two moving averages, but the key difference is that the PPO calculates the percentage difference, not the MACD’s absolute difference.

    We can create this as a custom tool, using the following formula for a 12/26/9 PPO:

    Once created, save as an indicator in a New Tool View so that when applied to a chart it appears in it’s own panel below the price chart:

    Capture

    Capture

    Because these are percentage values it makes it easy to compare momentum between securities, rather than MACD. In this example the ASX Telecoms sector has the highest PPO Histogram value (ie momentum) at 0.87%. Compare that to Health Care which has a MACD Histogram value of 165 points, but that only represents 0.52% of the value of the index.

    Capture

     

    #48315

    Peter
    • Topics: 7
    • Replies: 7
    • Posts: 14

    Darren, what script are you using for the MACD-H in this example? Can the bars in the PPO  histogram be coloured red for negative and green for postive.

    Thanks Peter

    #48403
    Darren
    Darren
    • Topics: 29
    • Replies: 152
    • Posts: 181

    Hi Peter,

    The MACD-H is a tool from the toolbox so no need to script it. For the PPO histogram colours it may be easier to remove the Plot3.Colour = Blue from the script. Then apply the PPO tool and change the Plot3 colour properties to Positive/Negative, and then click Save Settings as Default under Actions. The next time you use the PPO tool those colours will be remembered.

    Capture

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close