MT5 Zoom

 

Hello All

Is it possible to use the MT5 chart zoom feature in an indicator or EA?

If "YES", which function to use ?
 
Tete Adate Adjete:

Hello All

Is it possible to use the MT5 chart zoom feature in an indicator or EA?

If "YES", which function to use ?
Yes, that is possible.

Use ChartSetInteger() with CHART_SCALE.

https://www.mql5.com/en/docs/constants/chartconstants/enum_chart_property#enum_chart_property_integer


 
Tank you for your help