Confluence Detector EA
- Experts
- Version: 1.0
- Activations: 20
The Confluence Detector EA is a highly advanced, institutional-grade market scanner designed to uncover high-probability trading zones through the power of multi-factor confluence. Built for traders who demand precision, it mathematically identifies areas where multiple technical concepts overlap, such as Fibonacci Retracements, Previous Day Highs and Lows, Session VWAP, and Order Blocks.
Rather than relying on single lagging indicators, the Confluence Detector EA scans multiple timeframes simultaneously, assigning weights to different market structures to score Zones of Interest. When a zone achieves an elite score, you are alerted or the EA can automatically execute the trade with robust risk management controls.
Key Advantages and Features
- Multi-Factor Confluence Engine: Scans for overlapping signals from Fibonacci, VWAP, Order Blocks, and Market Structure.
- Multi-Timeframe Analysis: Analyzes up to 3 timeframes concurrently to ensure higher timeframe alignment.
- Advanced Risk and Profit Management: Features percentage-based risk sizing, multi-level scale-outs, trailing stops, and break-even locks.
- Prop Firm Ready: Built-in daily maximum loss and profit target limiters, ensuring strict compliance with Prop Firm rules.
- Institutional Broker Defenses: Protects your equity using Virtual Stop Loss and Take Profit to hide levels from the broker, execution slippage monitoring, order randomization, and DOM spoofing detection.
- Universal Digit Compatibility: Flawlessly adapts to 2, 3, 4, and 5-digit quote brokers automatically.
- Economic News Filter: Pauses trading before and after high-impact news events to avoid extreme volatility and slippage.
Input Parameters
Risk Management
- Enable Auto Trading: Toggle automated trade execution on or off.
- Use % Risk Lot Sizing: Calculate lot sizes dynamically based on account balance.
- Risk % per Trade: Percentage of account balance to risk per trade.
- Fixed Lot Size: Lot size to use if percentage risk is disabled.
- Fixed Stop Loss (Pips): Default stop loss distance.
- Fixed Take Profit (Pips): Default take profit distance.
- Max Spread (Pips): Maximum allowable spread to open a trade.
- EA Magic Number: Unique identifier for trades managed by this EA.
Dynamic ATR Stops
- Use ATR for SL/TP and Trailing: Utilize volatility-adjusted stops based on the Average True Range.
- ATR Period: Lookback period for ATR calculation.
- ATR Stop Loss Multiplier: Multiplier applied to ATR for the Stop Loss.
- ATR Take Profit Multiplier: Multiplier applied to ATR for the Take Profit.
Trade Pacing and Limits
- Max Trades Per Day: Hard limit on trades per day.
- Cooldown after close (minutes): Rest period required between closing a trade and opening a new one.
Trade Logic
- Require Candle Close near Zone: Waits for confirmation from a candle close rather than trading on a touch.
Advanced and Validator
- Enable Validator Mode: Relaxes strict timings and margin checks for successful MQL5 Market validation.
- Emulate StopsLevel in Backtest: Ensures backtests mimic real-world broker stop level restrictions.
- Use Calibration Trade: Executes an initial micro-lot trade to calibrate execution speeds.
- Avoid Rollover Sessions: Prevents trading during the low-liquidity rollover period.
- Rollover Pause Minutes: Time buffer around midnight.
Circuit Breaker
- Max consecutive losses: Halts trading if this consecutive loss limit is reached.
Trading Sessions
- Restrict Trading Hours: Enables time-based filters.
- Session Start and End (HH:MM): The defined daily trading window.
Advanced Profit Protection
- Use Multi-Level Scale Out: Enable taking partial profits at various checkpoints.
- Number of TP Checkpoints: Define 1 to 3 scale-out levels.
- Use Break-Even: Automatically move stop loss to entry once a profit trigger is hit.
- Break-Even Trigger and Lock Profit (Pips): The activation distance and the amount of profit to lock in.
- Use Trailing Stop: Enable dynamic trailing stops.
- Trailing Start and Step (Pips): The activation threshold and the step increment for the trailing stop.
Prop Firm Protection
- Enable Daily Limits: Activate prop-firm style equity limiters.
- Daily Max Loss (%): Maximum permitted drawdown per day.
- Daily Profit Target (%): Maximum profit target per day.
Broker Defenses
- Use Virtual SL/TP: Hides your stop loss and take profit levels from the broker to prevent stop hunting.
- Place physical Disaster SL: Places a hard stop loss at twice the distance as a safety net.
- Log Execution slippage/latency: Records broker execution metrics to a CSV file.
- Randomize lot size and entry timing: Adds slight variations to disguise automated behavior.
- Enable Hard Equity Drawdown Guard: Emergency halt if global drawdown is breached.
- Halt if Margin Requirement Spikes: Defends against unexpected broker margin requirement changes.
- Enable External Price Validator: Validates quotes against an external API to detect bad broker ticks.
Economic News Filter
- Avoid High Impact News: Suspend trading during major news events.
- Pause Before and After (Mins): Time buffer to pause trading around the news release.
Confluence Factor Weights
- Fibonacci Weight: Scoring weight for Fibonacci levels.
- Prev Day High/Low Weight: Scoring weight for previous day high or low.
- Session VWAP Weight: Scoring weight for VWAP alignment.
- Order Block Weight: Scoring weight for Institutional Order Blocks.
- Base Minimum Score to Trade: Minimum required confluence score for a zone to be considered valid.
Multi-Timeframe Setup
- Symbols to Trade: Comma-separated list of pairs to scan.
- Enable MTF Scanning: Toggle multi-timeframe analysis.
- Timeframe 1 / 2 / 3: Select the three timeframes for structural alignment.
Swing Detection and Visuals
- Tolerance in pips: Distance allowed for levels to be grouped into a single zone.
- Show individual Fibo lines: Visual toggle for chart clutter.
- Zone Color (Moderate, High, Elite Score): Customizable UI colors based on confluence strength.
