MT5 Expert Advisor – "RANGER" Range Reversion Strategy

MQL5 Asesores Expertos

Tarea técnica

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

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(558)
Proyectos
645
33%
Arbitraje
41
41% / 46%
Caducado
11
2%
Ocupado
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(185)
Proyectos
241
20%
Arbitraje
22
50% / 18%
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(22)
Proyectos
21
10%
Arbitraje
4
25% / 75%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(9)
Proyectos
13
8%
Arbitraje
3
33% / 67%
Caducado
1
8%
Trabaja
6
Desarrollador 6
Evaluación
(99)
Proyectos
120
23%
Arbitraje
21
29% / 52%
Caducado
8
7%
Trabaja
7
Desarrollador 7
Evaluación
(16)
Proyectos
18
44%
Arbitraje
1
0% / 100%
Caducado
0
Trabaja
8
Desarrollador 8
Evaluación
(1285)
Proyectos
1710
49%
Arbitraje
52
71% / 12%
Caducado
38
2%
Trabaja
9
Desarrollador 9
Evaluación
(12)
Proyectos
16
13%
Arbitraje
4
50% / 25%
Caducado
4
25%
Trabajando
10
Desarrollador 10
Evaluación
(633)
Proyectos
854
48%
Arbitraje
29
38% / 17%
Caducado
63
7%
Trabaja
11
Desarrollador 11
Evaluación
(17)
Proyectos
23
39%
Arbitraje
6
33% / 50%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(266)
Proyectos
598
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Libre
Ha publicado: 1 artículo, 22 ejemplos
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(378)
Proyectos
485
24%
Arbitraje
59
54% / 25%
Caducado
55
11%
Trabajando
16
Desarrollador 16
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
1
50%
Libre
17
Desarrollador 17
Evaluación
(311)
Proyectos
557
35%
Arbitraje
79
32% / 43%
Caducado
202
36%
Trabaja
18
Desarrollador 18
Evaluación
(6)
Proyectos
5
0%
Arbitraje
2
50% / 50%
Caducado
2
40%
Libre
19
Desarrollador 19
Evaluación
(3)
Proyectos
6
17%
Arbitraje
1
0% / 0%
Caducado
1
17%
Trabaja
20
Desarrollador 20
Evaluación
(443)
Proyectos
700
34%
Arbitraje
34
71% / 9%
Caducado
22
3%
Libre
21
Desarrollador 21
Evaluación
(2315)
Proyectos
2914
63%
Arbitraje
123
44% / 25%
Caducado
429
15%
Trabaja
22
Desarrollador 22
Evaluación
(32)
Proyectos
33
61%
Arbitraje
1
100% / 0%
Caducado
1
3%
Libre
Ha publicado: 5 ejemplos
23
Desarrollador 23
Evaluación
(141)
Proyectos
150
41%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
24
Desarrollador 24
Evaluación
(511)
Proyectos
549
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(18)
Proyectos
26
0%
Arbitraje
4
0% / 100%
Caducado
5
19%
Libre
27
Desarrollador 27
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
28
Desarrollador 28
Evaluación
(2)
Proyectos
4
25%
Arbitraje
2
50% / 0%
Caducado
0
Trabaja
Ha publicado: 13 ejemplos
29
Desarrollador 29
Evaluación
(2649)
Proyectos
3366
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
30
Desarrollador 30
Evaluación
(55)
Proyectos
92
24%
Arbitraje
8
75% / 13%
Caducado
44
48%
Libre
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
(80)
Proyectos
138
51%
Arbitraje
5
80% / 0%
Caducado
6
4%
Libre
33
Desarrollador 33
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
34
Desarrollador 34
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
35
Desarrollador 35
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
36
Desarrollador 36
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
37
Desarrollador 37
Evaluación
(8)
Proyectos
15
7%
Arbitraje
4
25% / 50%
Caducado
1
7%
Libre
38
Desarrollador 38
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5
My requirement i have mention in the video. I explain it from a screen record will be more clear https://www.youtube.com/watch?v=oTCWx7tfckM Mainly RSI martingale TP/SL lot size will auto base on the profit/loss i wish to risk
We have an existing Expert Advisor (EA) for MetaTrader 4. We need to restrict the EA so it only works on specific MetaTrader account ID(s). Key Requirements: Add account ID locking functionality to the EA. EA should run only on authorized account number(s). If used on any unauthorized account, the EA should: Stop trading, and/or Display an error message (e.g., “Unauthorized Account”). Ability to easily update or add
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
Hello I want a very profitable scalping EA , tight stoploss and low drawdown , for Xauusd or any pair, time frame any, daily profit 20$ minimum and minimum deposite 200$ maximum sir
I’m looking for an experienced developer to help build a trading bot for Polymarket , focused on short-term crypto prediction markets (e.g. 5–15 minute intervals). The strategy is fully rule-based and operates on binary outcome markets (YES/NO shares). The bot should be able to: monitor live market prices and probabilities, execute trades based on predefined conditions, manage positions dynamically before market
This project is to create or provide a back testable renko chart builder/EA for MT5 which must be: Back testable using strategy tester Optimisable using strategy tester Accurate in terms of price, including wicks Accurate in terms of time, with no future date issue. Able to produce both normal and median renko. The renko must have been developed by the developer OR have been used previously by the developer for off
Hi developers, I want to create a Trading Assistant. The minimum developer experience is someone who has created a Trading Assistant before. The developer has worked on more than 100 job orders The Trading Assistant uses a Risk-Reward Ratio, a movable panel, an expandable panel with a hidden menu, and a modern UI. Thank you

Información sobre el proyecto

Presupuesto
150+ USD

Cliente

(2)
Encargos realizados5
Número de arbitrajes1