Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 8586
- Rating:
- Published:
- 2017.05.29 13:51
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The script closes all open positions on the current account.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17943
![StrangeIndicator_HTF](https://c.mql5.com/i/code/indicator.png)
The StrangeIndicator indicator with the timeframe selection option available in its input parameters.
![Candle shadow percent](https://c.mql5.com/i/code/expert.png)
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](https://c.mql5.com/i/code/script.png)
The script closes all positions of the current symbol.
![Background_StreamСCandles_HTF](https://c.mql5.com/i/code/indicator.png)
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.