Function to Rescale Y-axis (Price)

 
Hi,


I want to do coding in the indicator to perform Y-axis rescaling, would like to know whether any code or function in MQL4 to preform rescaling the Y-axis (Price) ?

Not using "F8" --> "scale fix", I want to do it automatic in the indicator.

Thanks for your responses.
 
kian:
Hi,


I want to do coding in the indicator to perform Y-axis rescaling, would like to know whether any code or function in MQL4 to preform rescaling the Y-axis (Price) ?

Not using "F8" --> "scale fix", I want to do it automatic in the indicator.

Thanks for your responses.
In 9 years, nobody have found a solution tho this!?
 
Nobody as looked because it's moronic. scale = m * price.
 

Found this a while back.

I used it and changed it around to fit what i need but never really worked out.

Hope you or someone else can do better than I did.

Files: