Skip to content
All library documents

Visualizing Higher-Timeframe Candles with ColorStepXCCX

Article MQL5 code base

Summary

This document describes an indicator that overlays candles from a larger timeframe as filled rectangles on a lower-timeframe chart. It uses the ColorStepXCCX indicator to determine direction-based colors: candle bodies appear in brick red or blue, while shadows use lighter shades of pink or blue. The display provides a way to view higher-timeframe price structure alongside more granular chart data.

The document gives no performance results, trading rules, or validation showing that the colors predict future prices. The display depends on the separate ColorStepXCCX indicator being available, so it is a visualization tool rather than a standalone strategy. Its usefulness is therefore limited to interpreting timeframe context and the referenced indicator's signals; no details are given about how ColorStepXCCX determines trend direction.

Key ideas

  • The indicator displays larger-timeframe candles as filled rectangles on a chart.
  • Candle body and shadow colors vary with the direction indicated by ColorStepXCCX.
  • The indicator requires the separate ColorStepXCCX file to operate.
  • The document provides no performance evidence or complete explanation of the underlying trend calculation.

Tags

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