Skip to content
All library documents

Using RVI and Candle Direction to Color Trend Bars

Article MQL5 code base

Summary

The RVI Bars indicator colors each price bar according to the trend direction inferred from the Relative Vigor Index. When the trend agrees with the candle's direction, the bar receives a lighter shade; when they conflict, it receives a darker shade. The display is intended to make agreement or disagreement between an indicator-based trend and individual candle movement easier to see.

The description gives only this visual rule and identifies the indicator as RVI-based. It does not specify how RVI values are calculated, the thresholds used to determine trend, or how the color signals should guide entries and exits. No chart evidence, trading results, or testing is provided, so the indicator is best understood here as a visualization aid rather than a complete strategy.

Key ideas

  • The indicator assigns bar colors based on trend direction inferred from RVI.
  • Bars are lighter when trend and candle direction agree.
  • Bars are darker when candle direction opposes the RVI-based trend.
  • The description offers no entry rules or evidence of trading performance.

Tags

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