numpad 5 by code (rescale y axis)

 

Good day,
for complex reason here --> https://www.mql5.com/en/forum/72215

i need to simulate numpad 5 by code (or rescale y axis).
Then my y scale is reinitialized when i change timeframe.

Is it possible ?
regards.
Script setting max and min values on a fixed scale chart
Script setting max and min values on a fixed scale chart
  • 2016.01.29
  • www.mql5.com
Technical Indicators: Script setting max and min values on a fixed scale chart
 
NB: i want to do it by code, is it even possible?
 
use PostMessage windows API, WM_KEYDOWN message
Require windows DLL.
 
Thank you.
And is there a way - by mql5 native code - to command the chart to react as if i double click the price scale ?
 
RTFM

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

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

already saw, and no such thing there.
thank you.