Virtual Profit Loss Trail EA Expert MT4
From the Old Kings archive: Virtual Profit Loss Trail EA Expert MT4, a script for MetaTrader 4. As the name suggests, the idea behind it is trailing stops. It has 12 settings, for example Orders Manage (default Account_All_Orders), Takeprofit (default 20.0) and Stoploss (default 20.0). 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 and a PDF guide. 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 Virtual Profit Loss Trail EA Expert MT4
Virtual Profit Loss Trail EA Expert MT4 is a script for MetaTrader 4. It has 12 settings, such as Orders manage, Takeprofit and Stoploss. MQL source code included.
Files in the download: VirtualProfitLossTrailEA_v1.5.mq4, Read before installation .pdf.
Settings
| Setting | Default | What it does |
|---|---|---|
| Orders manage | Account_All_Orders | Symbol Of Orders Manage |
| Takeprofit | 20.0 | Take Profit Pips |
| Stoploss | 20.0 | Stop Loss Pips |
| Trailing stop | 10.0 | Trailing Stop Pips |
| Trailing step | 1.0 | Trailing Step Pips |
| Trailing after | 5.0 | Start Trailing After Profit |
| Magic number info1 | >0 = manage identifier orders | Set Orders Manage Info |
| Magic number info2 | 0 = manage all orders | Set Orders Manage Info |
| Magic number info3 | -1 = manage only manual orders | Set Orders Manage Info |
| Magic number | 0 | Set Orders Manage Magic Number |
| Show lines | true | Show Lines Of Levels |
| Sound alert | true | Play Sound Each Operation |
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