dragon
Posts: 2
Joined: Thu Nov 17, 2022 3:43 am

How can I draw bars like this?

Thu Nov 24, 2022 11:30 am

I want to draw the resisstance and support belt as shown in the url below. If I have figured out where to draw, how can I draw it with highchart?
https://www.tradingview.com/script/4DXM ... mment-form

The drawing method I have found so far has to cover the whole chart horizontally. How can I draw from the designated K line to the right only and delete the left part?
Attachments
sr example.png
sr example.png (50.96 KiB) Viewed 192 times

dawid.d
Posts: 706
Joined: Thu Oct 06, 2022 11:31 am

Re: How can I draw bars like this?

Thu Nov 24, 2022 2:04 pm

Hello,

Thanks for contacting us with your question!

There are many ways to draw in Highcharts. The most basic way is to use the SVGRenderer. However, in your case, I think it will be easier to use the annotations module. You can read more about it here: https://www.highcharts.com/blog/tutoria ... ns-part-1/

Demo: https://jsfiddle.net/BlackLabel/gLvba67c/1/

Let me know if that was what you were looking for!
Best regards!

Return to “Highcharts Stock”