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
暇
パブリッシュした人: 15 codes
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 codes
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 code
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 codes
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 codes
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 codes
36
開発者 36
評価
(561)
プロジェクト
857
61%
仲裁
33
27% / 45%
期限切れ
24
3%
暇
パブリッシュした人: 1 code
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 code
41
開発者 41
評価
(1)
プロジェクト
4
50%
仲裁
3
0% / 100%
期限切れ
2
50%
暇
パブリッシュした人: 4 codes
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 codes
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 codes
51
開発者 51
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
52
開発者 52
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 1 code
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 codes
58
開発者 58
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
59
開発者 59
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
60
開発者 60
評価
(1)
プロジェクト
1
100%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 7 codes
61
開発者 61
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 3 codes
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 article, 2 codes
68
開発者 68
評価
(258)
プロジェクト
269
29%
仲裁
2
50% / 0%
期限切れ
3
1%
仕事中
パブリッシュした人: 2 codes
69
開発者 69
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
70
開発者 70
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
71
開発者 71
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
72
開発者 72
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
73
開発者 73
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
74
開発者 74
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
類似した注文
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

プロジェクト情報

予算
30+ USD

依頼者

出された注文1
裁定取引数0