Which code replicates the double-click over the Y axis in fix-scale mode? - page 2

 
Ryan L Johnson #:
I have noticed in the past that ChartRedraw() seemed to "inadvertently" snap the chart to the height of visible bars when called.
Update... This ☝ is no longer happening in current MT5 Builds. At least, not without fixed values enabled.
 

Too many people find it inconvenient to work with charts because of this issue.


https://www.mql5.com/en/forum/15785

How to move chart up or down?
How to move chart up or down?
  • 2013.11.29
  • www.mql5.com
General: How to move chart up or down?
 
Luu Tuan Trung #:

Too many people find it inconvenient to work with charts because of this issue.

https://www.mql5.com/en/forum/15785

That's right because there is a manual workaround:

  1. Disable Chart auto scroll.
  2. Scroll the vertical price scale (y-axis) down until bars are basically a flat horizontal line.
  3. Enable Scale fix.
  4. Scroll the y-axis back up to your desired height.
Then you can fully drag the chart.
 
And oh yeah... Save it as a chart template periodically if you can't be bothered to repeat all of the steps all of the time.
 
Ryan L Johnson #:

That's right because there is a manual workaround:

  1. Disable Chart auto scroll.
  2. Scroll the vertical price scale (y-axis) down until bars are basically a flat horizontal line.
  3. Enable Scale fix.
  4. Scroll the y-axis back up to your desired height.
Then you can fully drag the chart.
change timeframe MT5 auto reset
 
Luu Tuan Trung #:
change timeframe MT5 auto reset

That's actually the feature that Martin Bittencourt is trying to programmatically replicate.

Changing an indicator input paramter also does the same thing.🤔