MT5 Expert Advisor – "RANGER" Range Reversion Strategy

MQL5 Experts

Trabalho concluído

Tempo de execução 2 dias
Comentário do cliente
Fast, responsive, and knows MT5 well. Happy to make adjustments and get things working properly. Recommended.
Comentário do desenvolvedor
Really very good customer, I like to work with him again.

Termos de Referência

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

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(620)
Projetos
724
34%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
2
Desenvolvedor 2
Classificação
(4)
Projetos
7
57%
Arbitragem
1
100% / 0%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(211)
Projetos
274
21%
Arbitragem
24
54% / 17%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(22)
Projetos
21
10%
Arbitragem
4
25% / 75%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(19)
Projetos
25
36%
Arbitragem
3
33% / 67%
Expirado
3
12%
Trabalhando
6
Desenvolvedor 6
Classificação
(106)
Projetos
129
25%
Arbitragem
25
28% / 56%
Expirado
8
6%
Livre
7
Desenvolvedor 7
Classificação
(73)
Projetos
91
57%
Arbitragem
6
67% / 17%
Expirado
2
2%
Carregado
8
Desenvolvedor 8
Classificação
(1305)
Projetos
1735
49%
Arbitragem
55
67% / 16%
Expirado
38
2%
Livre
9
Desenvolvedor 9
Classificação
(24)
Projetos
32
38%
Arbitragem
4
50% / 25%
Expirado
5
16%
Trabalhando
10
Desenvolvedor 10
Classificação
(645)
Projetos
873
48%
Arbitragem
29
38% / 17%
Expirado
63
7%
Livre
11
Desenvolvedor 11
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(268)
Projetos
603
34%
Arbitragem
65
22% / 57%
Expirado
146
24%
Trabalhando
Publicou: 1 artigo, 22 códigos
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(398)
Projetos
515
23%
Arbitragem
60
57% / 25%
Expirado
60
12%
Trabalhando
16
Desenvolvedor 16
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
1
50%
Livre
17
Desenvolvedor 17
Classificação
(319)
Projetos
571
35%
Arbitragem
83
31% / 45%
Expirado
206
36%
Livre
18
Desenvolvedor 18
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
19
Desenvolvedor 19
Classificação
(9)
Projetos
16
19%
Arbitragem
2
0% / 50%
Expirado
3
19%
Carregado
20
Desenvolvedor 20
Classificação
(455)
Projetos
721
34%
Arbitragem
35
71% / 9%
Expirado
23
3%
Livre
21
Desenvolvedor 21
Classificação
(2347)
Projetos
2953
63%
Arbitragem
125
44% / 26%
Expirado
429
15%
Livre
22
Desenvolvedor 22
Classificação
(45)
Projetos
53
57%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
23
Desenvolvedor 23
Classificação
(180)
Projetos
194
46%
Arbitragem
4
50% / 25%
Expirado
1
1%
Carregado
24
Desenvolvedor 24
Classificação
(515)
Projetos
554
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(20)
Projetos
29
3%
Arbitragem
4
0% / 100%
Expirado
5
17%
Livre
27
Desenvolvedor 27
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
28
Desenvolvedor 28
Classificação
(16)
Projetos
23
48%
Arbitragem
8
25% / 38%
Expirado
2
9%
Carregado
Publicou: 7 artigos, 35 códigos
29
Desenvolvedor 29
Classificação
(2676)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
30
Desenvolvedor 30
Classificação
(55)
Projetos
92
24%
Arbitragem
8
75% / 13%
Expirado
44
48%
Livre
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
(81)
Projetos
142
53%
Arbitragem
5
80% / 0%
Expirado
6
4%
Livre
33
Desenvolvedor 33
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
34
Desenvolvedor 34
Classificação
(5)
Projetos
6
50%
Arbitragem
0
Expirado
1
17%
Livre
35
Desenvolvedor 35
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
(8)
Projetos
15
7%
Arbitragem
4
25% / 50%
Expirado
1
7%
Livre
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
39
Desenvolvedor 39
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
40
Desenvolvedor 40
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 artigo, 1 código
Pedidos semelhantes
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
Need an MQL5 Expert Advisor for MT5 that automates my manual trading strategy. Entry logic: Enter only when trend direction, support/resistance level, and RSI all align (Triple Confirmation). Extra confluence from Smart Money Concepts (order blocks, Fair Value Gaps, BOS/CHoCH). Risk rules: 1% risk per trade, minimum 1:2 risk-reward, stop-loss at structure levels (not fixed pips). Must-haves: Works on Islamic

Informações sobre o projeto

Orçamento
150+ USD