Skip to content
All library documents

Candlestick Direction Coloring from Open to High or Low

Article MQL5 code base

Summary

This indicator colors part of each price bar according to the candle’s direction. For a rising candle, it marks the segment from the open to the high in light green; for a falling candle, it marks the segment from the open to the low in pink. The display offers a visual way to distinguish directional bars and their corresponding price ranges.

The document describes only this coloring convention and gives no entry or exit rules, interpretation beyond candle direction, or performance evidence. It does not explain how neutral candles are handled or whether the colors encode any additional market information. The indicator should therefore be understood as a charting aid rather than a complete analytical method or strategy.

Key ideas

  • Rising candles are colored from the open to the high.
  • Falling candles are colored from the open to the low.
  • The indicator visualizes candle direction and does not provide a trading strategy.
  • The document supplies no evidence that the coloring improves trading decisions.

Tags

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