MT5 (MQL5) EA — Port my Python DC-WAD Donchian strategy (tick-driven, state machine, partial TP, PSAR/Stoch trailing, optional retracement)

MQL5 Experten

Spezifikation

I have a working Python backtester for my “DC-WAD Donchian” strategy. I need a MetaTrader 5 Expert Advisor (MQL5) for live trading that matches the Python logic as closely as possible (no lookahead).

✅ Critical requirement (must accept)

EA must be tick-driven for entries/exits (touch logic).
Bar-close approximation is not acceptable.


Timeframes

  • Strategy runs on a single Setup Timeframe (HTF) (user input, e.g., M30/H1/H4 etc.)

  • Optional LTF for intraday ambiguity exists in Python, but NOT required for this milestone (we will skip ambiguity mode).


Core logic (must replicate)

1) Donchian + state machine

  • Long/short mirror

  • States: 00 → 01 → 02 → 03

  • Setup01 validity: t+3 is last chance; when count reaches 4 → invalidate/reset

2) WAD filter

  • Compute WAD internally + WAD SMA(n)

  • Optional HTF WAD filter + optional WAD source mode (as per Python)

3) ATR risk filter

  • Reject if risk distance > k * ATR(n)

  • ATR must match Python: ATR = SMA(TrueRange, n) (not Wilder)


Entry modes (inputs)

  1. Normal (breakout) entry

  2. Optional retracement limit entry

  • limit at p% retracement (e.g., 50%)

  • include time window inputs if needed (signal/fill windows)

Required retracement rule:

  • If retracement limit becomes worse than breakout entry:

    • LONG: if limit > breakout_entry → clamp to breakout_entry

    • SHORT: if limit < breakout_entry → clamp to breakout_entry


Trade management

  • TP1 closes 50%

  • TP2 manages remaining 50% via trailing (input select):

    • PSAR trailing OR Stochastic trailing

  • Trailing is tighten-only

  • Trailing starts after TP1 as per Python rules

PSAR freeze rule (must implement):

  • Maintain last_valid_psar

  • LONG: update only when PSAR below close; else freeze

  • SHORT: update only when PSAR above close; else freeze

  • Use closed bars only (no lookahead).


Execution rules (tick-based)

  • Stop/limit triggers by Bid/Ask touch on ticks

  • Partial close logic must work in live + tester

  • Respect spread (Bid/Ask). No “mid price” assumptions.


Logging

  • Export CSV trade log (minimum):

    • entry time/price, exit(s), SL, TP1/TP2, side, session/tag, reason codes, PnL, R-multiple


Deliverables

  • Full .mq5 source, clean + commented

  • Inputs grouped clearly

  • Short README: how to test + any differences vs Python


Dateien:

JPEG
1.jpeg
120.2 Kb
JPEG
2.jpeg
60.4 Kb
JPEG
3.jpeg
198.7 Kb
JPEG
4.jpeg
70.5 Kb
JPEG
5.jpeg
222.0 Kb
JPEG
6.jpeg
105.7 Kb
JPEG
7.jpeg
118.3 Kb

Bewerbungen

1
Entwickler 1
Bewertung
(15)
Projekte
20
0%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
4
20%
Arbeitet
2
Entwickler 2
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Veröffentlicht: 2 Artikel
3
Entwickler 3
Bewertung
(4)
Projekte
7
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
3
43%
Beschäftigt
4
Entwickler 4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(176)
Projekte
227
19%
Schlichtung
20
40% / 20%
Frist nicht eingehalten
0
Beschäftigt
6
Entwickler 6
Bewertung
(52)
Projekte
89
25%
Schlichtung
8
75% / 13%
Frist nicht eingehalten
44
49%
Frei
7
Entwickler 7
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
10
Entwickler 10
Bewertung
(2)
Projekte
2
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Arbeitet
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(103)
Projekte
111
31%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
2
2%
Beschäftigt
13
Entwickler 13
Bewertung
(4)
Projekte
4
50%
Schlichtung
5
0% / 100%
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(13)
Projekte
19
32%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(1)
Projekte
1
100%
Schlichtung
0
Frist nicht eingehalten
0
Frei
16
Entwickler 16
Bewertung
(294)
Projekte
469
39%
Schlichtung
102
40% / 24%
Frist nicht eingehalten
77
16%
Beschäftigt
Veröffentlicht: 2 Beispiele
17
Entwickler 17
Bewertung
(64)
Projekte
144
46%
Schlichtung
19
42% / 16%
Frist nicht eingehalten
32
22%
Frei
Ähnliche Aufträge
SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next steps. My requirements are screenshot, backtes results, demo fileS Let me know if you have anything that fits the bill
iF you already have an successful MT4 EA for scalping in M5 XAUUSD [and eventually EURUSD and USDJPY] working essentially ON the trend when there is an Break Of Structure but also on reversal eventually with strategy Martingale with param ON/OFF eventually with strategy Grid with param ON/OFF eventually with HEDGING with param ON/OFF and on each trade : Stop loss, Trailing sl without High Frequency Trades [means
"I'm searching for a genuinely aggressive, high-risk / ultra-high-reward Expert Advisor (EA) optimized for MetaTrader 5 , capable of running on a very small real account of $100 (or cent/micro account equivalent). Key requirements: Strategy type : Preferably martingale , grid + martingale hybrid , aggressive scalping with recovery , or any other explosive growth-oriented approach (Bollinger/martingale, hedging grid
looking for EA using zone recovery strategy. would like to make small per cent daily with small drawdown. it is a martingale hedge system. Please make the entry based on your own judgement
Hi, is this signal enough for a bot to trade on attached images. its literally just a telegram channel I have access to, the trader avg's 10% weekly for the last 2 years, but I do not have the time to copy trade so wanted to find a solution, all he does is send TV screenshots of his entry/sl/tp and then sends updates as he manages the trade. I thought about hiring someone in a similar timezone to the trader (hes in
Modifiedea 30+ USD
Please my robot doesn’t open trades and I also believe it the ma crossover and others please I want the ma crossover to be fixed.also add trade directions to parameter for both, only sell, or only buys. Please also correct the balance drawdown and equity drawdown if it’s not working.the ea would be carefully tested for assessment l. Also source code will be handed before Payment. Only 30bucks for budget
I need an MT4/MT5 EA modification. Requirements: 1. Equity protection based on DAILY and TOTAL drawdown 2. Automatically close all trades when limit is hit 3. Disable trading after drawdown hit 4. Email notification when: - Daily loss limit reached - Total loss limit reached 5. EA must work on multiple accounts simultaneously 6. Clean and error-free code 7. Compatible with MT5 (or MT4 mention yours)
If you have profitable strategy or profitable EA on the gold pair without martingale / Hedge, then share me the EA with expiry time to back test and to test on the live market. Platform: MT5 pair: Gold Non-Martingale, No Hedging. Need Source Code
This indicator will code into MT5 EA. Trade on live, demo and strategy tester. No repaint, no redraw and stable on chart. 1. Include all inputs variable and value, Lots size in points adjustable, TP in points true or false adjustable, SL in points true or false adjustable, close position on opposite signal true or false, Use pending order true or false, use BE points true or false, use slippage point true or false
Good day, I am searching the very high level expert, which could create the auto-trade robot and I would like to order the trading robot for GOLD XAU/USD auto-trade on MetaTrader. I could pay a lot for the institutional grade auto-trade robot, just contact me and let me know what level of the robot you could offer and we will negotiate the price

Projektdetails

Budget
50 - 150 USD
Ausführungsfristen
bis 14 Tag(e)

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0