MT5 Expert Advisor Blueprint – OB + BOS + Liquidity Sweep + FVG Strategy Overview This MT5 EA is designed to work on all forex pairs including Gold (XAUUSD). It uses institutional concepts across multiple timeframes, including Order Blocks (OB), Break of Structure (BOS), Liquidity Sweeps, and Fair Value Gaps (FVG). It identifies sniper entries on the 1M chart, refined by 15M and H4 bias. Entry Logic 1. Monitor price action on the 1M chart. 2. Detect a Liquidity Sweep (e.g., price grabs stop-losses above/below equal highs/lows). 3. Confirm Break of Structure (BOS) in the opposite direction. 4. Identify a valid Fair Value Gap (FVG) between BOS and OB. 5. Validate a fresh Order Block in the direction of structure shift. 6. Enter trade at OB zone or FVG midpoint. 7. SL = just beyond OB or sweep wick. 8. TP = 1:3 or better RR or next HTF structure. EA Configurable Parameters Parameter Description Example Value MaxTradesPerDay Maximum trades per pair 3 per day RiskPercent % of equity risked per trade 1% UseTimeFilter Enable time filter true (London/NY sessions) SessionTimeStart Start of trading window 08:00 SessionTimeEnd End of trading window 21:00 MinRR Minimum risk-reward ratio 1:3 to enter trade SymbolsToTrade Symbols to trade (e.g., ["XAUUSD", "EURUSD", majors + gold) "GBPUSD", ...] Entry Pseudocode (Simplified) if (Timeframe == M1) { if (LiquiditySweepDetected()) { if (BreakOfStructureDetected()) { if (FairValueGapExists()) { if (ValidOrderBlockDetected()) { ExecuteTrade( Entry = OB Zone or FVG midpoint, StopLoss = beyond OB or liquidity wick, TakeProfit = 3x Risk or next HTF zone, RiskPerTrade = 1% ); } } } } } Chart Visuals (Optional) - Draw OB zone (box) - Highlight FVG as shaded zone - Mark BOS with arrows/labels - Show sweep with icons (🔺/🔻) - Entry/SL/TP lines displayed