The indicator changes the color of the bar to the color corresponding to the current trend, which is determined using the RVI indicator (Relative Vigor Index).
If the trend and candlestick direction match, the color of the bar is light, if opposite, the bar is dark.
Figure 1. The RVI_BARS indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/2071
The indicator changes the bar color to the color of the current trend calculated based on the ADX technical indicator.Fish_HTF
The Fish indicator with the timeframe selection option available in input parameters.