Depending on trend direction the candlestick body is painted in green or pink, shadows are painted in lime or plum color.
The indicator requires the compiled indicator file BrainTrend2.mq5. Place it to the terminal_data_folder\MQL5\Indicators\.
Figure 1. BackgroundСandle_BrainTrend2_HTF
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/2128
The indicator draws rectangle candlesticks of a higher timeframe based on the values of the BrainTrend1 indicator.RSIFilter
The indicator changes color of bars in a separate window. It is changed to the color of the current trend calculated based on the RSI technical indicator.