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
(393)
Projects
547
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
3
Developer 3
Rating
(272)
Projects
401
27%
Arbitration
39
41% / 49%
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
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
(24)
Projects
30
13%
Arbitration
12
0% / 75%
Overdue
8
27%
Free
8
Developer 8
Rating
(252)
Projects
258
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
9
Developer 9
Rating
(2641)
Projects
3356
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
10
Developer 10
Rating
(504)
Projects
971
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Working
Published: 1 article, 6 codes
11
Developer 11
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(308)
Projects
553
35%
Arbitration
79
32% / 42%
Overdue
200
36%
Loaded
13
Developer 13
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(38)
Projects
43
23%
Arbitration
13
8% / 69%
Overdue
1
2%
Busy
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
(17)
Projects
23
39%
Arbitration
6
33% / 50%
Overdue
0
Free
18
Developer 18
Rating
(6)
Projects
6
0%
Arbitration
2
50% / 0%
Overdue
1
17%
Free
19
Developer 19
Rating
(350)
Projects
421
54%
Arbitration
20
55% / 15%
Overdue
29
7%
Working
20
Developer 20
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(511)
Projects
549
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
(3)
Projects
6
67%
Arbitration
1
0% / 100%
Overdue
1
17%
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
(265)
Projects
596
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Working
Published: 1 article, 22 codes
27
Developer 27
Rating
(181)
Projects
234
20%
Arbitration
21
43% / 19%
Overdue
0
Working
28
Developer 28
Rating
(12)
Projects
16
13%
Arbitration
4
50% / 25%
Overdue
4
25%
Working
29
Developer 29
Rating
(51)
Projects
69
35%
Arbitration
4
25% / 75%
Overdue
0
Free
30
Developer 30
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
31
Developer 31
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
32
Developer 32
Rating
(549)
Projects
635
33%
Arbitration
41
39% / 46%
Overdue
11
2%
Loaded
33
Developer 33
Rating
(4)
Projects
7
0%
Arbitration
3
33% / 67%
Overdue
3
43%
Working
34
Developer 34
Rating
(32)
Projects
35
34%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
36
Developer 36
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
37
Developer 37
Rating
(6)
Projects
6
0%
Arbitration
0
Overdue
2
33%
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(160)
Projects
285
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
41
Developer 41
Rating
(270)
Projects
552
49%
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
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget
PROJECT DESCRIPTION Looking for 1 experienced MQL5 developer to build 2 Expert Advisors for MetaTrader 5, targeting XAUUSD and major currency pairs. Strong preference for a single developer handling both EAs to maximize code reuse, reduce cost, and ensure consistency. EA1 — Grid Martingale Pro · Buy/Sell grid with Fixed or ATR Dynamic distance (ATR read once per fill, stored in grid_step_at_open[]) · Gap

Project information

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