dangthinh104
Posts: 2
Joined: Sun Nov 07, 2021 1:57 pm

PPO - Percentage Price Oscillator show Signal Line and PPO Histogram

Dear All

I am begin in HighChart, I wanna show signal line and Histogram in chart.
- My expect such as picture below
Image

- My code: https://jsfiddle.net/dangthinh104/yoh897vd/7/

Thank you for help me.
Attachments
2021-11-07 21_07_00-PPO - Percentage Price Oscillator Chart.png
2021-11-07 21_07_00-PPO - Percentage Price Oscillator Chart.png (149.66 KiB) Viewed 425 times
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: PPO - Percentage Price Oscillator show Signal Line and PPO Histogram

Hello dangthinh104,

Welcome to our forum and thanks for contacting us with your question!

Here you can find a demo with an example: https://jsfiddle.net/BlackLabel/eo32ukLz/
The demo doesn't have a histogram series, because I'm not quite sure what should it show. The difference between EMA and PPO? Thanks in advance for clarification.

Also, please tell me what else would you like to change in the demo.
Regards!
Mateusz Bernacik
Highcharts Developer
dangthinh104
Posts: 2
Joined: Sun Nov 07, 2021 1:57 pm

Re: PPO - Percentage Price Oscillator show Signal Line and PPO Histogram

So many thanks about create Demo for me.
But I think that not expectation of us.


My expect PPO have show 3 items: PPO (12.26.9), Signal line, PPO Histogram
I have compare your demo with trading view. May I wanna output of PPO such as trading_view below

Image
Attachments
QA_1.png
QA_1.png (147.76 KiB) Viewed 364 times
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: PPO - Percentage Price Oscillator show Signal Line and PPO Histogram

Hi dangthinh104,

I have created something like that, here you can find a demo: https://jsfiddle.net/BlackLabel/qvemtza9/

Also, I have tried that indicator on trading view and if I'm not wrong, that is a custom indicator made by someone. It is supposed to show the difference between PPO and EMA. If you want to learn more about making custom indicators in Highcharts you should read this article: https://www.highcharts.com/docs/stock/c ... indicators

The demo doens't have full-fledged indicator, it is a mere concept with very simple calculations and most likely require some tweaking, but should give you general idea how to achieve something like that.

Let me know if that was what you were looking for!
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”