Loading…

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

SettingDefaultWhat it does
Rtotal4Число повторов при неудачных сделках
Sleeptime1Время паузы между повторами в секундах
Deviation10Отклонение цены

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Experts.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: MT5 Script · MQL5 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria