Advanced Pattern Scanner with DOM and News Integration
Info
The Advanced Pattern Scanner with DOM and News Integration is a Expert Advisor for MetaTrader 5 that brief description an advanced expert advisor designed for institutional-level trading, focusing on classical chart patterns and real-time order book (dom) volume analysis, while incorporating a macroeconomic news filter for risk management. Concept Most algorithmic trading systems rely on lagging indicators.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use Advanced Pattern Scanner with DOM and News Integration
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
Brief Description An advanced Expert Advisor designed for institutional-level trading, focusing on classical chart patterns and real-time Order Book (DOM) volume analysis, while incorporating a macroeconomic news filter for risk management.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Long-Only Trend Breakout EA with Advanced Risk Management - another powerful expert for MetaTrader 5 traders.
Brief DescriptionAlso recommended: RS I Grid EA Pro: Advanced RSI-Based Grid Trading System - similar expert with strong performance on MetaTrader 5.
An advanced Expert Advisor designed for institutional-level trading, focusing on classical chart patterns and real-time Order Book (DOM) volume analysis, while incorporating a macroeconomic news filter for risk management.Concept
Most algorithmic trading systems rely on lagging indicators. This EA is based on the concept that structural price action, combined with quantitative volume flow, offers the highest probability entries.
The system operates on three key principles:
Pattern Recognition:
The EA dynamically identifies structural chart patterns such as Head & Shoulders, Double/Rounding Bottoms, Triangles, and Flags.
Order Flow & DOM Analysis:
Upon pattern breakout, the EA analyzes the Level 2 Order Book (MarketBookGet) to assess bid/ask imbalances and true volume absorption. If DOM is unavailable, it estimates tick volume as a fallback.
Risk Management:
Trades are sized using a modified Kelly Criterion, ensuring controlled risk exposure. The system monitors correlated positions and enforces daily and weekly drawdown limits to safeguard capital.
Interpretation
The EA operates autonomously, providing a transparent on-chart dashboard for monitoring.
KAMA Trend:
Displays the overarching market trend (Bullish/Bearish/Neutral) to align trades with the broader direction.
Volume Imbalance/Absorption:
Breakouts are triggered only when aggressive limit orders at support/resistance levels are absorbed by the dominant trend.
News Filter:
Highlights when trading is paused due to upcoming high-impact macroeconomic events.
Recommended Symbols and Timeframes
Symbols:
Major Forex Pairs (EURUSD, GBPUSD) and Indices (US30, NAS100). The EA includes adaptive spread control for Crypto and Indices.
Timeframes:
H1 (1-Hour) or H4 (4-Hour) charts are optimal for capturing structural pattern formations.
Description of #include Files
The EA utilizes two custom include files for modularity:
Hon-APS-Dashboard.mqh
: Develops an interactive GUI on the chart, displaying real-time account metrics, risk exposure, market trends, and DOM visualizations without interfering with the core trading logic.
Hon-NewsTrader.mqh
: A comprehensive macroeconomic event handler that references the MQL5 Economic Calendar and external web sources (Forex Factory JSON / Forexprostools HTML) to automatically pause trading before significant news releases.
External Variables (Inputs)
BaseRiskPercent / UseKellyCriterion
: Defines the position sizing approach for each trade.
MaxDailyLoss / MaxWeeklyLoss
: Implements hard equity stops to prevent excessive drawdowns, suitable for prop firm trading.
Pattern Toggles (TradeCupHandle, TradeFlags, etc.)
: Allows users to select specific chart patterns for the EA to monitor.
RequireVolumeConfirmation
: When enabled, the EA requires institutional volume confirmation for pattern breakouts.
Adaptive Moving Average (UseKAMAFilter)
: Configures KAMA periods and slope thresholds to align trades with the macro trend.
UsePartialProfits & Trailing Stops (InitialTrailingATR)
: Implements an ATR-based trailing stop and partial profit-taking at defined Risk-to-Reward levels (1R, 2R).
You may also like: MQ L5 Wizard - Trade Signals Based on Reversal Candlestick Patterns - excellent alternative for expert users on MetaTrader 5.
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.