Loading…

Script Close All Close Profit Close Loss

From the Old Kings archive: Script Close All Close Profit Close Loss, a script for MetaTrader 4. Judging by its name, it is built around closing open orders in one step. It has 2 settings, for example Repeat N (default 3) and Slippage (default 3). Scripts run once when you drop them on a chart; try it on a demo account first. Inside: 3 EA files with source code (.mq4) 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.

Script · MT4 · v1.0 · Free

About Script Close All Close Profit Close Loss

Script Close All Close Profit Close Loss is a script for MetaTrader 4. It has 2 settings, such as Repeat n and Slippage. MQL source code included.

Files in the download: CLOSE ALL Loss.mq4, CloseAll_Acc_profit.mq4, Details.txt, Read Me.txt, Script_CloseAll.ex4.

Settings

SettingDefaultWhat it does
Repeat n3
Slippage3Maximum slippage allowed when opening a trade

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Scripts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the script onto a chart to run it once.

Download the PDF guide

Tags: MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria