Range Breakout EA with hedge order

MQL5 エキスパート

仕事が完了した

実行時間1 日
開発者からのフィードバック
Thank you for your order, I will be glad to continue cooperation!
依頼者からのフィードバック
excellent work, delivered before the deadline, exactly according to specification, and made suggestions for further improvement. I can highly recommend this developer.

指定

Trading Strategy Specification: Range Breakout

Platform: Metatrader 5 (MQL5), Forex brokers

Default Chart: EURUSD, 5m chart

Quick overview

The strategy looks for an established range in the morning session and then trades breakouts above or below that range, by opening either a long trade above the range or a short trade below the range. Take-profit and stop-loss targets are immediately set. Also, a hedge order is placed in case of stop loss. If one order has been hit, the other order is immediately terminated. Also, all orders and positions are terminated in the evening at a given time. The range and price levels of orders should be logged in the journal. Description of Algorithm

Input Parameters

Name

data type

default value

starttime

time

7:00am UTC+1

endtime

time

9:00am UTC+1

minimumrange

number

10 pips

maximumrange

number

150 pips

entrybuffer

number

5%

exitbuffer

number

2%

riskrewardratio

number

2

tradevolume

number

0.05 lots

hedgerangedivider

number

3

hedgevolumemultiplier

number

4

endofdaytime

time

8:00pm UTC+1

Step 1: Establish range in the morning session

Record the highest and the lowest encountered price in the time interval between start time and end time in two variables and calculate the resulting range. Also apply a minimum and maximum range. Log the high, low, and range in the journal.

High = highest price encountered in interal between starttime and endtime

Low = lowest price encountered in interval between starttime and endtime

Range = High - Low

if Range is higher than maximum range, then set Range = maximum range

if Range is lower than minimum range, then set Range = minimum range

Step 2: Trade Entries

Calculate the entry prices by using the range, and a buffer. The buffer is added as extra price distance above the high of the range for the long order and below the low of the range of the short order. Set the orders immediately after the time interval of step 1 is over. First, calculate price levels:

bufferrangeentry = range * entrybuffer

bufferrangeexit = range * (1+exitbuffer)

rangedivider = range / riskrewardratio

 

Place two pending stop orders with the following parameters:

1) Short Order

Direction: short

Entry Price: Low - bufferrangeentry

stop loss: High + bufferrangeexit

take profit: Entry - rangedivider

 

2) Long Order:

Direction: long

Entry: High + bufferrangeentry

Set stop loss: Low - bufferrangeexit

Set take profit: Entry + rangedivider

  Log the order prices (stop, tp, sl) and bufferrangeentry, and bufferrangeexit. If one of the orders is hit, delete the other open order and immediately place a hedge order as described in the next step.

 

Step 3: Hedge Order

Should a stop loss be hit, on the first opened position, we try to re-coup our losses with a hedge. Therefore a hedge order is placed at the stop-loss of the first opened order. Calculate the range of the hedge:

hedgerange = Range / hedgerangedivider

 

Place Long Hedge Order if 1st opened position was a short:

Direction: Long

Entry: 1st order stop loss price, immediately after

Stop loss: 1st order entry price

Take Profit: entry + hedgerange

 

OR

 

Place Short Hedge Order if 1st opened position was a long:

Direction: Short

Entry: 1st order stop loss price

Set Stop loss: 1st order entry price

set Take Profit: entry - hedgerange

 

Log price levels (entry, tp, sl) and direction in the journal.

Step 4: Close at market price at a time at the end of the day

Close all orders and positions at the given time in the endofdaytime parameter. Log this in the journal.

 

 


応答済み

1
開発者 1
評価
(111)
プロジェクト
184
25%
仲裁
25
16% / 76%
期限切れ
16
9%
暇
2
開発者 2
評価
(295)
プロジェクト
367
30%
仲裁
37
27% / 65%
期限切れ
10
3%
仕事中
パブリッシュした人: 10 codes
3
開発者 3
評価
(22)
プロジェクト
21
10%
仲裁
4
25% / 75%
期限切れ
0
暇
4
開発者 4
評価
(13)
プロジェクト
20
40%
仲裁
1
0% / 100%
期限切れ
1
5%
暇
5
開発者 5
評価
(274)
プロジェクト
403
28%
仲裁
40
40% / 50%
期限切れ
1
0%
暇
6
開発者 6
評価
(2353)
プロジェクト
2959
63%
仲裁
125
44% / 26%
期限切れ
429
14%
仕事中
7
開発者 7
評価
(62)
プロジェクト
90
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
8
開発者 8
評価
(5)
プロジェクト
8
13%
仲裁
3
0% / 33%
期限切れ
2
25%
暇
パブリッシュした人: 1 code
9
開発者 9
評価
(467)
プロジェクト
820
49%
仲裁
76
21% / 51%
期限切れ
143
17%
仕事中
10
開発者 10
評価
(52)
プロジェクト
67
43%
仲裁
8
0% / 100%
期限切れ
3
4%
暇
11
開発者 11
評価
(162)
プロジェクト
289
35%
仲裁
18
22% / 61%
期限切れ
43
15%
暇
12
開発者 12
評価
(10)
プロジェクト
15
20%
仲裁
5
40% / 40%
期限切れ
1
7%
暇
13
開発者 13
評価
(106)
プロジェクト
129
25%
仲裁
25
28% / 56%
期限切れ
8
6%
暇
14
開発者 14
評価
(12)
プロジェクト
12
17%
仲裁
2
0% / 50%
期限切れ
1
8%
暇
15
開発者 15
評価
(162)
プロジェクト
210
61%
仲裁
10
80% / 0%
期限切れ
0
暇
パブリッシュした人: 1 code
16
開発者 16
評価
(2678)
プロジェクト
3428
68%
仲裁
78
49% / 14%
期限切れ
343
10%
暇
パブリッシュした人: 1 code
17
開発者 17
評価
(13)
プロジェクト
20
40%
仲裁
3
0% / 67%
期限切れ
3
15%
暇
18
開発者 18
評価
(33)
プロジェクト
35
20%
仲裁
5
40% / 40%
期限切れ
0
暇
パブリッシュした人: 1 code
19
開発者 19
評価
(271)
プロジェクト
553
50%
仲裁
57
40% / 37%
期限切れ
227
41%
仕事中
20
開発者 20
評価
(78)
プロジェクト
248
74%
仲裁
7
100% / 0%
期限切れ
1
0%
暇
パブリッシュした人: 2 articles, 1 code
21
開発者 21
評価
(1931)
プロジェクト
3552
88%
仲裁
73
40% / 15%
期限切れ
268
8%
暇
22
開発者 22
評価
(298)
プロジェクト
478
40%
仲裁
105
40% / 24%
期限切れ
82
17%
取り込み中
パブリッシュした人: 2 codes
類似した注文
Andrew 50 - 200 USD
Hello, I am from Tanzania. I am looking for a professional MQL5 programmer from Tanzania who can help me develop and improve my automated MT5 trading robot. The project is called SMC XAVAGE AI, and it trades XAUUSD (Gold). I would like to discuss the project with you. Are you based in Tanzania? Would it be possible to arrange a meeting or a call? Thank you
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
JOB SPECIFICATION: Fully Automated ES/MES 5-Minute NY Opening Range Breakout EA 1. Project objective I am looking for an experienced trading algo developer to build a fully automated trading bot (EA) based on my specific 5-minute New York Opening Range Breakout strategy. The EA must identify setups, confirm breakouts, identify retests, confirm continuation, execute trades, calculate position size, place stop-loss and

プロジェクト情報

予算
100 - 200 USD
締め切り
最高 3 日