Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Background_StreamСCandles_HTF - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 13
2017.05.29 13:54
2018.02.13 12:44

The indicator draws colored candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers. Rectangles are color filled in accordance with the colors of the StreamСCandles indicator candlesticks, if there are any.

Depending on the trend direction defined by the color of the dot of the source indicator, the candlestick body is painted in green or red, the appropriate shadows are painted in lime or pink.

For the indicator to be properly executed, place the compiled indicator file StreamСCandles.ex5 to terminal_data_folder\MQL5\Indicators\.

Fig1. Indicator Background_StreamСCandles_HTF

Fig1. Indicator Background_StreamСCandles_HTF

Translated from Russian by MetaQuotes Software Corp.
Original code:

ClosePositionsBySymbol ClosePositionsBySymbol

The script closes all positions of the current symbol.

CloseAllPositions CloseAllPositions

The script closes all open positions on the current account.


A simple trend indicator based on the smoothed Average Directional Movement Index.

ThreeCandles_HTF ThreeCandles_HTF

The ThreeCandles indicator with the timeframe selection option available in its input parameters.