Skip to content
All library documents

Visualizing Higher-Timeframe Candles with TrendlessAG Colors

Article MQL5 code base

Summary

This indicator overlays candles from a larger timeframe on the current price chart. It renders the candle bodies and shadows as filled rectangles, with their colors determined by the TrendlessAG indicator’s position relative to its zero line. Bodies use blue or orange, while shadows use light blue or light pink.

The description explains the visual encoding and the dependency on the compiled TrendlessAG indicator. It does not provide trading rules, performance evidence, or guidance on interpreting the colors as signals. The overlay is therefore a charting aid whose usefulness depends on a trader’s own analysis; it does not establish that the coloring predicts price direction.

Key ideas

  • The indicator displays higher-timeframe candles on a lower-timeframe chart.
  • Candle body and shadow colors reflect TrendlessAG values relative to zero.
  • The indicator requires the compiled TrendlessAG component.
  • The description provides no tests or evidence that the colors generate profitable signals.

Tags

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