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
Play video
For large amounts of code, attach it.
Hi Mar,
Just found your post. I created this indicator a few months back to auto-scale the y-axis to show chart space above and below the current price candles/bars for my trading. Hope it is what you're after, or gives you some ideas.
(I am an amateur coder, so this code is provided "as is" and if any one is kind enough to improve or de-bug it - my thanks goes to you! It works for me currently)
VERY GOOD POST.
Your code is providing all of how to change the Y-axis scale on MQL5/4.
MQL5/4 don't provide explicit method to change the 'Y-axis scale' in MQL Standard Library except changing the MAX/MIN of charts.
Thanks but your indicator is absolutely useless - when using vertical scrolling - when a new tick arrives - it resets the chart for the min and max settings - you can make a normal vertical scrolling - so that the chart is centered only when switching timeframes - just look at how vertical scrolling is done in normal platforms like Ninja Trader - I understand that this indicator does not perform this function - just adjust it so that it does not return the chart as specified in the settings - that would he under a new tick remained to example as his the user shifted -- and returned graph in specified settings only under switching timeframes-i.e. was would a normal scrolling
Dear all,
i had the same problem and now i found the solution. you can follow the next steps and enjoy the meta trader :) :) :)
1. first right click and select indicator list
2. then choose the logarithmic scale, next in the right part, click the properties.
3. a new widows open , find the input tab and change the values of top/bottom free margins
good luck
Does anyone have this indicator for MT5? or something like it?