Skip to content
All library documents

Plotting Higher-Timeframe Inside Bars on a Lower-Timeframe Chart

Article MQL5 code base

Summary

The document describes a chart indicator that displays candles from a selected higher timeframe on the current chart. A timeframe offset selects how many steps above the current chart timeframe to use, and a bars-back setting controls how many higher-timeframe candles are drawn. This lets a trader inspect broader price action without switching charts.

Optional settings show the absolute open-to-close range in pips, adjust bar thickness, and choose filled or outline rendering. A later update adds controls for label font size and screen corner, with the text color matching the latest higher-timeframe bar. The material is a feature description rather than a trading strategy: it gives no rules for interpreting inside bars, no market examples, and no evidence about predictive value. Its usefulness is visual analysis and timeframe context, while signal quality or execution decisions require separate validation.

Key ideas

  • The indicator overlays candles from a selected higher timeframe on the active chart.
  • A timeframe offset chooses the higher timeframe relative to the current chart.
  • The bars-back setting controls how many higher-timeframe candles appear.
  • Optional settings display the candle’s absolute open-to-close range in pips and adjust its appearance.
  • The description provides no tested trading rules or evidence that the visualized bars predict price moves.

Tags

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