Custom MT5 EA: Trailing Pending Stop Order with Position Reversal

MQL5 专家

指定

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

反馈

1
开发者 1
等级
(634)
项目
743
34%
仲裁
49
53% / 39%
逾期
14
2%
工作中
2
开发者 2
等级
(465)
项目
815
49%
仲裁
76
21% / 50%
逾期
142
17%
工作中
3
开发者 3
等级
(438)
项目
649
53%
仲裁
35
63% / 20%
逾期
7
1%
工作中
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(1)
项目
2
0%
仲裁
0
逾期
0
空闲
发布者: 13 代码
6
开发者 6
等级
(3)
项目
3
67%
仲裁
0
逾期
0
工作中
7
开发者 7
等级
(111)
项目
184
25%
仲裁
25
16% / 76%
逾期
16
9%
空闲
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲
9
开发者 9
等级
(101)
项目
141
52%
仲裁
5
40% / 60%
逾期
0
空闲
10
开发者 10
等级
(22)
项目
25
24%
仲裁
5
20% / 80%
逾期
1
4%
空闲
发布者: 10 代码
11
开发者 11
等级
(215)
项目
280
21%
仲裁
27
56% / 15%
逾期
0
已载入
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
13
开发者 13
等级
(33)
项目
38
21%
仲裁
5
0% / 60%
逾期
0
空闲
14
开发者 14
等级
(1)
项目
2
50%
仲裁
0
逾期
1
50%
工作中
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
(8)
项目
8
0%
仲裁
2
50% / 0%
逾期
1
13%
工作中
17
开发者 17
等级
(4)
项目
10
60%
仲裁
0
逾期
0
工作中
18
开发者 18
等级
(19)
项目
22
18%
仲裁
9
33% / 44%
逾期
3
14%
工作中
发布者: 1 代码
19
开发者 19
等级
(214)
项目
316
34%
仲裁
63
37% / 40%
逾期
102
32%
工作中
20
开发者 20
等级
(2)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
21
开发者 21
等级
项目
0
0%
仲裁
0
逾期
0
空闲
22
开发者 22
等级
(6)
项目
8
38%
仲裁
1
0% / 100%
逾期
0
空闲
23
开发者 23
等级
(618)
项目
1429
59%
仲裁
31
81% / 0%
逾期
10
1%
空闲
24
开发者 24
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
发布者: 3 代码
25
开发者 25
等级
(4)
项目
7
57%
仲裁
1
100% / 0%
逾期
0
空闲
26
开发者 26
等级
项目
0
0%
仲裁
0
逾期
0
空闲
27
开发者 27
等级
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲
28
开发者 28
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
29
开发者 29
等级
(119)
项目
169
38%
仲裁
9
78% / 22%
逾期
15
9%
空闲
30
开发者 30
等级
(2)
项目
2
50%
仲裁
0
逾期
1
50%
空闲
31
开发者 31
等级
(264)
项目
311
75%
仲裁
16
69% / 0%
逾期
6
2%
工作中
32
开发者 32
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 10 代码
33
开发者 33
等级
(4)
项目
8
0%
仲裁
3
33% / 67%
逾期
4
50%
空闲
34
开发者 34
等级
(319)
项目
574
35%
仲裁
83
31% / 45%
逾期
207
36%
空闲
35
开发者 35
等级
项目
1
0%
仲裁
0
逾期
0
空闲
发布者: 11 代码
36
开发者 36
等级
(560)
项目
855
61%
仲裁
33
27% / 45%
逾期
24
3%
工作中
发布者: 1 代码
37
开发者 37
等级
项目
0
0%
仲裁
0
逾期
0
空闲
38
开发者 38
等级
(29)
项目
36
39%
仲裁
0
逾期
2
6%
空闲
39
开发者 39
等级
项目
0
0%
仲裁
0
逾期
0
空闲
40
开发者 40
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
41
开发者 41
等级
(1)
项目
4
50%
仲裁
3
0% / 100%
逾期
2
50%
空闲
发布者: 4 代码
42
开发者 42
等级
项目
0
0%
仲裁
0
逾期
0
空闲
43
开发者 43
等级
项目
0
0%
仲裁
0
逾期
0
空闲
44
开发者 44
等级
项目
0
0%
仲裁
0
逾期
0
空闲
45
开发者 45
等级
(1)
项目
3
67%
仲裁
0
逾期
0
工作中
发布者: 5 代码
46
开发者 46
等级
(32)
项目
42
43%
仲裁
2
100% / 0%
逾期
4
10%
空闲
47
开发者 47
等级
(2)
项目
2
50%
仲裁
0
逾期
0
空闲
48
开发者 48
等级
项目
0
0%
仲裁
0
逾期
0
空闲
49
开发者 49
等级
项目
0
0%
仲裁
0
逾期
0
空闲
50
开发者 50
等级
(2)
项目
3
33%
仲裁
1
0% / 0%
逾期
1
33%
工作中
发布者: 3 代码
51
开发者 51
等级
项目
0
0%
仲裁
0
逾期
0
空闲
52
开发者 52
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
53
开发者 53
等级
项目
0
0%
仲裁
0
逾期
0
空闲
54
开发者 54
等级
(60)
项目
95
42%
仲裁
4
0% / 100%
逾期
4
4%
空闲
55
开发者 55
等级
(13)
项目
23
39%
仲裁
8
0% / 50%
逾期
4
17%
空闲
56
开发者 56
等级
项目
0
0%
仲裁
0
逾期
0
空闲
57
开发者 57
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
58
开发者 58
等级
项目
0
0%
仲裁
0
逾期
0
空闲
59
开发者 59
等级
项目
0
0%
仲裁
0
逾期
0
空闲
60
开发者 60
等级
(1)
项目
1
100%
仲裁
0
逾期
0
空闲
发布者: 7 代码
61
开发者 61
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 3 代码
62
开发者 62
等级
项目
0
0%
仲裁
0
逾期
0
空闲
63
开发者 63
等级
项目
0
0%
仲裁
0
逾期
0
空闲
64
开发者 64
等级
项目
0
0%
仲裁
0
逾期
0
空闲
65
开发者 65
等级
(170)
项目
265
62%
仲裁
4
50% / 25%
逾期
10
4%
工作中
66
开发者 66
等级
(52)
项目
58
59%
仲裁
4
0% / 25%
逾期
1
2%
空闲
67
开发者 67
等级
(6)
项目
7
71%
仲裁
0
逾期
0
工作中
发布者: 1 文章, 2 代码
68
开发者 68
等级
(258)
项目
269
29%
仲裁
2
50% / 0%
逾期
3
1%
工作中
发布者: 2 代码
69
开发者 69
等级
项目
0
0%
仲裁
0
逾期
0
空闲
70
开发者 70
等级
项目
0
0%
仲裁
0
逾期
0
空闲
71
开发者 71
等级
项目
0
0%
仲裁
0
逾期
0
空闲
72
开发者 72
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
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
We’re looking for an investment partner to help fund AegisGoldAIPro , an algorithmic trading platform being developed for MetaTrader 5, initially focused on gold. We’re building a modular system that combines market-structure analysis with planned AI-assisted decision support, risk controls, and automated execution. What we are building is not just a basic trading robots that depend on only one indicator or strategy
Title: Professional MT5 Expert Advisor Required - Fully Automated Trend Pullback Strategy Description: I am looking for an experienced MQL5 developer to create a fully automated MT5 Expert Advisor based on a trend-following pullback strategy. The EA must be flexible, fully configurable and optimized for use on different symbols and timeframes. ============================== STRATEGY OVERVIEW
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
FOR MT5. BROKERS - XM,TICKMILL. looking for an EA which can generate reasonable profits like 100% monthly, SEND ME SOUCE CODE AND UPON TESTING I SHALL PAY AND WE CAN MAKE NECESSARY MODIFICATIONS
I need a robot that will grow small accounts to bigger amounts, 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 $200 profit for the day, it must close
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

项目信息

预算
30+ USD

客户

所下订单1
仲裁计数0