Loading…

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

SettingDefaultWhat it does
Set manage orders||=============== Manage Orders ========
Manage ordersOrder_By_Order_All_Symbols
Add sltp||=============== Add SL/TP ============
Put take profittrueTake profit distance
Take profit pips20.0Take profit distance
Put stop losstrueStop loss distance
Stop loss pips20.0Stop loss distance
Trailing sl||=============== Trailing SL ==========Trailing stop distance or switch
Use trailing stoptrueTrailing stop distance or switch
Put stop loss after0.0Stop loss distance
Trailing stop5.0Trailing stop distance or switch
Trailing step1.0Trailing stop distance or switch
Use break evenfalseMove the stop to break-even
Break even after10.0Move the stop to break-even
Break even pips5.0Move the stop to break-even
Delete sltp||=============== Delete SL/TP =========
Delete take profitfalseTake profit distance
Delete stop lossfalseStop loss distance
Advanced sets||=============== Advanced Sets ========
Magic number info1>0 = modify identifier ordersMagic number that tells this EA's orders apart
Magic number info20 = modify all ordersMagic number that tells this EA's orders apart
Magic number info3-1 = modify only manual ordersMagic number that tells this EA's orders apart
Magic number info4-2 = modify only chart symbol ordersMagic number that tells this EA's orders apart
Magic number-2Magic number that tells this EA's orders apart
Sound alerttrueTurn this alert on or off

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: MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria