MT5 Expert Advisor – "RANGER" Range Reversion Strategy

MQL5 Experten

Spezifikation

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

Bewerbungen

1
Entwickler 1
Bewertung
(558)
Projekte
645
33%
Schlichtung
41
41% / 46%
Frist nicht eingehalten
11
2%
Überlastet
2
Entwickler 2
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(185)
Projekte
241
20%
Schlichtung
22
50% / 18%
Frist nicht eingehalten
0
Arbeitet
4
Entwickler 4
Bewertung
(22)
Projekte
21
10%
Schlichtung
4
25% / 75%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(9)
Projekte
13
8%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
1
8%
Arbeitet
6
Entwickler 6
Bewertung
(99)
Projekte
120
23%
Schlichtung
21
29% / 52%
Frist nicht eingehalten
8
7%
Arbeitet
7
Entwickler 7
Bewertung
(16)
Projekte
18
44%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(1285)
Projekte
1710
49%
Schlichtung
52
71% / 12%
Frist nicht eingehalten
38
2%
Arbeitet
9
Entwickler 9
Bewertung
(12)
Projekte
16
13%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
4
25%
Beschäftigt
10
Entwickler 10
Bewertung
(633)
Projekte
854
48%
Schlichtung
29
38% / 17%
Frist nicht eingehalten
63
7%
Arbeitet
11
Entwickler 11
Bewertung
(17)
Projekte
23
39%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(266)
Projekte
598
35%
Schlichtung
64
20% / 58%
Frist nicht eingehalten
147
25%
Frei
Veröffentlicht: 1 Artikel, 22 Beispiele
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(378)
Projekte
485
24%
Schlichtung
59
54% / 25%
Frist nicht eingehalten
55
11%
Beschäftigt
16
Entwickler 16
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
1
50%
Frei
17
Entwickler 17
Bewertung
(311)
Projekte
557
35%
Schlichtung
79
32% / 43%
Frist nicht eingehalten
202
36%
Arbeitet
18
Entwickler 18
Bewertung
(6)
Projekte
5
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
40%
Frei
19
Entwickler 19
Bewertung
(3)
Projekte
6
17%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
17%
Arbeitet
20
Entwickler 20
Bewertung
(443)
Projekte
700
34%
Schlichtung
34
71% / 9%
Frist nicht eingehalten
22
3%
Frei
21
Entwickler 21
Bewertung
(2315)
Projekte
2914
63%
Schlichtung
123
44% / 25%
Frist nicht eingehalten
429
15%
Arbeitet
22
Entwickler 22
Bewertung
(32)
Projekte
33
61%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
3%
Frei
Veröffentlicht: 5 Beispiele
23
Entwickler 23
Bewertung
(141)
Projekte
150
41%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
1
1%
Arbeitet
24
Entwickler 24
Bewertung
(511)
Projekte
549
53%
Schlichtung
13
69% / 15%
Frist nicht eingehalten
3
1%
Frei
25
Entwickler 25
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
26
Entwickler 26
Bewertung
(18)
Projekte
26
0%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
5
19%
Frei
27
Entwickler 27
Bewertung
(271)
Projekte
553
50%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
227
41%
Arbeitet
28
Entwickler 28
Bewertung
(2)
Projekte
4
25%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 13 Beispiele
29
Entwickler 29
Bewertung
(2649)
Projekte
3366
68%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
342
10%
Arbeitet
Veröffentlicht: 1 Beispiel
30
Entwickler 30
Bewertung
(55)
Projekte
92
24%
Schlichtung
8
75% / 13%
Frist nicht eingehalten
44
48%
Frei
31
Entwickler 31
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
32
Entwickler 32
Bewertung
(80)
Projekte
138
51%
Schlichtung
5
80% / 0%
Frist nicht eingehalten
6
4%
Frei
33
Entwickler 33
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Veröffentlicht: 1 Beispiel
34
Entwickler 34
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
35
Entwickler 35
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
36
Entwickler 36
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
37
Entwickler 37
Bewertung
(8)
Projekte
15
7%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
1
7%
Frei
38
Entwickler 38
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
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

Projektdetails

Budget
150+ USD

Kunde

(2)
Veröffentlichte Aufträge5
Anzahl der Schlichtungen1