Market Structure Break Signals MT4
- Indicateurs
- Mattia Marco Platania
- Version: 1.0
Limited-time free release: Market Structure BOS CHOCH Signals is free while MetaCoderStore collects real trader feedback. Please leave a comment if you want extra filters, alert styles, or scanner behavior in the next update.
Market Structure BOS CHOCH Signals marks structural continuation breaks and change-of-character reversal breaks directly on the chart, then exposes stable buffers for EAs and dashboards.
Use cases
- Identify bullish or bearish break of structure after confirmed swing highs and lows.
- Spot CHOCH events where price breaks against the prior structure direction.
- Filter liquidity sweeps, FVGs, order blocks, and breakout setups with objective structure context.
- Feed BOS and CHOCH signals into an EA, alert workflow, or multi-symbol scanner.
What it shows
- Green up arrows for bullish BOS continuation breaks.
- Red down arrows for bearish BOS continuation breaks.
- Blue up arrows for bullish CHOCH reversal breaks.
- Gold down arrows for bearish CHOCH reversal breaks.
- Hidden buffers for the broken level, trend direction, signal direction, and signal type.
Main features
- Fractal-style swing detection with separate left/right swing depth inputs.
- Close-based or wick-based break confirmation.
- Closed-bar-only mode to avoid acting on incomplete live candles.
- Optional visual markers, so EA users can hide arrows while keeping buffers active.
- No DLLs, no external files, no account locks, and no symbol restrictions.
Basic use steps
- Attach the indicator to a clean chart, usually M5 to H1 for intraday structure.
- Use SwingLeftBars and SwingRightBars to match your preferred swing sensitivity.
- Treat BOS as continuation context and CHOCH as a possible reversal context.
- Combine the signal with your own risk model, session filter, liquidity zone, or higher-timeframe bias.
Inputs
- SwingLeftBars: older bars required on the left side of a confirmed swing.
- SwingRightBars: newer bars required on the right side of a confirmed swing.
- UseCloseBreak: true requires candle close beyond the structure level; false allows wick breaks.
- ConfirmClosedBarsOnly: true suppresses current open-bar signals.
- MaxCalculatedBars: limits historical work for faster loading; 0 calculates all available bars.
- ShowSignalMarkers: shows or hides the chart arrows while buffers remain available.
Buffers for EA integration
- Buffer 0: bullish BOS marker price, or EMPTY_VALUE.
- Buffer 1: bearish BOS marker price, or EMPTY_VALUE.
- Buffer 2: bullish CHOCH marker price, or EMPTY_VALUE.
- Buffer 3: bearish CHOCH marker price, or EMPTY_VALUE.
- Buffer 4: broken structure level price.
- Buffer 5: trend direction: 1 bullish, -1 bearish, 0 unknown.
- Buffer 6: signal direction: 1 bullish break, -1 bearish break, 0 no signal.
- Buffer 7: signal type: 1 bullish BOS, -1 bearish BOS, 2 bullish CHOCH, -2 bearish CHOCH.
Risk note
This indicator is a structure visualization and signal tool. It does not predict future price movement and it does not manage risk. Always test settings on historical and demo data before using them in a live trading plan.
