The indicator draws candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers. Rectangles are color filled in accordance with the values of the VolatilityPivot indicator.
Depending on trend direction the candlestick body is painted in violet-blue or violet-lilac, shadows are painted in light blue or plum color.
The indicator requires the compiled indicator file VolatilityPivot.mq5 for operation. Place it to terminal_data_folder\MQL5\Indicators\.
Figure 1. The BackgroundCandle_VolatilityPivot_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/2280
The indicator draws the slow and fast ССI and colors bars for determining patterns and trends.VolatilityPivot_HTF
The VolatilityPivot indicator with the timeframe selection option available in input parameters.