Custom MT5 EA: Trailing Pending Stop Order with Position Reversal

MQL5 Esperti

Specifiche

Hello, I need a custom Expert Advisor (EA) for MetaTrader 5 that implements a specific trend-following and reversal strategy using trailing pending orders. Here is the exact logic I need:

1. Initial Entry: The EA should open a Market BUY position (or I can open it manually, please include an option for both).
2. Trailing Sell Stop: As soon as the BUY position is open, the EA must place a SELL STOP pending order at a fixed distance (e.g., X pips) below the current market price.
3. Trailing Mechanism: As the market price moves UP, the pending SELL STOP order must automatically trail (move up) behind the price, maintaining the exact X pips distance. It should never move down.
4. Reversal Trigger: When a bearish candle forms and the price drops to hit the trailed SELL STOP order:
   - The current BUY position must be closed immediately.
   - The SELL STOP order triggers, becoming an active SELL position.
5. Opposite Loop: Now that a SELL position is active, the EA must place a BUY STOP pending order X pips above the current price and trail it DOWN as the price drops. When the price reverses and hits this BUY STOP, the SELL position closes, a new BUY position opens, and the cycle repeats.

Inputs Needed in Settings:
- Distance in Pips (for the trailing pending orders)
- Lot Size
- Magic Number
- Max Spread Allowed

Con risposta

1
Sviluppatore 1
Valutazioni
(634)
Progetti
743
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
2
Sviluppatore 2
Valutazioni
(465)
Progetti
815
49%
Arbitraggio
76
21% / 50%
In ritardo
142
17%
In elaborazione
3
Sviluppatore 3
Valutazioni
(438)
Progetti
649
53%
Arbitraggio
35
63% / 20%
In ritardo
7
1%
In elaborazione
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(1)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 15 codici
6
Sviluppatore 6
Valutazioni
(3)
Progetti
3
67%
Arbitraggio
0
In ritardo
0
In elaborazione
7
Sviluppatore 7
Valutazioni
(111)
Progetti
184
25%
Arbitraggio
25
16% / 76%
In ritardo
16
9%
Gratuito
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(101)
Progetti
141
52%
Arbitraggio
5
40% / 60%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(22)
Progetti
25
24%
Arbitraggio
5
20% / 80%
In ritardo
1
4%
Gratuito
Pubblicati: 10 codici
11
Sviluppatore 11
Valutazioni
(215)
Progetti
280
21%
Arbitraggio
27
56% / 15%
In ritardo
0
Caricato
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(33)
Progetti
38
21%
Arbitraggio
5
0% / 60%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(1)
Progetti
2
50%
Arbitraggio
0
In ritardo
1
50%
In elaborazione
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
2
50% / 0%
In ritardo
1
13%
In elaborazione
17
Sviluppatore 17
Valutazioni
(4)
Progetti
10
60%
Arbitraggio
0
In ritardo
0
In elaborazione
18
Sviluppatore 18
Valutazioni
(19)
Progetti
22
18%
Arbitraggio
9
33% / 44%
In ritardo
3
14%
In elaborazione
Pubblicati: 1 codice
19
Sviluppatore 19
Valutazioni
(214)
Progetti
316
34%
Arbitraggio
63
37% / 40%
In ritardo
102
32%
In elaborazione
20
Sviluppatore 20
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(618)
Progetti
1429
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
In elaborazione
24
Sviluppatore 24
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
25
Sviluppatore 25
Valutazioni
(4)
Progetti
7
57%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
28
Sviluppatore 28
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
29
Sviluppatore 29
Valutazioni
(119)
Progetti
169
38%
Arbitraggio
9
78% / 22%
In ritardo
15
9%
Gratuito
30
Sviluppatore 30
Valutazioni
(2)
Progetti
2
50%
Arbitraggio
0
In ritardo
1
50%
Gratuito
31
Sviluppatore 31
Valutazioni
(264)
Progetti
311
75%
Arbitraggio
16
69% / 0%
In ritardo
6
2%
In elaborazione
32
Sviluppatore 32
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 10 codici
33
Sviluppatore 33
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
34
Sviluppatore 34
Valutazioni
(319)
Progetti
574
35%
Arbitraggio
83
31% / 45%
In ritardo
207
36%
Gratuito
35
Sviluppatore 35
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 11 codici
36
Sviluppatore 36
Valutazioni
(561)
Progetti
857
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
37
Sviluppatore 37
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
38
Sviluppatore 38
Valutazioni
(29)
Progetti
36
39%
Arbitraggio
0
In ritardo
2
6%
Gratuito
39
Sviluppatore 39
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
40
Sviluppatore 40
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
41
Sviluppatore 41
Valutazioni
(1)
Progetti
4
50%
Arbitraggio
3
0% / 100%
In ritardo
2
50%
Gratuito
Pubblicati: 4 codici
42
Sviluppatore 42
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
43
Sviluppatore 43
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
44
Sviluppatore 44
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
45
Sviluppatore 45
Valutazioni
(1)
Progetti
3
67%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 5 codici
46
Sviluppatore 46
Valutazioni
(32)
Progetti
42
43%
Arbitraggio
2
100% / 0%
In ritardo
4
10%
Gratuito
47
Sviluppatore 47
Valutazioni
(2)
Progetti
2
50%
Arbitraggio
0
In ritardo
0
Gratuito
48
Sviluppatore 48
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
49
Sviluppatore 49
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
50
Sviluppatore 50
Valutazioni
(2)
Progetti
3
33%
Arbitraggio
1
0% / 0%
In ritardo
1
33%
In elaborazione
Pubblicati: 3 codici
51
Sviluppatore 51
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
52
Sviluppatore 52
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
53
Sviluppatore 53
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
54
Sviluppatore 54
Valutazioni
(60)
Progetti
95
42%
Arbitraggio
4
0% / 100%
In ritardo
4
4%
Gratuito
55
Sviluppatore 55
Valutazioni
(13)
Progetti
23
39%
Arbitraggio
8
0% / 50%
In ritardo
4
17%
Gratuito
56
Sviluppatore 56
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
57
Sviluppatore 57
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
58
Sviluppatore 58
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
59
Sviluppatore 59
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
60
Sviluppatore 60
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 7 codici
61
Sviluppatore 61
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
62
Sviluppatore 62
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
63
Sviluppatore 63
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
64
Sviluppatore 64
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
65
Sviluppatore 65
Valutazioni
(170)
Progetti
265
62%
Arbitraggio
4
50% / 25%
In ritardo
10
4%
In elaborazione
66
Sviluppatore 66
Valutazioni
(52)
Progetti
58
59%
Arbitraggio
4
0% / 25%
In ritardo
1
2%
Gratuito
67
Sviluppatore 67
Valutazioni
(6)
Progetti
7
71%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 1 articolo, 2 codici
68
Sviluppatore 68
Valutazioni
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
69
Sviluppatore 69
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
70
Sviluppatore 70
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
71
Sviluppatore 71
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
72
Sviluppatore 72
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
73
Sviluppatore 73
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
74
Sviluppatore 74
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
Its my analyisis 30 - 100 USD
Title: MT5 Expert Advisor (Trading Bot) Development: SMA/EMA + Smart Money Concepts Strategy Description (सीधा कॉपी-पेस्ट करें): I am an experienced trader and need a developer to build a custom trading bot (Expert Advisor) for MetaTrader 5 (MT5). My trading background: Strong knowledge of SMA and EMA (trend and crossover strategies) Full understanding of Smart Money Concepts (order blocks, liquidity, market
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
i have back test video of exe5 file and need to develop ea mql mt5 source file experienced developers needed...i send video who are interested.... this is not martingale method
I’m looking for an experienced developer to build a fully automated XAUUSD scalping EA for MT5. Requirements: * Fast entries targeting small, profitable moves after trading costs. * Configurable fixed-target and trailing-stop modes. A $1 gold price move can trigger profit protection instead of closing the trade. * Once the profit trigger is reached, move the stop to cover costs and lock in a small net profit, then
I want to create an EA that will take trades according to a trading zone condition. The logic will start with the identification of a trading zone for BUY and SELL in the EA. After the trading zone has been identified, then the EA will use the current time frame prices to determine if the market will be a BUY or SELL. The market will be a BUY if the low price range goes above the lowest price after the installation
I have an existing compiled MT5 Expert Advisor (.ex5) for XAUUSD scalping. I need a developer to build a bridge that connects my existing EA to a broker’s FIX API, allowing its trading signals to execute orders directly through FIX instead of the standard MT5 trade server. I do not need a new trading strategy or a new EA. Please confirm whether this is technically possible without the EA source code, and explain your
I am looking for an experienced MQL5 developer and trader to develop a non-repainting scalping indicator for MT5 , designed for the M5 and M15 timeframes. Instruments I Trade: GainX 400 GainX 600 PainX 400 PainX 600 My Main Requirement: Signal Accuracy I do not need another basic indicator that simply displays BUY/SELL signals with Stop Loss and Take Profit levels. I already have several indicators, but their signals
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital
Hello, I want to create a custom Expert Advisor (EA) for MetaTrader 5 based on 3 main confirmations: Market Structure & Price Action: Identify high time-frame trend direction (HL/LH). Chart Pattern: Detect classic continuous/reversal patterns (e.g. Cup and Handle, Double Bottom/Top) on trading timeframe. Volume Profile (PoC): Confirm entry when price breaks/retests the Point of Control (PoC) level. Risk Management &
I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands

Informazioni sul progetto

Budget
30+ USD

Cliente

Ordini effettuati1
Numero di arbitraggi0