Add smart trailing

MQL5 Experten Forex

Auftrag beendet

Ausführungszeit 31 Tage

Spezifikation

Hello,

I have the EA source code ready, and it is open-source/editable. I need you to add and improve the trailing stop logic with two clear inputs:

1. Trailing Start
2. Trailing Step

Please implement it carefully and accurately.

Trailing Start  
This is the profit distance where the EA starts activating the trailing stop.

Example:
If Trailing Start = 35 pips, the EA should not move the Stop Loss until the trade reaches +35 pips profit.

Trailing Step  
This is the step distance used to move the Stop Loss after trailing starts.

Example:
If:
Trailing Start = 35 pips  
Trailing Step = 12 pips  

Then the logic should be:

- At +35 pips profit → move SL to around +5 pips profit
- At +47 pips profit → move SL to around +17 pips profit
- At +59 pips profit → move SL to around +29 pips profit
- At +71 pips profit → move SL to around +41 pips profit
- At +83 pips profit → move SL to around +53 pips profit

The Stop Loss should always trail behind the current profit by the selected step distance.

Very important requirements:

- The EA must only move the Stop Loss forward in profit.
- The EA must never move the Stop Loss backward.
- The trailing must work correctly for both Buy and Sell trades.
- The EA must calculate pips/points correctly on XAUUSD and XAUUSDm, especially on Exness.
- The trailing must continue working correctly after partial close.
- If partial close is enabled, the EA should close 50% first, then manage the remaining position with break-even and trailing stop.
- Avoid repeated unnecessary SL modifications on every tick to prevent errors, freezing, or broker rejection.
- Please make sure the logic respects broker stop levels and minimum distance rules.
- If a manual Stop Loss already exists, the EA should respect it and only improve it when the trailing condition is reached.
- Please keep the existing EA features and only add/improve this trailing logic without breaking the current workflow.

Suggested default settings for XAUUSD:

Partial Close Trigger = 30 pips  
BreakEven Trigger = 30 pips  
BreakEven Offset = 5 pips  
Trailing Start = 35 pips  
Trailing Step = 12 pips  

Also, if you think there is a better professional improvement for gold trading, such as ATR-based trailing, spread filter, or news/time filter, please suggest it before implementation.

Please test the EA carefully on XAUUSD/XAUUSDm to make sure the trailing stop works exactly as described and without execution errors.

Bewerbungen

1
Entwickler 1
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(282)
Projekte
353
29%
Schlichtung
37
27% / 65%
Frist nicht eingehalten
10
3%
Beschäftigt
3
Entwickler 3
Bewertung
(213)
Projekte
286
47%
Schlichtung
27
59% / 37%
Frist nicht eingehalten
36
13%
Frei
4
Entwickler 4
Bewertung
(111)
Projekte
183
25%
Schlichtung
25
16% / 76%
Frist nicht eingehalten
16
9%
Frei
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(23)
Projekte
34
53%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
3%
Frei
7
Entwickler 7
Bewertung
(4)
Projekte
7
57%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
(465)
Projekte
815
49%
Schlichtung
75
21% / 51%
Frist nicht eingehalten
142
17%
Frei
9
Entwickler 9
Bewertung
(2346)
Projekte
2952
63%
Schlichtung
125
44% / 26%
Frist nicht eingehalten
429
15%
Frei
10
Entwickler 10
Bewertung
(85)
Projekte
174
44%
Schlichtung
3
100% / 0%
Frist nicht eingehalten
5
3%
Frei
Veröffentlicht: 1 Beispiel
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(24)
Projekte
32
38%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
5
16%
Arbeitet
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(75)
Projekte
111
50%
Schlichtung
26
31% / 50%
Frist nicht eingehalten
9
8%
Frei
Veröffentlicht: 1 Artikel
15
Entwickler 15
Bewertung
(225)
Projekte
285
41%
Schlichtung
15
13% / 47%
Frist nicht eingehalten
67
24%
Frei
16
Entwickler 16
Bewertung
(9)
Projekte
16
19%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
3
19%
Beschäftigt
17
Entwickler 17
Bewertung
(6)
Projekte
13
62%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
2
15%
Arbeitet
18
Entwickler 18
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
19
Entwickler 19
Bewertung
(319)
Projekte
571
35%
Schlichtung
83
31% / 45%
Frist nicht eingehalten
206
36%
Frei
20
Entwickler 20
Bewertung
(7)
Projekte
6
0%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
2
33%
Frei
21
Entwickler 21
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
22
Entwickler 22
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
23
Entwickler 23
Bewertung
(258)
Projekte
269
29%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
3
1%
Arbeitet
Veröffentlicht: 2 Beispiele
24
Entwickler 24
Bewertung
(279)
Projekte
378
72%
Schlichtung
19
32% / 47%
Frist nicht eingehalten
16
4%
Frei
Veröffentlicht: 15 Beispiele
25
Entwickler 25
Bewertung
(28)
Projekte
34
35%
Schlichtung
0
Frist nicht eingehalten
2
6%
Arbeitet
26
Entwickler 26
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
1. Overview: I need an Expert Advisor (EA) for MT5 called "Gold Sniper" specifically optimized for XAUUSD (Gold). The EA should be a sniper scalper that takes high-probability trades on M5 and M15. It must work on any broker with low spread. 2. Strategy Logic: The EA should combine 3 confirmations: a) Trend Filter: EMA 50 & EMA 200. Only Buy if EMA 50 > EMA 200, only Sell if EMA 50 < EMA 200. Sniper Entry: Use RSI
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution

Projektdetails

Budget
30 - 40 USD
Ausführungsfristen
von 1 bis 2 Tag(e)