Gann Fan EA V1.0 MQ4 — Angle Trading Made Practical for MT4


If you’ve ever drawn a Gann Fan on your chart and thought “this looks powerful, but how do I actually trade it without second-guessing every angle?”, this post is for you. Gann Fan EA V1.0 MQ4 takes the classic geometry of W.D. Gann and wraps it into a practical, rules-driven Expert Advisor for MetaTrader 4. No hype, no black-box mystery—just angle-based structure, clear risk controls, and a setup flow you can follow.


This EA focuses on three liquid instruments—GBPUSD, EURUSD, and XAUUSD (Gold)—and it’s tuned for H1 down to M15. That combination gives you enough signal frequency for active traders, while still keeping noise manageable. You can scalp structure breaks on M15, or let H1 swings play out with more breathing room. Your call.


What Is Gann Fan EA V1.0 MQ4 Trying to Do?


At its core, Gann Fan EA V1.0 automates decisions around the fan’s key angles—1x1, 1x2, 2x1, and so on—so you don’t have to eyeball every break, retest, or intersection. Think of it as a disciplined execution layer for a time-tested charting tool:



  • It reads the slope and direction of the prevailing move.

  • It plots/derives fan levels dynamically from recent swing points.

  • It looks for price interaction with angles (breaks, rejections, retests).

  • It turns those interactions into pre-defined entries with protective stops.


The result is a trading approach that’s not “indicator soup.” It’s geometric structure, price reaction, and risk math… executed exactly the same way, every time.



Why These Markets and Timeframes?



  • GBPUSD & EURUSD: Deep liquidity, decent intraday swings, and fewer “wild spikes” compared with exotics. Gann angles behave more cleanly when spreads are tight and momentum is genuine.

  • XAUUSD (Gold): Yes, it’s volatile—but that’s the point. Gold respects structure surprisingly well on H1–M15, and angle breaks can run. Just size conservatively and respect stop logic.

  • H1 to M15: Sweet spot for frequency vs. quality. H1 helps you capture structured legs. M30/M15 allow more opportunities with manageable noise if your broker conditions are solid.


Key Features You’ll Actually Use



  • Angle-Aware Entries: Rules for break/retest across major fan lines (1x1, 1x2, 2x1, etc.).

  • Swing-Based Anchoring: Fans derive from recent swing highs/lows; no arbitrary placement.

  • Multi-Pair Logic: Handles GBPUSD, EURUSD, XAUUSD with pair-specific defaults.

  • Risk First: Fixed lot or %-risk per trade. Built-in SL based on the nearest structural invalidation.

  • Take-Profit Options: Static RR targets (e.g., 1:1, 1:1.5, 1:2) or angle-to-angle progression.

  • Trailing & Break-Even: Move to BE at angle n, trail behind subsequent angles to ride clean trends.

  • Session Filter (optional): Focus on London/NY overlap for cleaner flows, skip dead hours.

  • News Pause (optional): Halt new entries before high-impact events (manual input or simple timer).

  • Prop-Friendly Defaults: No martingale, no grid, no hedge stacking. Just one clean idea done well.

  • Clean Logs: Every action is logged—signal, entry, SL/TP changes—so you can debug and learn.


How the Strategy Works (in Plain English)



  1. Anchor the Fan: The EA auto-detects a recent swing high/low and draws a virtual Gann Fan.

  2. Wait for Interaction: Price reaches a key angle (say 1x1). The EA watches for a break or rejection.

  3. Entry Confirmation: On confirmed break + close beyond the angle (optional retest rule on M15/M30), the EA fires a position in the direction of flow.

  4. Stops & Targets: SL goes just beyond the invalidation angle or the prior micro-swing; TP either uses a chosen RR or the next angle as a dynamic target.

  5. Trade Management: If price steps through additional angles, the EA can trail or scale out depending on your configuration.


This is not a “signals firehose.” It’s structured. Some sessions will produce multiple trades (especially on M15), others will be quiet. That’s fine—good angle trades are worth waiting for.


Recommended Settings (A Practical Starting Point)



  • Timeframes:



  1. GBPUSD, EURUSD: M15 for activity, H1 for swing clarity.

  2. XAUUSD: M15 or H1 depending on your risk tolerance and broker spreads.



  • Risk:



  1. Start with 0.5% to 1.0% per trade. Gold can move—err on the conservative side.

  2. If new to angle trading, reduce to 0.25% until you’re comfortable.



  • TP/SL Logic:



  1. TP: 1:1.5 or 1:2 fixed RR to start. Once you’ve built confidence, try angle-to-angle targets.

  2. SL: Just beyond invalidation angle or micro-swing. No widening “coz price will come back.” Keep it tight and honest.



  • Filters:



  1. Session filter: Enable London and first half of NY for majors; optional on gold.

  2. News pause: Avoid initiating trades 15–30 minutes before top-tier events when possible.



  • Management:



  1. Break-even: After price clears the entry angle and taps the next angle or 1R, move to BE.

  2. Trailing: Trail behind the next lower/higher angle on trend continuations.


What About Backtests?


Backtesting Gann logic is meaningful only if you’re consistent with anchoring rules and confirmation logic. The EA does that, so your tests won’t be “curve-drawn.” For realistic results:



  • Use tick data with spread modeling.

  • Test at least 2–3 years per pair and timeframe.

  • Segment by session to see where the edge lives.

  • Track max drawdown, profit factor, average RR, and win rate rather than fixating on net pips.


Expectations: Gann angle trading can deliver solid trend-leg captures with disciplined losses on chop. Your win rate might vary between 38–55% depending on pair/timeframe, but your average RR should keep the equity line constructive if you avoid over-filtering. Remember—this is geometry + behavior, not a laggy mash-up of oscillators.



Setup: From Download to First Trade



  1. Download & Copy: Place Gann_Fan_EA_V1.0.ex4 into MQL4/Experts and restart MT4.

  2. Allow Live Trading: In MT4, enable AutoTrading and allow DLLs if required.

  3. Attach to Chart: Open GBPUSD, EURUSD, or XAUUSD on H1/M30/M15. Drag the EA onto the chart.

  4. Inputs:



  • Risk mode (fixed lot vs % risk)

  • TP/SL method (fixed RR vs angle-to-angle)

  • Session filter on/off

  • News pause on/off (simple timer method)


    5. Journal Check: Confirm “EA initialized” and that parameters are as intended.


    6. Dry Run: Watch a session live or forward-test on demo for a few days. Get a feel for angle behavior.


    7. Go Live (Gradually): Start small. If you’re new to gold, begin with majors; add XAUUSD later.


Who Is This For?



  • Structure-minded traders who prefer rules over hunches.

  • Intraday swing and active traders who want consistency on H1–M15.

  • Prop-firm candidates who need clean execution and no martingale/grid baggage.

  • Anyone who likes Gann tools but wants a disciplined, testable implementation.


If you prefer ultra-high-frequency scalping or you need 20 trades per day to feel “active,” this probably isn’t the best fit. Angle setups can cluster—but they can also make you wait.


Risk, Reality, and a Quick Word on Psychology


Even beautifully drawn geometry won’t save reckless risk. The EA provides structure; you provide discipline. Accept small losses as part of the process. Don’t widen stops. Don’t revenge-trade on gold after news whips. Log your trades, note which angles produced the cleanest runs, and refine. That’s how angle trading becomes second nature.


Final Take


Gann Fan EA V1.0 MQ4 won’t dazzle you with 100 inputs or magic filters. It focuses on what matters: where price meets geometry and how to trade that encounter with consistent rules. On GBPUSD, EURUSD, and XAUUSD across H1–M15, it gives you a systematic, transparent way to work with a classic charting approach—minus the guesswork.


Join our Telegram for the latest updates and support


Happy Trading