Please edit your post.
For large amounts of code, attach it.
learntocode it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
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
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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?