chandelierlong
Chandelier exit (long)
chandelierlong(length, multiplier)
Highest high minus multiplier × ATR. Trail for longs. Default length 14, multiplier 3. Sister: chandeliershort.
Parameters
| Name | Type | Description |
|---|---|---|
length | int default 14 | Lookback in bars. Default 14. |
multiplieroptional | float default 3 | ATR multiple. |
Return value
series
Example
cl = chandelierlong(22, 3) plot cl as "Chandelier long" when close crosses below cl then exit