Simple Equity Trailing Stop EA with 3 Parameters for MT4

Job finished

Execution time 40 days

Specification

I need a clean, single-purpose Expert Advisor for MetaTrader 4 (MT4, MQL4 only) that monitors total account equity and closes all trades based on simple percentage rules. I want to be able to modify the values of the three parameters on the fly after trading has started.

The full project budget of $350 is already in my MQL5 account and will be placed into secure escrow immediately upon selecting the right developer.

REQUIREMENTS:

 

1. THREE INPUT PARAMETERS ONLY:

   - ActivationProfitPercent (example: 5 for 5%)

   - TrailingStopPercent (example: 2 for 2%)

   - EmergencyStopLossPercent (example: 20 for 20%, default = 0)

 

2. LOGIC:

 

   A. Emergency Stop Loss (if enabled):

   - If EmergencyStopLossPercent > 0

   - Monitor equity from starting balance

   - If equity drops by EmergencyStopLossPercent% from starting balance → Close all trades

 

   B. Activation & Trailing Stop:

   - Monitor total account equity

   - When equity reaches (StartingBalance + ActivationProfitPercent%) → start trailing

   - Trail TrailingStopPercent% below the highest equity after activation

   - If trailing stop triggers → Close all trades

 

   C. Close All Trades Means:

   - Close EVERY open trade in the account (any symbol, any magic number, any comment)

   - Delete all pending orders

   - No filters, no exceptions

 

3. NO UNNECESSARY FEATURES:

   - No trade filters (by magic number, symbol, comment, etc.)

   - No disable/enable switches

   - No alerts, emails, logging panels, or buttons

   - No charts, GUI, or settings beyond the three input parameters

   - Keep it minimal, robust, and lightweight

 

DELIVERABLES MUST INCLUDE:

- Working .ex4 file for MT4

- FULL MQL4 SOURCE CODE (.mq4 file)

- Brief documentation of the three parameters

- Full ownership and modification rights upon payment

 

BUDGET & TIMELINE:

- Budget: $250–350 USD (negotiable)

- Period: 10–14 days

- Platform: MetaTrader 4 only (MQL4, not MT5)

 

Please bid only if you can deliver a clean, well-tested EA with exactly the logic described above. The tentative EA must include only the three parameters listed, any extra features are grounds for rejection. Allow me two weeks to test it out.

  1. Full, uncompiled  .mq5  source code is required upon delivery. Payment is contingent on my successful compilation of this source.

  2. The EA is strictly forbidden from using the following functions:  WinExec() ,  ShellExecute() ,  FileOpen()  for operations outside the Terminal data folder, and any unapproved network functions ( WebRequest ).

  3. The EA must only read/write to its designated data folder within the MetaTrader directory.

  4. The work will be conducted through MQL5 Escrow. Code that is obfuscated or contains unauthorized operations will result in project cancellation.



Responded

1
Developer 1
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
2
Developer 2
Rating
(394)
Projects
553
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
3
Developer 3
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
(366)
Projects
414
55%
Arbitration
12
50% / 42%
Overdue
1
0%
Free
5
Developer 5
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
6
Developer 6
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
(25)
Projects
31
13%
Arbitration
12
0% / 75%
Overdue
9
29%
Free
8
Developer 8
Rating
(258)
Projects
265
29%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
9
Developer 9
Rating
(2666)
Projects
3397
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
10
Developer 10
Rating
(509)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
101
10%
Free
Published: 1 article, 6 codes
11
Developer 11
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(314)
Projects
561
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Working
13
Developer 13
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(48)
Projects
56
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Free
15
Developer 15
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 codes
16
Developer 16
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
18
Developer 18
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
19
Developer 19
Rating
(363)
Projects
436
54%
Arbitration
22
50% / 14%
Overdue
30
7%
Loaded
20
Developer 20
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(512)
Projects
551
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(4)
Projects
10
50%
Arbitration
1
0% / 100%
Overdue
2
20%
Free
24
Developer 24
Rating
(1)
Projects
4
0%
Arbitration
5
20% / 40%
Overdue
2
50%
Free
25
Developer 25
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(268)
Projects
601
34%
Arbitration
64
20% / 58%
Overdue
147
24%
Working
Published: 1 article, 22 codes
27
Developer 27
Rating
(199)
Projects
255
21%
Arbitration
23
48% / 17%
Overdue
0
Loaded
28
Developer 28
Rating
(17)
Projects
24
21%
Arbitration
4
50% / 25%
Overdue
4
17%
Loaded
29
Developer 29
Rating
(51)
Projects
70
36%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
30
Developer 30
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
31
Developer 31
Rating
(6)
Projects
5
0%
Arbitration
4
25% / 75%
Overdue
2
40%
Free
32
Developer 32
Rating
(581)
Projects
673
32%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
33
Developer 33
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
34
Developer 34
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
35
Developer 35
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(77)
Projects
244
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
37
Developer 37
Rating
(7)
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
38
Developer 38
Rating
(8)
Projects
9
89%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
41
Developer 41
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
42
Developer 42
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
43
Developer 43
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b

Project information

Budget
250 - 350 USD
Deadline
from 1 to 30 day(s)