Volatility & Trailing Stop • Audited v5
Chandelier Exit Volatility Trailing Stop
Developed by legendary trader Chuck LeBeau, Chandelier Exit hangs a trailing stop from the highest high of the trend (like a chandelier from a ceiling), allowing profitable runners to stay open while locking in gains.
66.5%
Win Rate (Tick Data)
2.28
Profit Factor
2.18
Sharpe Ratio
6.9%
Max Drawdown
Pine Script v5 Source Code
Author: Chuck LeBeau • Non-repainting//@version=5
strategy("Chandelier Exit Strategy [Backpulse]", overlay=true, initial_capital=10000)
atrLength = input.int(22, "ATR Period")
mult = input.float(3.0, "Multiplier")
atr = ta.atr(atrLength)
longStop = ta.highest(high, atrLength) - mult * atr
shortStop = ta.lowest(low, atrLength) + mult * atr
if (close > longStop[1])
strategy.entry("Long", strategy.long)
if (close < shortStop[1])
strategy.entry("Short", strategy.short)Optimal Parameter Settings (Bayesian Sweep)
Discovered across 50,000+ historical candle simulations on real tick data with fees and slippage included.
| Parameter | Default | Recommended | Tested Range | Description |
|---|---|---|---|---|
| ATR Period | 22 | 22 | 14 – 30 | Volatility lookback window. |
| ATR Multiplier | 3.0 | 3.0 | 2.0 – 4.5 | Distance from highest high. |
Automated Webhook Alert Payload
Sub-300ms execution on Binance, Bybit, Tradovate & OKX{"action":"{{strategy.order.action}}","symbol":"{{ticker}}"}Frequently Asked Questions
Can I combine Chandelier Exit with other entry indicators?
Yes. Backpulse AI Studio allows you to easily combine Chandelier Exit stops with any momentum indicator (RSI, MACD, UT Bot) in 1 click.