MT5 Expert Advisor – "RANGER" Range Reversion Strategy

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Fast, responsive, and knows MT5 well. Happy to make adjustments and get things working properly. Recommended.
Feedback from employee
Really very good customer, I like to work with him again.

Specification

Description:

I need an MT5 Expert Advisor built to exactly replicate a TradingView Pine Script strategy.

This is a range mean reversion system.
All logic must be followed precisely. No optimisation, no interpretation.

The EA must behave identically to the logic below.


Market & Timeframe

  • Primary: NAS100 (but must work on any symbol)
  • Timeframe: 5-minute
  • Must work regardless of broker (handle symbol digits properly)

Core Strategy Logic

1. Indicators

  • EMA 20
  • EMA 200
  • RSI (14)

2. Range Detection

Calculate:

  • Range High = highest high over last 20 candles
  • Range Low = lowest low over last 20 candles
  • Range Mid = (high + low) / 2

3. Market Condition (Ranging Only)

Trade ONLY if:

  • Absolute distance between EMA 20 and EMA 200 ≤ 35 points
  • Absolute slope of EMA 200 over last 10 bars ≤ 10 points

4. Entry Conditions

Long Entry:

  • Price LOW touches or goes below (Range Low + 5 points)
  • Candle closes back above Range Low
  • Lower wick > candle body (wick rejection)
  • RSI ≤ 30

Short Entry:

  • Price HIGH touches or goes above (Range High - 5 points)
  • Candle closes back below Range High
  • Upper wick > candle body
  • RSI ≥ 70

5. Trade Management

Stop Loss:

  • Long: Range Low − 5 points
  • Short: Range High + 5 points

Take Profit:

  • Long: Range Mid
  • Short: Range Mid

6. Position Sizing (CRITICAL)

Each trade must risk a fixed % of account balance:

  • Risk per trade = 1% of equity
  • Lot size must be calculated based on stop distance

7. Trade Execution Rules

  • Only ONE open trade at a time
  • No hedging
  • No pyramiding

8. Re-entry Rule (VERY IMPORTANT*)

  • If a LONG trade is taken, no further LONG trades allowed until a SHORT trade occurs
  • If a SHORT trade is taken, no further SHORT trades allowed until a LONG trade occurs

This is a hard rule, not time-based.


9. Execution Details

  • Execute trades at candle close only
  • No intra-candle execution
  • Use completed bar data only

10. Additional Requirements

  • Must work on live account and strategy tester identically
  • Must handle different broker digits (e.g. 2, 3, 5 digit pricing)
  • No repainting logic
  • EA must not open duplicate trades
  • Magic number must be configurable

Deliverables

  • Fully working .ex5 file
  • Source code (.mq5)
  • Clear instructions for setup
  • Must match TradingView behaviour logically

Important Notes

  • Do NOT optimise or change the strategy
  • Do NOT add filters or improvements
  • Follow the logic exactly as written

Responded

1
Developer 1
Rating
(611)
Projects
711
33%
Arbitration
45
49% / 42%
Overdue
14
2%
Working
2
Developer 2
Rating
(4)
Projects
6
67%
Arbitration
1
0% / 0%
Overdue
0
Working
3
Developer 3
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
4
Developer 4
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
5
Developer 5
Rating
(14)
Projects
20
20%
Arbitration
3
33% / 67%
Overdue
3
15%
Free
6
Developer 6
Rating
(106)
Projects
129
25%
Arbitration
24
29% / 54%
Overdue
8
6%
Free
7
Developer 7
Rating
(58)
Projects
72
60%
Arbitration
4
75% / 25%
Overdue
1
1%
Loaded
8
Developer 8
Rating
(1304)
Projects
1732
49%
Arbitration
55
67% / 16%
Overdue
38
2%
Free
9
Developer 9
Rating
(22)
Projects
29
34%
Arbitration
4
50% / 25%
Overdue
5
17%
Working
10
Developer 10
Rating
(645)
Projects
872
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Free
11
Developer 11
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
12
Developer 12
Rating
(268)
Projects
602
34%
Arbitration
65
20% / 57%
Overdue
147
24%
Working
Published: 1 article, 22 codes
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(389)
Projects
501
23%
Arbitration
60
55% / 25%
Overdue
59
12%
Working
16
Developer 16
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
17
Developer 17
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
18
Developer 18
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
19
Developer 19
Rating
(8)
Projects
14
21%
Arbitration
2
0% / 50%
Overdue
3
21%
Loaded
20
Developer 20
Rating
(454)
Projects
720
34%
Arbitration
35
71% / 9%
Overdue
22
3%
Free
21
Developer 21
Rating
(2336)
Projects
2939
63%
Arbitration
124
44% / 26%
Overdue
429
15%
Working
22
Developer 22
Rating
(44)
Projects
51
59%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
23
Developer 23
Rating
(169)
Projects
180
46%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
24
Developer 24
Rating
(513)
Projects
552
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(20)
Projects
28
4%
Arbitration
4
0% / 100%
Overdue
5
18%
Working
27
Developer 27
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
28
Developer 28
Rating
(12)
Projects
17
35%
Arbitration
5
40% / 20%
Overdue
1
6%
Working
Published: 6 articles, 34 codes
29
Developer 29
Rating
(2672)
Projects
3408
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
30
Developer 30
Rating
(55)
Projects
92
24%
Arbitration
8
75% / 13%
Overdue
44
48%
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
(81)
Projects
142
53%
Arbitration
5
80% / 0%
Overdue
6
4%
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
34
Developer 34
Rating
(5)
Projects
6
50%
Arbitration
0
Overdue
1
17%
Free
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(8)
Projects
15
7%
Arbitration
4
25% / 50%
Overdue
1
7%
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 article, 1 code
Similar orders
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never
Supply and Demand EA 50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
We are looking for an experienced MQL5 developer to provide a stable, consistently profitable Forex Expert Advisor (EA) capable of generating 10–15% average monthly returns while maintaining the lowest possible drawdown . Our Requirements The EA must have a proven track record of consistent performance. A long-term trading history (live or verified) will be considered a significant advantage. Before final selection
I am looking for a professional MQL5/MT5 Expert Advisor developer to build a fully automated trading bot based on my custom strategy. Requirements: Strong experience in MQL5 (MetaTrader 5) Previous experience developing Forex/Gold Expert Advisors Ability to convert a trading strategy into a fully automated EA Clean, well-structured, and optimized code Good communication and willingness to provide updates during

Project information

Budget
150+ USD