Loading…

Close All With Adjusted Slippage

This Old Kings script for MetaTrader 4 is called Close All With Adjusted Slippage. As the name suggests, the idea behind it is 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: 1 tool file 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 Close All With Adjusted Slippage

Close All With Adjusted Slippage 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 with ADJUSTED SLIPPAGE~.mq4.

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: MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria