Join our fan page
- Views:
- 4778
- Rating:
- Published:
- 2014.03.14 12:54
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator draws averaged candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers.
Depending on candlestick direction its body is painted in green or orange, shadows are painted in lime or yellow.
The indicator requires the compiled indicator file Candles_Smoothed.mq5 for operation. Place it to terminal_data_folder\MQL5\Indicators\.
Figure 1. The Background_Candles_Smoothed_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/2124

The indicator draws Heiken Ashi candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator changes the bar color to the color of the current trend calculated based on the RSI technical indicator.

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.

The indicator draws rectangle candlesticks of a higher timeframe based on the values of the BrainTrend1 indicator.