EA captures trading range acording to user time range. Places order when market at edge of range for reversal acording to user parameters

Trabalho concluído

Tempo de execução 3 dias
Comentário do desenvolvedor
Good employer! Thank you :)
Comentário do cliente
Great coder and excellent responsiveness and communication. You can trust him to make a good EA to your requirements in a quick time. Thank you.

Termos de Referência

Range Reversal EA


29/01/26 Rev 0


Overview

This EA will bound a range of price action over a set time. At a specified time range a trade will be enabled if price action triggers a reversal at or near to the bound range, by a stated offset. Typically the EA will be permitted to only take one trade per day. The EA is not to operate on Weekends. The EA will be left running on a MT5 platform on a server.


Testing

I will not be able to test the EA on the Weekend.

I will need two working days to test the EA before final approval. Please don’t hurry me to close before then.


Specification

EA is required for MT5 platform.

Broker is 5 digit.

Speed of trade execution is important.

Time frame may be M5 or any other.

Assets may be Futures Index (Points) or FOREX (Pips)


Logic


*See Settings section at end of document for descriptions of EA ‘terms’.


The EA will be used to typically set only one trade at a user defined time window per day. In this instance it must not be triggering multiple trades per day. Typically the 5 min time frame is used.


This EA is used on Futures index where points are used. It may also be used on FOREX where pips are used.


The user specified time period ‘RangeStartTime’ to ‘RangeEndTime’ is scanned to identify the candle range highest and lowest values (wicks included). Horizontal lines are drawn around this range. The colour of the lines and thickness of the lines can be changed by the user.


Figure 1: Red Upper Range and Blue lower Range lines



Within the Allow Trade Time (‘AllowTradeStartTime’ through to ‘AllowTradeEndTime’) a market order trade will be executed acting as a limit order should market price cross the ‘TradeEntryOffset’ located at the high and low range, and reverse back to trigger the limit order style entry. Just one trade is triggered either at the high or low range depending on price action. If a ‘TradeEntryOffset’ value greater than 0 is entered then this offset order execution line is moved within the range (not outside of the range).


Figure 2: TradeEntryOffset shown






Figure 3: Trade Executed



Figure 4: Trade Closed



The ‘AllowTradeStartTime’ may be initiated when the ‘RangeEndTime’ has not yet concluded. This will enable the range to continue to be formed by steadily trending candles and only when one candle retraces inward of the ‘TradeEntryOffset’ will a trade then be placed. Figure 5 demonstrates this principal below. The range is monitored until moment order is placed to populate SL and TP values, and lot size if correlated to % balance or monetary value.




Figure 5: Price action expanding the range until trade is triggered


And below figure 6 the order placement.


Figure 6: Trade executed


And trade completing in figure 7 below.



Figure 7: Trade Complete



Within the Allow Trade Time (‘AllowTradeStartTime’ through to ‘AllowTradeEndTime’) if market price activates a trade (either a buy at the lower range, or sell at the higher range), then the trade runs until SL or TP is hit or ‘CloseAllOpenTradesBy’ is met. If ‘QtyTradesAllowedPerDay’ is 1 then only 1 trade is allowed per day, resetting at Midnight. If the value is greater than 1 then still only 1 active trade is allowed at a time. Any triggers whilst an existing active trade is open will be ignored. It is the expectation that mostly this EA will be set for 1 trade per day. If no trade has been activated by ‘AllowTradeEndTime’ then simply there is no trade for that day.


Fast execution is a priority, I don’t want slippage restriction to stop order opening.




If a value greater than 0 and less than 1 is entered into ‘MoveSLToBEWhen%ToTP’ then once this % move to TP is reached in an open trade the SL will be moved to entry. Example value entered is 0 or 1 then SL will not be moved. Example value 0.5 then SL will be moved to entry when trade has reached 50% of TP. Anticipated value to be used: 0.8 = 80% of TP.



Display

The following text is to be displayed in black (Colour change available) on the top left hand side of the screen, below the MT5 chart window Symbol, Time frame i.e. USDJPY, M5:


Range Reversal EA

Range High (143.484) : Low (142.850)

Range Size (0.634)

Daily Trades Count Buy (0) : Sell (1)

Daily Trades Result Win (1) : Loss (0)

Range Start Time: 2026.01.29 01:30:00

Range End Time: 2026.01.29 10:30:00

Allow Trade Start Time: 2026.01.29 06:00:00

Allow Trade End Time: 2026.01.29 10:30:00

Close All Open Trades By: 2026.01.29 14:30:00

Server Time: 2026.01.29 11:00:00



User Settings

The below settings are to be configurable on the EA inputs settings window:


RangeStartTime_(HH:MM:SS) – 02:00:00 (beginning of daily range zone).

RangeEndTime_(HH:MM:SS) – 08:00:00 (end of daily range zone).


AllowTradeStartTime_(HH:MM:SS) – 06:00:00 (pending market order ready to be executed).

AllowTradeEndTime_(HH:MM:SS) – 08:00:00 (no new order will be placed after this time, EA will not execute new trade until next new fresh day session). TradeEntryOffset is painted on the chart starting at the ‘AllowTradeStartTime’.


CloseAllOpenTradesBy_(HH:MM) – 10:00 (Any open trade not hitting TP or SL by this time will be closed).


TradeEntryOffsetUnits_(Points or Pips) – Points (Points will be used for Futures indicies, pips for FOREX).


TradeEntryOffset – 10 (10 Points bellow upper range, and 10 Points above lower range. Trade is triggered as if it were a limit order in that it travels past the offset, then back through to trigger market execution of order. If this value is set to 0 then the TradeEntryOffset is on the Range line i.e. no offset).


QtyTradesAllowedPerDay – 1 (1 trade allowed. As soon as this trade is triggered the range horizontal lines will stop painting, as will the TradeEntryOffset lines. If 2 is selected then an additional trade will only be allowed after TP or SL is hit on the first trade, range horizontal and TradeEntryOffset lines will continue painting until last trade is taken or RangeEndTime or AllowTradeEndTime is reached).


TradingDaysActive_(Mon1/Tues2/Wed3/Thu4/Fri5/Sat6/Sun7) – 1,2,3,4,5 (EA will only operate on entered days, if a public holiday is on Wednesday for the working week I would enter 1,2,4,5 so that Wednesday is not traded) Or if you can enter the days instead of numbers even better!


TP%OfRange – 0.5 (0.5 = 50%, the TP will be set to half of the Range)


SL%OfRange – 0.25 (0.25 = 25%, the SL will be set to quarter of the Range)


MoveSLToBEWhen%ToTP – 0.8 (0.8 = 80% of TP, SL will be moved to entry when trade has reached 80% of TP).


LotRiskMoney - £100 (the lot size to trade will be equated from the SL size and be of a value of £100. If set to zero this method is not used).


LotRisk% - 1.00% (The lot size to trade will be equated from the SL size and 1% of the account balance. If set to zero this method is not used). Anticipate this will be the main method of computing lot size.


LotSize – 1 (the lot size to trade will be this entered value. If set to zero this method is not used).


UpperRangeLineColour – Select colour and line thickness of the chart upper horizontal range.


LowerRangeLineColour – Select colour and line thickness of the chart lower horizontal range.


TradeEntryOffsetLineColour – Select colour and line thickness of the chart TradeEntryOffset horizontal lines.


LookBackDays – 5 (on the charts the Range and TradeEntryOffset will be painted on 5 days of charts allowing the user to look back and review performance).


Display Only


ServerTime (this is a display of the broker server time to cross check range times and trade times).


RangeSize (this is a display of the range size between the upper range and lower range prior to trade being executed. The units will be points or pips depending on what was selected for ‘TradeEntryOffsetUnits’).









Arquivos anexados:

PNG
Figure_1.png
270.8 Kb
PNG
Figure_2.png
360.0 Kb
PNG
Figure_3.png
138.0 Kb
PNG
Figure_4.png
262.1 Kb
PNG
Figure_5.png
226.1 Kb
PNG
Figure_6.png
260.5 Kb
PNG
Figure_7.png
278.9 Kb

Respondido

1
Desenvolvedor 1
Classificação
(393)
Projetos
549
40%
Arbitragem
30
57% / 3%
Expirado
57
10%
Trabalhando
Publicou: 11 códigos
2
Desenvolvedor 2
Classificação
(432)
Projetos
632
53%
Arbitragem
32
53% / 22%
Expirado
6
1%
Carregado
3
Desenvolvedor 3
Classificação
(2653)
Projetos
3370
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(23)
Projetos
34
53%
Arbitragem
1
100% / 0%
Expirado
1
3%
Livre
5
Desenvolvedor 5
Classificação
(60)
Projetos
87
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(8)
Projetos
11
0%
Arbitragem
7
29% / 71%
Expirado
2
18%
Livre
8
Desenvolvedor 8
Classificação
(5)
Projetos
9
22%
Arbitragem
0
Expirado
4
44%
Trabalhando
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 2 códigos
12
Desenvolvedor 12
Classificação
(311)
Projetos
557
35%
Arbitragem
79
32% / 43%
Expirado
202
36%
Trabalhando
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(58)
Projetos
90
43%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
15
Desenvolvedor 15
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
16
Desenvolvedor 16
Classificação
(6)
Projetos
7
14%
Arbitragem
1
0% / 100%
Expirado
1
14%
Livre
17
Desenvolvedor 17
Classificação
(1)
Projetos
1
0%
Arbitragem
3
0% / 100%
Expirado
1
100%
Livre
18
Desenvolvedor 18
Classificação
(32)
Projetos
33
61%
Arbitragem
1
100% / 0%
Expirado
1
3%
Trabalhando
Publicou: 5 códigos
19
Desenvolvedor 19
Classificação
(77)
Projetos
243
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 1 artigo
20
Desenvolvedor 20
Classificação
(2317)
Projetos
2916
63%
Arbitragem
124
44% / 25%
Expirado
429
15%
Trabalhando
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(55)
Projetos
92
24%
Arbitragem
8
75% / 13%
Expirado
44
48%
Livre
24
Desenvolvedor 24
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
26
Desenvolvedor 26
Classificação
(360)
Projetos
432
54%
Arbitragem
20
55% / 15%
Expirado
29
7%
Trabalhando
27
Desenvolvedor 27
Classificação
(49)
Projetos
74
18%
Arbitragem
30
17% / 53%
Expirado
31
42%
Livre
28
Desenvolvedor 28
Classificação
(17)
Projetos
23
39%
Arbitragem
6
33% / 50%
Expirado
0
Trabalhando
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 6 códigos
30
Desenvolvedor 30
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
31
Desenvolvedor 31
Classificação
(3)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
I'm looking for someone with a 5-star rating and a high number of "Completed Jobs" in MQL5. PLEASE MAKE SURE YOU READ MY DISCRIPTION AND THE UPLOADED CODE BEFOR SPEAKING TO ME. To trade - XAUUSD+ Broker - vantage.com raw account starting balance - £1000 I require a high-level MQL5 developer to build/refine a sophisticated Expert Advisor. I have attached the original source code. The developer must use the attached
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Seeking developer service to code an EA. Interested developer must have good experience and understanding on how ORB and FVG works, and agreed to the terms below : 1. Shall demonstrate a fully functional EA that operates as specified in the requirement and function automatically as requested in real-time environment (forward test - demo/live), regardless of good results obtained in strategy-tester. Backtesting
Need trading robot 50 - 70 USD
I need a robot for trading gold and currencies . I need to use it with metatrader 4 and 5 . My budget is not high . Max . 70 USD. I need to be able to start and stop it at any time without restrictions
am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes . The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
Title: MT5 EA Needed – Prop‑Firm Compliance Tool (SL/TP at Entry, 60‑Second Hold, Daily Profit Cap, 0.5% XAUUSD Risk) Description: I need an MT5 Expert Advisor that enforces prop‑firm compliance rules for Instant Funding accounts. The EA must NOT trade automatically — it should only monitor and control my manual XAUUSD trading. I trade all sessions, so there should be no time restrictions. MY TRADING STYLE (Important
​1. Project Overview ​ Asset: XAUUSD (Gold) ​ Timeframe: M1 (1-Minute) for execution; M5/M15 for trend filtering. ​ Objective: Execute high-frequency scalps during peak liquidity (London/NY overlap) to capture 10–30 pip movements with high precision. ​ Core Logic: The "Poverty Bot" strategy relies on Mean Reversion combined with Momentum Burst (Price Action + RSI/EMA filters). ​2. Strategy Logic (The "Poverty"
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
I need any highly profitable robot which can trade small account like 50-100USD and any currency pair(s) The robot should avoid trading around news time and have good risk management. It should use any strategy which is profitable and not those unacceptable by brokers. Demo versions will be required before selection

Informações sobre o projeto

Orçamento
100+ USD
Prazo
para 3 dias