New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Plot 20 / 50 day EMA difference as a Histogram ?

edited December 2014 in SharpCharts
Is There A Way To Show The Difference Between The Distance Of The 20 Day Moving Average & The 50 Day Moving Average That Looks More Like A Histogram Than Two Solid Lines? We can visually see how far apart the lines of the 20 D MA and the 50 D MA are, but it would be nice to see the difference between these two variables more dramatically as in the case of the MACD Histogram which shows the bars either getting taller or shorter.

Edit Gord: I moved your question from the Activity area to the main section of the board under the SharpCharts section so other users can see it and comment. The Activity area is only used to track when new members join or when a user is awarded a badge.

Best Answer

  • gordgord admin
    edited December 2014 Accepted Answer
    Yes this is actually quite easy, just use the MACD or PPO with a setting of (20,50,0). This will give you the difference of the two EMA's with the signal line set to zero smoothing. Note the MACD version will give you the raw difference, where as the PPO version is the same thing but as a percentage difference, handy when comparing stocks with different prices.

    http://stockcharts.com/h-sc/ui?s=$SOX&p=D&b=5&g=0&id=p97811442423


Sign In or Register to comment.