Skip to content
All library documents

Overlay and Spread Charts for Comparing Two Symbols

Article MQL5 code base

Summary

The document describes a charting indicator for viewing two symbols together. Its main panel overlays their price charts, while a lower panel plots a price spread line adjusted by a spread factor. This layout can help users visually compare relative price movement and inspect the spread between the instruments.

The indicator redraws automatically when chart navigation keys change the displayed view. The document does not define how the spread factor is calculated, identify a trading rule based on the spread, or provide examples, testing, or performance evidence. The chart is therefore a visualization aid rather than a complete spread-trading method; interpreting it would require additional specifications and analysis.

Key ideas

  • The main chart overlays price data for two symbols.
  • A subchart displays their price spread with a spread factor.
  • The indicator redraws its display when chart navigation changes the viewed range.
  • No spread formula, trading rules, or performance evidence are provided.

Tags

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