Market Structure 90
- Indicateurs
-
Ahmd Abrahym Mhmwd Abrahym
I started my career as an Architect, spending 10 years translating complex visions into precise technical realities. Then in 2020, I discovered algorithmic trading — and code became my new blueprint. - Version: 1.0
- Activations: 9
MStructure 90 — ATR Trend & Smart Money Structure Indicator
Non-repainting ATR trend line combined with automatic Market Structure detection (BOS/CHoCH), buy/sell signal arrows, and multi-channel alerts — built for traders who follow price action and structure shifts.
Full Description
MStructure 90 combines two complementary trading concepts into a single, clean tool: a SuperTrend-style ATR trailing line for trend direction, and Smart Money Concepts (SMC) market structure detection for confirming Break of Structure (BOS) and Change of Character (CHoCH) events.
All calculations run strictly on closed bars only — there is no repainting, no signal shifting, and no lookahead. What you see historically is exactly what the indicator would have shown live.
Key Features
- ATR Trend Line — a SuperTrend-style trailing stop with adjustable length, multiplier, and line smoothing. Plots separately colored bull/bear segments for instant visual read.
- Buy / Sell Arrows — clean arrow + label markers on confirmed trend flips.
- Market Structure Detection (BOS / CHoCH)
- Detects pivot highs/lows using a configurable left/right lookback.
- Choice of pivot source: wick (high/low) or body (close) — useful for both standard candles and brick-based charts.
- Distinguishes trend-continuation breaks (BOS, dotted line) from trend-reversal breaks (CHoCH, solid line), each with its own label.
- Optional arrows at the confirming candle's high/low on genuine BOS events.
- Multi-Channel Alerts — popup, sound, push notification, and email, independently toggled for Buy/Sell signals, BOS events, and CHoCH events.
- Fully Customizable Colors & Visibility — toggle the trend line, signal arrows, and structure lines independently without affecting underlying calculations.
- EA-Ready — internal calculation buffers expose trend direction and signal states for use by Expert Advisors via iCustom() , in addition to the visual plots.
Inputs
- ATR Trend Line — length, multiplier, line smoothing, bull/bear colors
- Buy/Sell Signal — show/hide, arrow offset from candle (in ATR units)
- Market Structure — show/hide, pivot source (wick/body), pivot lookback, BOS arrow toggle, structure line width, arrow offset
- Structure Colors — separate BOS and CHoCH colors for bullish/bearish events
- Alerts — independent toggles for Buy/Sell, CHoCH, BOS, and delivery channel (popup/sound/push/email)
Recommended Use
Works on any symbol and timeframe. Because signals confirm only on closed bars, it is well suited to both standard time-based charts and brick-based charts (Renko/Range) where structure and trend context matter more than fixed time intervals.
Notes
- Non-repainting: all signal and structure logic uses closed-bar data only.
- Chart objects (structure lines/labels) are cleared and redrawn on indicator reload — no leftover artifacts from previous sessions.
- Original work; does not depend on or embed any third-party code or libraries.
