Chandelier Exit (Heiken Ashi)
Category: trend, volatility
A modified Chandelier Exit using Heiken Ashi candle prices and a custom ATR calculation to determine trend reversals and trailing stop levels.
Formula
ATR_{val} = ATR_{HA} \times Mult \\ LongStop = \max(HA\_Close, Period) - ATR_{val} \\ ShortStop = \min(HA\_Close, Period) + ATR_{val} \\ Signal_{Buy} = (HA\_Close > ShortStop_{prev}) \text{ and } (Dir_{prev} = -1) \\ Signal_{Sell} = (HA\_Close < LongStop_{prev}) \text{ and } (Dir_{prev} = 1)
Inputs
- ATRPeriod (default: 1)
- ATRMult (default: 0.75)
See signal primitives and every published strategy that uses Chandelier Exit (Heiken Ashi) on WOBR StrategyVerse.