Close All Trade Button
From the Old Kings archive: Close All Trade Button, a script for MetaTrader 4. Its name points to closing open orders in one step. It has 11 settings, for example Corner (default 2), Move X (default 0) and Move Y (default 0). Scripts run once when you drop them on a chart; try it on a demo account first. Inside: 6 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 Close All Trade Button
Close All Trade Button is a script for MetaTrader 4. It has 11 settings, such as Corner, Move x and Move y. MQL source code included.
Files in the download: me_CloseAll v2.ex4, me_CloseAll v2.mq4, me_CloseAll v2x.ex4, me_CloseAll v2x.mq4, me_Close_All v1.1.ex4, me_Close_All v1.1.mq4, FREE TRADING SYSTEMS AND INDICATORS.url.
Settings
| Setting | Default | What it does |
|---|---|---|
| Corner | 2 | |
| Move x | 0 | Move by X pixels (right) |
| Move y | 0 | Move by Y pixels (down) |
| B00001 | ============================ | |
| Button width | 70 | Button width (in pixels) |
| Font type | Arial Bold | Font |
| Font size | 8 | Font size (buttons) |
| Font color | White | Font color |
| B00000 | ============ | |
| Button color | Navy | Colour on the chart |
| Button border | Navy |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Scripts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the script onto a chart to run it once.
Tags: MT4 Expert Advisor · MQL4 Source Code