HMA Crossover
- Experts
- Version: 2.0
- Updated: 7 September 2026
- Activations: 5
Hull Moving Average Crossover EA – MT5
Harness the speed of the Hull Moving Average (HMA) paired with institutional volume confirmation in a fully automated, high-precision trend-following system for MetaTrader 5.
The Hull Moving Average Crossover EA is engineered for systematic traders who demand lightning-fast reactions to emerging trends without sacrificing strict capital protection. By blending a fast/slow HMA trend engine with an embedded Volume Momentum Delta (VMD) confirmation filter, this EA ensures you only enter trends backed by true market liquidity—completely removing false breakout "head-fakes."
Built for multi-asset adaptability. Engineered for institutional discipline.
🔹 Core Strategy Logic
The EA evaluates structural market shifts strictly at the close of each bar to guarantee zero repainting and stable signals, executing through a three-layer validation matrix:
- The Trend Engine: Continuously tracks crossover events between a user-defined Fast HMA (momentum detection) and a Slow HMA (macro trend filter).
- The Liquidity Gate: Evaluates real-time buying/selling pressure via the embedded Volume Momentum Delta (VMD) algorithm. Trades are unlocked only when institutional volume aggressively backs the direction of the HMA crossover.
- Strict 1-Position Cap: Operates on an intelligent structural rotation pattern. It will manage exactly one single position at a time per direction, automatically force-closing any existing counter-positions when a valid reversal signal hits.
🔹 Key Features
- ⚡ Ultra-Fast HMA Cross Detection
Identifies bullish and bearish structural shifts instantly, giving you a competitive edge over standard, lagging moving averages. - 📊 Institutional Volume Filter (VMD)
Processes candle geometry, wick relationships, and tick/real volume data internally to ensure buy or sell momentum is valid before an order is pushed to the server. - 📈 Volatility-Adjusted Target Management
Stop Loss and Take Profit levels are calculated dynamically using a custom, exponentially smoothed ATR engine , instantly molding your risk boundaries to live market volatility. - 🔄 Adaptive Multi-Asset Pricing Engine
Equipped with automated smart-pip calculations, allowing the exact same settings block to trade seamlessly across Forex pairs (3/5 digits), Gold (XAU), Indices, and Cryptocurrency contracts . - 🛡️ Dynamic Complement Margin Shield
Built-in capital defense layer tailored for lower balances. If a trade setup threatens to consume more than 50% of your free equity in initial margin requirements, the EA automatically down-sizes the volume or blocks the order to prevent execution failures. - 🛑 Automated Account Safety Guard
A built-in equity protection switch. If your total open floating losses or closed equity drawdowns breach your customizable Maximum Daily Loss Percentage Threshold , the EA immediately flattens all active positions and freezes trading until midnight (00:00 broker time) to preserve your core balance. - 🚀 High-Speed Calculation Engine
The internal indicators utilize an optimized dynamic history-caching loop. It calculates the heavy historical blocks exactly once on startup, and updates only new ticks live—guaranteeing lightning-fast optimization runs and effortless multi-symbol backtesting.
🔹 Fully Customizable Inputs
- Magic Number: Unique identifier for seamless multi-chart or multi-EA operation.
- Auto-Adjust Spread Ceiling: True/False switch to automatically scale allowed execution spread thresholds based on active asset class volatility.
- Fast & Slow HMA Periods: Completely adjustable inputs to fine-tune your trend core.
- Volume Momentum Delta Period: Custom smoothing period for the internal volume confirmation layer.
- ATR Multipliers: Independent inputs for Stop Loss, Take Profit, and Trailing Stop distances.
- Base Fixed Lot Size: Your standard contract entry sizing choice.
- Account Safety Switch: True/False toggle to engage or disengage the daily equity loss guard.
- Max Daily Loss Percentage Limit: Your absolute daily equity risk boundary.
🔹 Who Is This EA For?
- Trend & Intraday Traders seeking systematic, rules-based execution on M5, M15, or higher timeframes.
- Prop Firm & Retail Traders who require strict, mathematical control over daily drawdown thresholds.
- Volume Spread Analysis (VSA) Enthusiasts who want to pair moving average trends with clear order-flow validation.
- Portfolio Managers who want a lightweight, efficient script capable of running across completely different asset types simultaneously.
