Skip to content
All library documents

Displaying Higher-Timeframe TriX Candle Bodies and Shadows

Article MQL5 code base

Summary

This MetaTrader 5 indicator displays TriX Candle values from a higher timeframe as filled rectangles in the chart background. It colors candle bodies emerald green or purple according to direction, while shadows use lighter green or plum shades. The stated purpose is visual: to make higher-timeframe candle direction and range visible alongside the chart being viewed.

The indicator depends on a separately compiled TriXCandle file, which must be placed in the platform’s Indicators directory. The document gives no trading rules, entry or exit method, backtest, or evidence that the coloring improves decisions. It is therefore best understood as a chart visualization utility; interpretation depends on the underlying TriX Candle indicator and the selected timeframe.

Key ideas

  • The indicator renders higher-timeframe TriX candles as filled background rectangles.
  • Candle direction determines the body color, while shadows use separate lighter colors.
  • The display requires the compiled TriXCandle indicator as a dependency.
  • The document describes chart presentation but provides no trading strategy or performance evidence.

Tags

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