karp wak:
I have an indicator in a separate window and I would like the zero level to not move from the middle of the window.
(The same that scale by line but from code MQL5)... Is it possible to do that? How?
Look at this topic.

Custom indicator: Auto Scale window, with 0-center
- 2020.11.07
- www.mql5.com
Hi, got this indicator code working somewhat, it is run even when mouse scrolling the chart...
Thank you so much Nagisa!!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have an indicator in a separate window and I would like the zero level to not move from the middle of the window.
(The same that scale by line but from code MQL5)... Is it possible to do that? How?
I was reading this but i saw nothing about it
https://www.mql5.com/en/docs/constants/indicatorconstants/customindicatorproperties
Thanks a lot!!