Problem with creating variable using CHART_SCALE in MQL4.
long scale=ChartGetInteger(0,CHART_SCALE);
'scale' will be a value from 0 to 5
long scale=ChartGetInteger(0,CHART_SCALE);
'scale' will be a value from 0 to 5
You agree to website policy and terms of use
I am creating a custom indicator for mt4 platform. This will create a text index on the graph screen. So far so good.
My problem is that I want to create a variable using the current value of CHART_SCALE. When you change the zoom on the mt4 screen, the text changes position.