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

Scripts

CloseAllPositions - script for MetaTrader 5

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

Views:
1475
Rating:
votes: 20
Published:
2017.05.29 13:51

The script closes all open positions on the current account.

CloseAllPositions

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17943

StrangeIndicator_HTF StrangeIndicator_HTF

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

Candle shadow percent Candle shadow percent

The Expert Advisor is based on the indicator with the same name. Lot is calculated based on the risk value as a percentage of free margin.

ClosePositionsBySymbol ClosePositionsBySymbol

The script closes all positions of the current symbol.

Background_StreamСCandles_HTF Background_StreamСCandles_HTF

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.