Scale Chart Programmatically

 

Hello,


is there a possibility to scale a chart programmatically? Often the values of my indicator are outside of the visible area of the chart (above or below). It would help a lot if i could set the upper/lower price of the chart area.

Thank you in advance.

 
Josh78:

Hello,


is there a possibility to scale a chart programmatically? Often the values of my indicator are outside of the visible area of the chart (above or below). It would help a lot if i could set the upper/lower price of the chart area.

Thank you in advance.

Yes you can. Check the documentation for ChartSetDouble function.
 
Alain Verleyen:
Yes you can. Check the documentation for ChartSetDouble function.

Thank you Alain!

Reason: