Simple Equity Trailing Stop EA with 3 Parameters for MT4

Trabalho concluído

Tempo de execução 40 dias

Termos de Referência

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.



Respondido

1
Desenvolvedor 1
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
2
Desenvolvedor 2
Classificação
(395)
Projetos
556
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Livre
Publicou: 11 códigos
3
Desenvolvedor 3
Classificação
(274)
Projetos
403
28%
Arbitragem
40
40% / 50%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(366)
Projetos
414
55%
Arbitragem
12
50% / 42%
Expirado
1
0%
Livre
5
Desenvolvedor 5
Classificação
(47)
Projetos
67
37%
Arbitragem
5
40% / 40%
Expirado
1
1%
Livre
6
Desenvolvedor 6
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
7
Desenvolvedor 7
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
Expirado
9
29%
Livre
8
Desenvolvedor 8
Classificação
(258)
Projetos
269
29%
Arbitragem
1
100% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
9
Desenvolvedor 9
Classificação
(2675)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Trabalhando
Publicou: 1 artigo, 6 códigos
11
Desenvolvedor 11
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(319)
Projetos
568
35%
Arbitragem
82
30% / 45%
Expirado
206
36%
Carregado
13
Desenvolvedor 13
Classificação
(2)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(52)
Projetos
64
39%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
15
Desenvolvedor 15
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 2 códigos
16
Desenvolvedor 16
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
19
Desenvolvedor 19
Classificação
(366)
Projetos
449
55%
Arbitragem
23
57% / 17%
Expirado
30
7%
Carregado
20
Desenvolvedor 20
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(514)
Projetos
553
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(6)
Projetos
12
58%
Arbitragem
1
0% / 100%
Expirado
2
17%
Trabalhando
24
Desenvolvedor 24
Classificação
(1)
Projetos
4
0%
Arbitragem
5
20% / 40%
Expirado
2
50%
Livre
25
Desenvolvedor 25
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(268)
Projetos
603
34%
Arbitragem
65
22% / 57%
Expirado
147
24%
Trabalhando
Publicou: 1 artigo, 22 códigos
27
Desenvolvedor 27
Classificação
(209)
Projetos
272
21%
Arbitragem
24
54% / 17%
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
(24)
Projetos
32
38%
Arbitragem
4
50% / 25%
Expirado
5
16%
Trabalhando
29
Desenvolvedor 29
Classificação
(51)
Projetos
71
37%
Arbitragem
4
25% / 75%
Expirado
1
1%
Livre
Publicou: 1 código
30
Desenvolvedor 30
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
31
Desenvolvedor 31
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
32
Desenvolvedor 32
Classificação
(617)
Projetos
721
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
33
Desenvolvedor 33
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
34
Desenvolvedor 34
Classificação
(33)
Projetos
36
33%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
35
Desenvolvedor 35
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
(78)
Projetos
246
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
37
Desenvolvedor 37
Classificação
(7)
Projetos
7
0%
Arbitragem
0
Expirado
2
29%
Livre
38
Desenvolvedor 38
Classificação
(8)
Projetos
9
89%
Arbitragem
0
Expirado
0
Livre
39
Desenvolvedor 39
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
40
Desenvolvedor 40
Classificação
(162)
Projetos
289
35%
Arbitragem
18
22% / 61%
Expirado
43
15%
Livre
41
Desenvolvedor 41
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
42
Desenvolvedor 42
Classificação
(144)
Projetos
186
41%
Arbitragem
24
58% / 21%
Expirado
13
7%
Livre
43
Desenvolvedor 43
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
SPECIFICA TECNICA: Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo , in grado di adattare il comportamento proprio alle diverse condizioni di mercato di XAUUSD. Lo sviluppatore può utilizzare tecniche appropriate quali trend

Informações sobre o projeto

Orçamento
250 - 350 USD
Prazo
de 1 para 30 dias