
Smart Chandelier Exit
Adaptive trailing-stop indicator for MT5. Plots neon price-following stop lines and filters trend quality via a Pearson R statistical correlation engine.

System Overview
Smart Chandelier Exit (v1.5) is an institutional adaptive trailing-stop and trend-direction indicator engineered for MetaTrader 5. It plots a multi-layer ratchet stop line that follows price—emerald green below price in uptrends, crimson red above price in downtrends—ratcheting strictly in the trend's favor and never loosening against it.
Unlike raw ATR stop lines that only show distance, its built-in Pearson R statistical engine measures rolling price-to-time correlation to quantify genuine trend strength across six regimes (Strong, Moderate, Weak, or Ranging noise) alongside a 50-flip Fake-Flip risk thermometer.
Version 1.5 introduces true execution-bar arrow geometry—placing the non-repainting confirmation arrow on the exact bar where the fake-flip window completes while marking the initial flip bar with a dimmed dot—plus a 1.0 ATR dotted buffered stop line, a Higher-Timeframe (H4) chandelier alignment readout on the draggable dashboard, and 7 dedicated iCustom buffers (Buffers 10–16) for seamless algorithmic integration.
How It Works?
6-Regime Neon Glow Stop Lines
Renders a three-layer halo, corona, and sharp core stop line with a 0.4 ATR danger shadow band that shifts color across 6 Pearson R trend-quality regimes.
Pearson R Trend Quality Engine
Computes rolling statistical correlation between price and time (-1.0 to +1.0) to separate high-conviction institutional trends from choppy consolidation.
Action-Bar Arrow & Flip-Start Dot
Places the non-repainting confirmation arrow on the exact bar a trader can act after the 5-bar fake-flip window, while a dimmed dot marks where the flip began.
One-Way Dotted Buffered Stop
Plots a thin dotted stop line behind the active chandelier line (1.0 ATR default, tested on Gold, EURUSD, and US100) that ratchets strictly toward price.
Higher-Timeframe H4 Alignment
Displays live higher-timeframe chandelier direction on the movable Bloomberg dashboard and optionally filters confirmed arrow alerts for macro agreement.
7 EA iCustom Integration Buffers
Exposes Buffers 10–16 including direction, raw Pearson R, long/short buffered stops, confirmed bar signals, and HTF state for zero-lag EA automation.