MT5 Opening Range Breakout EA — Pending Orders, Risk Management & Restart Protection

MQL5 EA

명시

Hello,

I'm looking for an experienced MQL5 developer to build a clean and reliable Opening Range Breakout Expert Advisor for MetaTrader 5.

I have previously experienced problems with EAs placing duplicate pending orders after terminal or VPS restarts. My priority is reliable execution, sensible risk management and an EA that I can confidently test and maintain.

1. Opening Range Strategy

  • Platform: MetaTrader 5.

  • Default symbol: EURUSD.

  • Default timeframe: M5.

  • Trading days: Monday to Friday.

  • Opening range: 08:00–08:30 broker server time.

  • Calculate the highest high and lowest low during that period using completed candles.

  • After the range is complete, place a Buy Stop above the range high and a Sell Stop below the range low.

  • Entry offset: 20 points, configurable.

  • Session times and entry offset must be configurable.

All times refer to broker server time. Automatic daylight-saving adjustment is not required.

2. Pending Order Management

  • When one pending order is triggered, cancel the opposite pending order.

  • Maximum one filled trade per symbol per trading day.

  • Cancel unfilled pending orders at 12:00 server time.

  • Do not open new trades after the pending-order expiry time.

  • Do not create duplicate orders when MT5 or the VPS restarts.

  • Existing EA orders and positions must be recognized correctly after restart.

  • Manage only trades associated with the EA's Magic Number.

If entry prices are no longer valid or broker restrictions prevent safe placement, the EA should skip the affected order rather than chase the market.

3. Risk Management

  • Fixed lot or percentage-based risk.

  • Default risk: 1% of account balance per trade.

  • Buy Stop SL: below the opening range low by 20 points.

  • Sell Stop SL: above the opening range high by 20 points.

  • Take Profit: 1.5 times the initial SL distance (1.5R).

  • Configurable maximum spread filter.

  • Optional break-even at 1R.

  • No martingale, grid or averaging.

Lot sizing must account for the actual entry-to-stop distance and broker volume restrictions.

4. Reliability and Testing

I am particularly concerned about:

  • Duplicate pending orders following a VPS restart.

  • Incorrect risk-based position sizing.

  • Both breakout orders being triggered unexpectedly.

  • Differences between Strategy Tester and demo trading.

  • Broker minimum-distance and order execution restrictions.

The EA should log important decisions, including why an order was placed, cancelled, rejected or skipped.

5. Deliverables

  • Complete MQ5 source code.

  • Compiled EX5 file.

  • Configurable input parameters.

  • Strategy Tester demonstration using EURUSD M5.

  • Brief installation and configuration guide.

  • Code must compile without errors.

No profitability guarantee, extensive optimization or external API integration is required.

6. What I Expect From the Developer

I'm not necessarily looking for the cheapest bid. I value developers who understand the trading workflow, communicate clearly and deliver dependable software.

Please briefly explain:

  • How you would prevent duplicate orders following a terminal restart.

  • How you would handle the opposite pending order when one side triggers.

  • What you would test before delivering the EA.

Please provide a realistic fixed price and delivery time.

I prefer a practical, maintainable solution with clear testing evidence rather than unnecessary complexity.

Thank you.


응답함

1
개발자 1
등급
(40)
프로젝트
39
46%
중재
12
17% / 50%
기한 초과
2
5%
무료
2
개발자 2
등급
(51)
프로젝트
71
37%
중재
4
25% / 75%
기한 초과
1
1%
무료
게재됨: 1 코드
3
개발자 3
등급
(437)
프로젝트
648
53%
중재
35
63% / 20%
기한 초과
7
1%
작업중
4
개발자 4
등급
(106)
프로젝트
129
25%
중재
25
28% / 56%
기한 초과
8
6%
무료
5
개발자 5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
6
개발자 6
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
7
개발자 7
등급
(2)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
8
개발자 8
등급
(3)
프로젝트
9
67%
중재
0
기한 초과
0
작업중
9
개발자 9
등급
(2)
프로젝트
2
50%
중재
0
기한 초과
0
무료
10
개발자 10
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
작업중
11
개발자 11
등급
(264)
프로젝트
310
75%
중재
15
67% / 0%
기한 초과
6
2%
작업중
12
개발자 12
등급
(184)
프로젝트
198
46%
중재
4
50% / 25%
기한 초과
1
1%
작업중
13
개발자 13
등급
(10)
프로젝트
12
0%
중재
3
33% / 33%
기한 초과
0
무료
14
개발자 14
등급
(20)
프로젝트
26
38%
중재
6
33% / 50%
기한 초과
0
무료
15
개발자 15
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
16
개발자 16
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
17
개발자 17
등급
(319)
프로젝트
574
35%
중재
83
31% / 45%
기한 초과
207
36%
무료
18
개발자 18
등급
(4)
프로젝트
8
0%
중재
3
33% / 67%
기한 초과
4
50%
무료
19
개발자 19
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
20
개발자 20
등급
(10)
프로젝트
12
33%
중재
0
기한 초과
2
17%
작업중
게재됨: 1 코드
21
개발자 21
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
22
개발자 22
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
23
개발자 23
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
게재됨: 4 코드
24
개발자 24
등급
(559)
프로젝트
853
61%
중재
33
27% / 45%
기한 초과
24
3%
무료
게재됨: 1 코드
25
개발자 25
등급
(20)
프로젝트
29
3%
중재
4
0% / 100%
기한 초과
5
17%
무료
26
개발자 26
등급
(11)
프로젝트
16
50%
중재
1
100% / 0%
기한 초과
4
25%
무료
27
개발자 27
등급
(60)
프로젝트
94
43%
중재
4
0% / 100%
기한 초과
4
4%
작업중
28
개발자 28
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
29
개발자 29
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
0
작업중
게재됨: 2 코드
30
개발자 30
등급
(453)
프로젝트
566
26%
중재
24
42% / 38%
기한 초과
85
15%
무료
게재됨: 6 코드
31
개발자 31
등급
(852)
프로젝트
1469
72%
중재
123
28% / 47%
기한 초과
360
25%
작업중
게재됨: 3 기고글
32
개발자 32
등급
(12)
프로젝트
19
32%
중재
0
기한 초과
1
5%
로드됨
33
개발자 33
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
34
개발자 34
등급
(290)
프로젝트
362
30%
중재
37
27% / 65%
기한 초과
10
3%
로드됨
게재됨: 10 코드
35
개발자 35
등급
(16)
프로젝트
30
40%
중재
3
33% / 67%
기한 초과
7
23%
작업중
36
개발자 36
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
게재됨: 4 코드
37
개발자 37
등급
(76)
프로젝트
100
56%
중재
5
80% / 20%
기한 초과
5
5%
로드됨
38
개발자 38
등급
(14)
프로젝트
21
24%
중재
0
기한 초과
2
10%
무료
게재됨: 3 코드
39
개발자 39
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
40
개발자 40
등급
(515)
프로젝트
554
53%
중재
13
69% / 15%
기한 초과
3
1%
무료
41
개발자 41
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
게재됨: 10 코드
42
개발자 42
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
43
개발자 43
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
44
개발자 44
등급
(19)
프로젝트
22
18%
중재
9
33% / 44%
기한 초과
3
14%
작업중
게재됨: 1 코드
45
개발자 45
등급
(78)
프로젝트
246
74%
중재
7
100% / 0%
기한 초과
1
0%
무료
게재됨: 1 기고글, 1 코드
46
개발자 46
등급
(6)
프로젝트
8
38%
중재
2
50% / 50%
기한 초과
2
25%
무료
47
개발자 47
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
48
개발자 48
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
49
개발자 49
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
50
개발자 50
등급
(3)
프로젝트
3
0%
중재
0
기한 초과
0
무료
51
개발자 51
등급
(2676)
프로젝트
3419
68%
중재
77
48% / 14%
기한 초과
343
10%
작업중
게재됨: 1 코드
52
개발자 52
등급
(1)
프로젝트
2
0%
중재
2
0% / 100%
기한 초과
0
작업중
53
개발자 53
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
54
개발자 54
등급
(22)
프로젝트
29
3%
중재
4
25% / 0%
기한 초과
3
10%
무료
55
개발자 55
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
56
개발자 56
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
57
개발자 57
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
58
개발자 58
등급
(2)
프로젝트
2
50%
중재
0
기한 초과
0
무료
59
개발자 59
등급
(64)
프로젝트
145
46%
중재
21
38% / 24%
기한 초과
32
22%
무료
60
개발자 60
등급
(369)
프로젝트
459
55%
중재
24
58% / 17%
기한 초과
31
7%
무료
61
개발자 61
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
62
개발자 62
등급
(13)
프로젝트
23
39%
중재
8
0% / 50%
기한 초과
4
17%
무료
63
개발자 63
등급
(4)
프로젝트
5
60%
중재
0
기한 초과
0
작업중
게재됨: 2 코드
64
개발자 64
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
65
개발자 65
등급
(213)
프로젝트
276
21%
중재
25
52% / 16%
기한 초과
0
작업중
66
개발자 66
등급
(25)
프로젝트
31
13%
중재
14
0% / 79%
기한 초과
9
29%
무료
67
개발자 67
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
68
개발자 68
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
69
개발자 69
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
게재됨: 1 코드
70
개발자 70
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
71
개발자 71
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
72
개발자 72
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
게재됨: 5 코드
비슷한 주문
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
Hi mql5 community, I am actually looking for a dev who applied to my previous job posted few days ago regarding " Need a faithful ready made hft scalper ea robot" He already reached out with an EA which I was validating its performance on my end, but unfortunately the weekend absolutely got my away from internet while have to pay attention to some physical tasks, and during those time I couldn't been able to check
I can pay you 70 USD for consultation if you have something valuable. no scam please, I am too smart to be scammed, Thank you for your patient and attention. Have a nice day for you and your family, May God bless you and your family :)
Hi i'm looking for a trading bot that will trade on mt5/MQL5. The bot must be able to follow trend and works on any pair,chart and symbol. All distance measured with ATR. Trend from a higher time frame (default H1) with a moving average;UP/DOWN. Support and resistance found automatically from recent swing highs and low nothing drawn on the chart. Two kinds of trades, each can be switched on/off. S/R trades; price
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
Hi All developers, I am looking for a EA which makes minimum 1:5 risk reward ratio with buy stop and sell stop orders placed based on candle open based or candle high low based or any other strategy .... If any having please share it for TEST, After proper TESTING only I will confirm the job... Please read this and respond
I’m looking for an experienced Pine Script developer to build a custom H1 price-action indicator. Requirements: Calculate levels using H1 candles only. Use New York RTH (9:30 AM–4:00 PM), excluding extended hours. Create horizontal levels when candle direction changes; dojis break the sequence. Invalidate levels only when an H1 candle body crosses them, not wicks. Confirm levels after the RTH session closes to
MT5 Trading EA — EMA/RSI Strategy with Risk Management and Trade Protection Hello, I'm looking for an experienced MQL5 developer to build a reliable Expert Advisor for MetaTrader 5 based on a simple trend-following strategy. My main priority is not adding as many features as possible. I want a clean, dependable EA that follows the specified rules consistently in both Strategy Tester and live/demo trading. 1. Trading
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Mt5 35+ USD
//+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for

프로젝트 정보

예산
80 - 180 USD
기한
로 5 일

고객

넣은 주문3
중재 수0