Close All Positions At Profit Target V1.1 2 5
From the Old Kings archive: Close All Positions At Profit Target V1.1 2 5, a script for MetaTrader 4. As the name suggests, the idea behind it is price targets drawn as lines and closing open orders in one step. The file name marks it as version 1.1.2. It has 10 settings, for example dnch (default set to false to let the ), Do Not Close Orders (default true) and pth (default false:Target in Money, t). Scripts run once when you drop them on a chart; try it on a demo account first. Inside: 1 EA 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.1 · Free
About Close All Positions At Profit Target V1.1 2 5
Close All Positions At Profit Target V1.1 2 5 is a script for MetaTrader 4. It has 10 settings, such as Dnch, Do not close orders and Pth. MQL source code included.
Files in the download: Close all positions at profit target v1 (1).1 (1)(1).mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Dnch | set to false to let the EA close the ord | |
| Do not close orders | true | |
| Pth | false:Target in Money, true:in Pips | |
| Profit target in pips | false | fxdaytrader |
| Profit target | 25.0 | |
| Close all now | false | closes all orders now |
| Close profitable trades only | false | closes only profitable trades |
| Proftable trade amount | 1 | Only trades above this amount close out |
| Close pending only | false | closes pending orders only |
| Use alerts | false | Turn this alert on or off |
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