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
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
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
14
0% / 79%
Overdue
9
29%
Free
8
Developer 8
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
9
Developer 9
Rating
(2678)
Projects
3422
68%
Arbitration
78
47% / 14%
Overdue
343
10%
Working
Published: 1 code
10
Developer 10
Rating
(511)
Projects
978
74%
Arbitration
27
19% / 67%
Overdue
100
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
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
13
Developer 13
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(54)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
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
(369)
Projects
459
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Working
20
Developer 20
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(515)
Projects
554
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
(6)
Projects
16
69%
Arbitration
1
0% / 100%
Overdue
3
19%
Working
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
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
27
Developer 27
Rating
(215)
Projects
280
21%
Arbitration
27
56% / 15%
Overdue
0
Loaded
28
Developer 28
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
29
Developer 29
Rating
(51)
Projects
71
37%
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
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
32
Developer 32
Rating
(634)
Projects
741
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
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
(78)
Projects
247
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 2 articles, 1 code
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
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction

Project information

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