How can i change the y axis so price is printing in the middle of the chart without changing the scale?
dayj99: How can i change the y axis so price is printing in the middle of the chart without changing the scale?
Doing it manually on the terminal one can't just shift the y-axis when it is auto-scaling. On the terminal, only when it is using fixed scaling can one shift the y-axis.
So, in MQL code, you will probably have to also use a fixed scale or simulate and auto-scale to achieve the y-axis shift. You will probably need to read, calculate and then modify several chart properties together to achieve the end result. I don't believe that just modifying one property alone will suffice.
Scale Fix: how do i delete an erroneus bar - MQL5 programming forum (2020)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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