CounterFlow EA MT5
- Experts
- 버전: 3.13
- 업데이트됨: 15 11월 2026
- 활성화: 10
CounterFlow EA v3.13 MT5 — Multi-Currency Automated Quantitative Grid System
For MT4 Version: https://www.mql5.com/en/market/product/144980
CounterFlow EA v3.13 is an automated quantitative trading system engineered for MetaTrader 5, developed to trade mean-reverting market behavior across multiple currency pairs simultaneously. Rather than deploying static or unconditional grid entries, Version 3.13 utilizes an institutional three-pillar confirmation model: closed-bar candle re-entry, dynamic RSI rebound detection, and the multi-engine CEARegimeFilter system. This architecture ensures orders are deployed only during confirmed market consolidation or verified trend exhaustion phases.
Major Functional Innovations in Version 3.13
Version 3.13 represents a major architectural upgrade from Version 3.11, delivering significant enhancements in entry precision, recovery logic, and multi-currency capital preservation:
- Tier-1 Composite Market Regime Filter: Replaces single-metric trend filters with a three-engine composite model combining ADX (40%), Normalized Bollinger Bandwidth percentage (30%), and Choppiness Index (30%) with built-in hysteresis to eliminate false trend breakouts.
- Alexander Elder Auto-Ratio Engine: Automatically evaluates higher-timeframe market structure (such as H1 macro trend on an M15 execution chart) based on institutional 4:1 to 6:1 timeframe ratios.
- True Mean-Reversion Entry Architecture: Eliminates counter-trend entries during active momentum. Orders are initiated only after price closes back inside the volatility bands accompanied by directional candle confirmation.
- Dynamic RSI Rebound Verification: Validates that momentum reached extreme oversold or overbought levels within a recent lookback window and has begun curving back toward equilibrium.
- Intelligent Grid Level 2+ Confirmation: Recovery averaging orders beyond initial entry no longer execute blindly on distance alone; they require full indicator confirmation before deploying subsequent grid levels.
- Dual-Active Economic Calendar Engine: Combines the built-in MetaTrader 5 Economic Calendar with high-precision event filtering, featuring smart title-aware deduplication and customizable news blackout windows.
- Expanded Default Multi-Pair Portfolio: Pre-configured out of the box for 8 historically mean-reverting cross pairs with automated broker suffix adaptation.
- Refined Capital Protection Mechanics: Multi-tiered safety layers including Basket Stop Loss, portfolio Equity Protection, peak-to-valley drawdown limiters, and server-side catastrophic protection.
Three-Pillar Quantitative Entry Model
Every initial market position and subsequent recovery trade must satisfy three independent technical verification layers:
- Pillar 1 — Closed-Bar Candle Re-entry: Price must pierce outside the Bollinger Band envelope on a previous bar and close cleanly back inside on bar [1]. An optional directional filter requires a bullish close for buy entries and a bearish close for sell entries.
- Pillar 2 — Dynamic RSI Rebound: The Relative Strength Index must register an extreme oversold or overbought touch within the user-defined lookback window and demonstrate directional reversal back toward neutral territory.
- Pillar 3 — Tri-Zone Market Regime Matrix: The composite regime engine evaluates market conditions into three distinct operational states:
- Ranging Zone (Score below 25.0 to 35.0): Pure consolidation phase, fully cleared for mean-reversion order execution.
- Transitional Zone (Score 35.0 to 65.0): Trend formation or acceleration phase, strictly blocked by default to prevent exposure during early directional breakouts.
- Strong Trend Exhaustion (Score above 65.0): Permitted only when composite momentum exhibits a downward hook and directional index weakening is mathematically verified.
Intelligent Grid Recovery and Exit Logic
CounterFlow EA manages trade sequences with structured mathematical discipline:
- Adaptive ATR Spacing: Grid order distances expand dynamically according to current Average True Range volatility metrics.
- Confirmed Averaging Deployment: Grid Level 2 and higher will wait for fresh technical confirmation even after minimum ATR distance is reached, avoiding rapid sequence escalation during strong trending runs.
- Basket Take Profit by Target: Sequences close collectively once aggregate net profit reaches either a percentage of account equity or a fixed monetary value.
- Trailing Take Profit: Dynamic ATR-based trailing threshold locks in accumulated gains during strong reversion waves.
- Break-Even Exit Protocol: Automatically adjusts sequence exit targets toward break-even as grid depth expands or during prolonged holding periods.
Multi-Tier Safety and Risk Management
Capital preservation operates automatically under live market conditions through dedicated risk modules:
- Weekend Protection Module: Closes positions before Friday market closure and holds new orders until stable Monday trading liquidity returns.
- Basket Stop Loss: Strict maximum loss threshold per currency pair that liquidates open sequence orders if floating drawdown hits user specifications.
- Equity Protection Protocol: Portfolio-wide emergency circuit breaker that closes all open market commitments if total account equity drops below a critical threshold.
- Peak-to-Valley Drawdown Limiter: Temporarily suspends new trade initiation for a defined cool-off period when drawdown exceeds risk parameters.
- Absolute Drawdown Barrier: Baseline safety barrier benchmarked against initial deposit balance.
- Catastrophic Stop Loss: Server-side emergency stop orders attached to every market ticket as protection against extreme slippage or broker disconnects.
- Currency Correlation Filter: Limits concurrent open sequences across pairs sharing common base or quote currencies.
System Configuration and Parameters
All operational parameters are organized into logical configuration blocks:
- Risk Profiles: Five selectable predefined modes ranging from Very Low Conservative to Very High Aggressive configurations.
- Money Management: Supports fixed lot allocation or balance- and equity-proportional dynamic lot sizing.
- Multi-Pair Portfolio: Manages all selected currency symbols from a single chart attachment with custom broker prefix and suffix handling.
- Time and Day Filtering: Granular trading schedule controls, day-of-week toggles, Friday closing hour, and Monday resumption hour.
- News Filter Settings: Selectable filtering for High, Medium, and Low impact economic releases with adjustable pre- and post-event pause minutes.
- Regime and Entry Filters: User-configurable thresholds for ranging boundary, trending boundary, RSI levels, and candle confirmation.
- On-Chart Dashboard: Low-latency visual heads-up display showing active pairs, live market regime states, margin usage, and real-time drawdown metrics.
Operational Requirements and Recommendations
- Broker Environment: Low-spread execution environments such as ECN, STP, or Raw Spread accounts are recommended.
- Account Specifications: Standard, Raw, or Cent accounts with a recommended leverage of 1:500 or higher. Fully compatible with both Hedging and Netting account modes.
- Supported Currency Pairs: Pre-configured and optimized for 8 cross pairs: AUDCAD, AUDNZD, NZDCAD, EURCHF, GBPCHF, EURCAD, GBPCAD, and EURGBP.
- Execution Timeframe: M15 timeframe. Attach the EA to a single M15 chart of any traded pair; the internal multi-pair engine will manage the entire portfolio.
- Capital Allocation: Recommended minimum balance of 300 USD for conservative single-pair operation, or 1000 USD and above for multi-pair portfolio operations. On Cent accounts, 100 USD provides equivalent safety.
- Hosting Infrastructure: A Virtual Private Server (VPS) with low latency (under 20ms) is recommended for continuous, uninterrupted 24/5 automated execution.
Risk Disclaimer: Trading foreign exchange and derivative financial products carries substantial risk of loss and is not suitable for all investors. Automated trading algorithms, grid frameworks, and lot scaling strategies involve significant drawdown risk during extreme or sustained directional market movements. Historical performance, backtesting models, and optimization results do not guarantee future returns. Traders are solely responsible for testing risk configurations, setting prudent position sizing, and managing leverage in accordance with their individual risk tolerance.
For technical inquiries, setup guidance, or configuration questions, please post in the product Comments section or send a direct private message through the internal MQL5.com messaging system.
