Profit Loss Trail EA V2.16 3
This Old Kings script for MetaTrader 4 is called Profit Loss Trail EA V2.16 3. Judging by its name, it is built around trailing stops. The file name marks it as version 2.16.3. It has 25 settings, for example Set Manage Orders (default ||=============== Manage), Manage Orders (default Order_By_Order_All_Symbo) and Add SLTP (default ||=============== Add SL). 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 · v2.16 · Free
About Profit Loss Trail EA V2.16 3
Profit Loss Trail EA V2.16 3 is a script for MetaTrader 4. It has 25 settings, such as Set manage orders, Manage orders and Add sltp. MQL source code included.
Files in the download: ProfitLossTrailEA_v2.16.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Set manage orders | ||=============== Manage Orders ======== | |
| Manage orders | Order_By_Order_All_Symbols | |
| Add sltp | ||=============== Add SL/TP ============ | |
| Put take profit | true | Take profit distance |
| Take profit pips | 20.0 | Take profit distance |
| Put stop loss | true | Stop loss distance |
| Stop loss pips | 20.0 | Stop loss distance |
| Trailing sl | ||=============== Trailing SL ========== | Trailing stop distance or switch |
| Use trailing stop | true | Trailing stop distance or switch |
| Put stop loss after | 0.0 | Stop loss distance |
| Trailing stop | 5.0 | Trailing stop distance or switch |
| Trailing step | 1.0 | Trailing stop distance or switch |
| Use break even | false | Move the stop to break-even |
| Break even after | 10.0 | Move the stop to break-even |
| Break even pips | 5.0 | Move the stop to break-even |
| Delete sltp | ||=============== Delete SL/TP ========= | |
| Delete take profit | false | Take profit distance |
| Delete stop loss | false | Stop loss distance |
| Advanced sets | ||=============== Advanced Sets ======== | |
| Magic number info1 | >0 = modify identifier orders | Magic number that tells this EA's orders apart |
| Magic number info2 | 0 = modify all orders | Magic number that tells this EA's orders apart |
| Magic number info3 | -1 = modify only manual orders | Magic number that tells this EA's orders apart |
| Magic number info4 | -2 = modify only chart symbol orders | Magic number that tells this EA's orders apart |
| Magic number | -2 | Magic number that tells this EA's orders apart |
| Sound alert | true | 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