Skip to content
All library documents

Scaling Multiple Charts Automatically or to a Fixed Price Range

Article MQL5 code base

Summary

The document describes two scripts for changing the vertical scale across all open charts. One switches every chart to automatic scaling; the other applies fixed scaling. For fixed scaling, the user specifies a percentage of the current price, and the chart centers that price vertically while setting the displayed height relative to it.

The author says applying one scale to twelve charts at once saves manual work and makes it easier to compare which trading pairs have moved most. This is a workflow convenience for visual comparison, not a trading signal or analytical method. The text does not describe how the scripts are implemented or assess whether fixed percentage scaling is appropriate for every instrument or timeframe.

Key ideas

  • One script switches all open charts to automatic scaling.
  • A second script applies fixed scaling based on a chosen percentage of current price.
  • Fixed scaling centers the current price vertically in the chart view.
  • Applying a shared scale can make relative moves across pairs easier to compare.
  • The document gives no implementation details or performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.