Close All Positions 3
This Old Kings expert advisor (trading robot) for MetaTrader 5 is called Close All Positions 3. Its name points to closing open orders in one step. It has 3 settings, for example RTOTAL (default 4), SLEEPTIME (default 1) and Deviation (default 10). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 script file with source code (.mq5) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Expert advisor · MT5 · v1.0 · Free
About Close All Positions 3
Close All Positions 3 is an expert advisor (trading robot) for MetaTrader 5. It has 3 settings, such as Rtotal, Sleeptime and Deviation. MQL source code included.
Files in the download: CloseAllPositions.mq5.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Rtotal | 4 | Число повторов при неудачных сделках |
| Sleeptime | 1 | Время паузы между повторами в секундах |
| Deviation | 10 | Отклонение цены |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Experts.
- Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
- Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: MT5 Script · MQL5 Source Code