Supply and Demand DE Inspired EA
- Experts
- Lesiba Shalton Letsoalo
- Versione: 1.22
Professional Supply & Demand Zone Trading System with Multi-Timeframe Confirmation
Overview
This advanced Expert Advisor automatically identifies and trades high-probability Supply and Demand zones using institutional trading principles. The EA combines classical supply/demand zone detection with modern confirmation filters including Break of Structure (BoS), Fair Value Gaps (FVG), and higher timeframe validation.
Setfile link:
https://drive.google.com/drive/folders/1nkK8_dy0gi7G2bFvy-Gdq9vZxq8Gsd0q?usp=drive_link
Core Trading Strategy
Zone Detection:
- Automatically identifies supply and demand zones based on Fibonacci impulse validation (default 2.6x extension)
- Validates zones using strong directional moves with minimal retracement
- Tracks up to 50 zones simultaneously with automatic zone management
- Visual zone drawing with customizable colors and transparency
Entry Methodology:
- Detects valid supply/demand zone formation
- Waits for price to leave the zone completely
- Monitors for price retrace back to the zone (within proximity threshold)
- Confirms breakout on lower timeframe (M5 default)
- Executes market order with calculated stop loss and take profit
Zone Invalidation:
- Zones invalidate when price closes through them beyond tolerance threshold (10% default)
- Invalid zones displayed in gray and stopped from generating new signals
- Automatic zone cleanup to maintain chart clarity
Advanced Filter System
✓ Break of Structure (BoS) Filter:
- Validates that impulse move broke a previous swing high/low
- Configurable pivot detection (left/right bars)
- Ensures zones form at structural breakpoints
✓ Fair Value Gap (FVG) Filter:
- Confirms zone overlap with price inefficiencies
- Identifies 3-candle imbalances near zones
- Increases probability of price reaction
✓ Higher Timeframe (HTF) Zone Filter:
- Requires current timeframe zones to align with HTF zones
- Can trade HTF zones directly with small TF confirmation
- Linked zone validation prevents false HTF signals
✓ 200 EMA Trend Filter:
- Only takes buys when price is above 200 EMA
- Only takes sells when price is below 200 EMA
- Keeps trades aligned with dominant trend
Risk Management
Position Sizing:
- Fixed lot size mode OR
- Risk percentage per trade (% of account balance)
- Automatic lot size calculation based on stop loss distance
Stop Loss & Take Profit:
- Stop loss placed beyond zone wick + buffer (1 pip default)
- Customizable risk:reward ratio (1.5:1 default)
- Optional swing high/low take profit targeting
- Minimum stop loss requirement prevents tight stops
Trade Controls:
- One trade at a time (all signals reset when position open)
- Magic number for EA identification
- Multiple fill type support (IOC/FOK/RETURN)
Customization Options
Entry Confirmation:
- Configurable confirmation timeframe (M5 default)
- Breakout buffer pips for entry trigger
- Zone proximity percentage (5% default)
Visual Settings:
- Custom colors for supply zones, demand zones, and invalid zones
- Adjustable transparency (0-100%)
- HTF zones displayed with dotted borders
- Clean automatic chart updates
Trading Hours:
- Optional time filter for specific trading sessions
- Broker time-based start/end hour and minute settings
- 24/7 trading or session-specific
Inputs Summary
- Risk Management: Fixed lot or % risk, RR ratio, minimum SL
- Zone Detection: Fibonacci level, max zones, proximity %, invalidation %
- Entry Settings: Confirmation timeframe, breakout buffer
- Filters: BoS (on/off), FVG (on/off), HTF zones (on/off), EMA (on/off)
- Visual: Zone colors, transparency, EMA color
- Trading Hours: Time filter, start/end times
- Advanced: Magic number, swing TP option
System Requirements
- Platform: MetaTrader 5
- Account Type: Any (Hedge or Netting)
- Minimum Deposit: $100+ recommended
- Recommended Timeframes: M5, M15, M30 (works on any)
- Recommended Pairs: Any (optimized for Forex, works on indices/metals)
Recommended Settings
Conservative (Lower Risk):
- Risk: 0.5-1% per trade
- RR Ratio: 1:2 or higher
- Enable all filters (BoS, FVG, HTF, EMA)
- Tighter zone proximity (3-5%)
Aggressive (Higher Frequency):
- Risk: 1-2% per trade
- RR Ratio: 1:1.5
- Disable some filters
- Wider zone proximity (5-7%)
Important Notes
- EA works on ANY timeframe - zones are detected on chart timeframe
- HTF filter requires HTF timeframe > current chart timeframe
- Backtest on quality tick data for accurate results
- Forward test on demo before live trading
- Works best in trending market conditions
- Monitor during high-impact news events
Support & Updates
Version 1.14 includes HTF zone trading capability and enhanced zone linking logic. Regular updates ensure compatibility with latest MT5 builds and market conditions.
Disclaimer: Trading involves substantial risk. Past performance does not guarantee future results. Always test on demo account first and only risk capital you can afford to lose.
