Skip to content
All library documents

Charting Session Candles with Filled Bodies and Shadows

Article MQL5 code base

Summary

This indicator displays a trading session as a candle, using filled chart buffers to show the session’s body and shadows. Inputs define the session’s start and end times and allow a horizontal shift in bars, so the displayed candle can be positioned on the chart. Candle direction determines the colors used for its body and shadows.

The document explains the indicator’s purpose and configurable parameters, but gives no trading rules, performance evidence, or guidance on choosing session times. It is a chart visualization tool rather than a tested strategy. Its usefulness for analysis depends on the instrument, chart timeframe, and session hours selected; the document does not establish that the display predicts future prices.

Key ideas

  • The indicator represents a selected trading session with a candle body and shadows.
  • Start and end hour and minute inputs determine which session is displayed.
  • A bar shift adjusts the candle’s horizontal placement on the chart.
  • Candle direction controls the colors used for the body and shadows.
  • The document provides no evidence that the visualization has predictive value.

Tags

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