Job finished
Specification
Description:
I need an Expert Advisor (EA) for MetaTrader 5 that follows my refined breakout strategy with strict risk management and FTMO compliance.
Key Requirements:
-
Breakout Entries (Refined)
-
Trade only when a candle closes beyond support/resistance (no anticipation).
-
Entry buffer in points (input).
-
Acceptable structures: flags, triangles, consolidations.
-
Reject trades if initial R:R < 1:3.
-
Entry mode: Pending Stop at breakout level + buffer OR Market on candle close (toggle).
-
-
Reversal Bounces
-
Trade only at strong 4H support/resistance zones.
-
Confirm with patterns (double top/bottom, flag, triangle).
-
SL placed below last support swing (longs) / above last resistance swing (shorts) with buffer.
-
-
Trade Management
-
SL always placed with the order.
-
SL moves to breakeven at +1R (configurable).
-
After that, SL trails structurally to the next HL/LH (or ATR trail, selectable).
-
Initial TP set only for validation; once conditions met, TP is removed so profits can run.
-
-
Filters
-
50 SMA trend filter: longs only if price > SMA, shorts only if < SMA.
-
RSI filter: longs require RSI > 50, shorts RSI < 50 (optional guardrails to avoid >70 or <30).
-
-
Risk Management (FTMO-style)
-
Max risk per trade = 1% of balance/equity (configurable).
-
Max daily loss = 2%, Max weekly loss = 4% → EA stops trading when hit.
-
Max 2 trades per day.
-
Risk-based lot sizing from SL distance.
-
-
Extra Settings
-
Max spread/slippage filters.
-
Session filter (London/NY hours etc.).
-
News filter (optional toggle).
-
Deliverables:
-
Fully working MT5 EA (.ex5 + source code .mq5).
-
Inputs panel with all above configurable.
-
Code must be efficient and bug-free.
-
Basic backtest + instructions for use.