PSI SQUARE • case study • algorithmic trading

MT5 Smart Money EA — CHoCH, BOS & Market Structure Automation

A custom MT5 Expert Advisor that detects and trades CHoCH (Change of Character) and BOS (Break of Structure) signals from validated market structure levels — with a real-time news filter to eliminate false signals during high-impact events, and advanced risk management for both trending and reversal scenarios.

MT5MQL5Smart MoneyCHoCHBOSMarket Structure
THE CHALLENGE

The challenge

Smart money concept strategies — CHoCH, BOS, and market structure analysis — are well understood but difficult to automate without misidentifying structural shifts during news-driven volatility. Manual execution was inconsistent and required constant chart monitoring across multiple sessions.

Key Project Constraints & Requirements

Multi-Timeframe Structure Validation

Accurately distinguishes valid Higher Highs (HH) and Lower Lows (LL) from intraday noise without lagging or repainting swing points.

CHoCH vs BOS Signal Classification

Detects structural trend continuations (BOS) versus trend shifts (CHoCH) with strict body close and wick filtration.

High-Impact News Safeguards

Automates real-time news calendar syncing to halt order transmission during major data releases and prevent false structure breaks.

Dual-Mode Regime Flexibility

Executes trend continuation and swing reversal playbooks seamlessly within a unified risk and position management layer.

Institutional Risk Protection

Applies dynamic ATR-based stops, structural invalidation levels, multi-partial TP targets, and strict daily drawdown caps.

THE SOLUTION

The solution

A custom MT5 Expert Advisor detecting and trading CHoCH and BOS signals from validated market structure levels — Higher Highs (HH), Lower Lows (LL), and key structural zones. The system confirms breakout or reversal conditions before executing and integrates a real-time news filter to automatically pause trading during high-impact events — the most common source of false structure breaks. Advanced risk management, customisable entry/exit rules, and optimised execution support both trending and reversal scenarios.

Structure Mapping

Market Structure Engine

Tracks fractal swing highs and lows dynamically across multiple timeframes to map confirmed market structure boundaries in memory.

Signal Logic

CHoCH & BOS Detection Core

Validates structural breakouts and trend reversals with configurable confirmation filters (candle close, volume surge, order blocks).

News Protection

Real-Time News Filter Bridge

Integrates automated economic calendar feeds to pause trade execution pre/post high-impact events and prevent fakeouts.

Risk Management

Unified Execution & Risk Manager

Calculates dynamic lot sizing based on account equity and structural invalidation levels with automated trailing stop management.

SYSTEM SPECIFICATIONS

Technical architecture

A comprehensive breakdown of the core MQL5 architecture, market structure detection engine, and dynamic risk management pipeline.

Platform
MetaTrader 5 (MT5)
Language
MQL5
Signal types
CHoCH and BOS from HH/LL market structure
Structure levels
Higher High, Lower Low, key structural zones
Confirmation
Validated breakout/reversal before execution
News filter
Real-time integration — auto-pause on high-impact events
Risk management
Configurable SL/TP, position sizing, drawdown controls
Scenarios
Trending and reversal — single EA handles both
VERIFIED OUTCOME

Verified outcome

CHoCH and BOS signals are detected and traded automatically from validated structural conditions — with news filter protection removing the most common source of false signals in smart money strategies.

Automated
Market structure trading
CHoCH and BOS detected and traded without manual input
Protected
News filter shield
News filter eliminates false structure signals
Dual-mode
Trending & reversal
Trending and reversal scenarios in one system
GET IN TOUCH

Ready to build your Smart Money EA?

Whether you need automated CHoCH/BOS market structure recognition, order block liquidity trading, or custom risk management filters for MetaTrader 5 — tell us what you're building. We'll scope it, design it and deliver it to production standard.

Or email info@psi-square.net · Phone +44 (0) 20 3872 7195 · We reply within 24 hours · NDA available on request