Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Expert Advisor | Hon APS Advanced Pattern Scanner with DOM and News Integration | Source Code…

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

Brief Description

An institutional-grade Expert Advisor that trades classical chart patterns (Cup & Handle, Flags, Bottoms) validated by real-time Order Book (DOM) volume absorption and protected by a multi-source macroeconomic news filter.


Image for Hon APS Advanced Pattern Scanner with DOM and  News Integration

Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.

What ideas is the code based on?

Most algorithmic trading systems rely on lagging indicators. Hon-APS is based on the idea thatstructural price action combined with quantitative volume flow provides the highest probability entries.

The system operates on three core pillars:

  1. Dynamic Pattern Recognition:
  2. Order Flow & DOM Validation:
  3. Advanced Risk Control:

How can the indications be interpreted?

The EA operates fully autonomously, but its logic is transparently displayed via a professional on-chart dashboard.

  • KAMA Trend:
  • Volume Imbalance/Absorption:
  • News Filter Status:

Suitable Symbols and Timeframes

  • Recommended Symbols:
  • Recommended Timeframe:

Description of

The EA utilizes two custom include files to compartmentalize complex logic:

  1. Hon-APS-Dashboard.mqh : Responsible for rendering a modern, interactive GUI on the chart. It calculates and draws real-time account metrics, active risk, market trends, and DOM visualizations without cluttering the main trading logic.
  2. Hon-NewsTrader.mqh : A robust macroeconomic event handler. It actively checks the internal MQL5 Economic Calendar AND scrapes external web sources (Forex Factory JSON / Forexprostools HTML) to automatically pause the EA before high-impact news releases.

Description of Main External Variables (Inputs)

  • BaseRiskPercent : Determines the position sizing model for each trade.
  • MaxDailyLoss : Hard equity stops to prevent catastrophic drawdowns (ideal for prop firm trading).
  • Pattern Toggles ( TradeCupHandle ,: Allows the user to toggle which specific chart structures they want the EA to scan for.
  • RequireVolumeConfirmation : When set to true, the EA will only enter a pattern breakout if it is accompanied by an institutional volume multiplier.
  • Adaptive Moving Average ( UseKAMAFilter ): KAMA periods and slope thresholds used to ensure trades are only placed in the direction of the macro trend.
  • UsePartialProfits : Engages an ATR-based progressive trailing stop and takes partial profits at structured Risk-to-Reward levels (1R, 2R).

Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.

71521

Best MetaTrader Indicators + Profitable Expert Advisors