OPEN-SOURCE SCRIPT

Chandelier Exit V2 by fr3762 KIVANÇ

Chandelier Exit Version 2 with two lines Long Stop and Short Stop

There is a Chandelier exit for long positions and one for short positions. The Chandelier Exit (long) hangs three ATR values below the 22-period high. This means it rises and falls as the period high and the ATR value changes. The Chandelier Exit for short positions is placed three ATR values above the 22-period low. The spreadsheet examples show sample calculations for both.


According to the theory, traders should exit long positions at either the highest high since entry minus 3 ATRs .
Similarly traders should exit short positions at either the lowest low since entry plus 3 ATRs .

Developed by Charles Le Beau and featured in Alexander Elder's books, the Chandelier Exit sets a trailing stop-loss based on the Average True Range (ATR). The indicator is designed to keep traders in a trend and prevent an early exit as long as the trend extends. Typically, the Chandelier Exit will be above prices during a downtrend and below prices during an uptrend.

The author, Chuck LeBeau explains: It lets "... profits run in the direction of a trend while still offering some protection against any reversal in trend."



The exit stop is placed at a multiple of average true ranges from the highest high or highest close since the entry of the trade.

Chandelier Exit will rise instantly whenever new highs are reached. As the highs get higher the stop moves up but it never moves downward.

The Chandelier Exit is mostly used to set a trailing stop-loss during a trend. Trends sometimes extend further than we anticipate and the Chandelier Exit can help traders ride the trend a little longer. Even though it is mostly used for stop-losses, the Chandelier Exit can also be used as a trend tool. A break above the Chandelier Exit (long) signals strength, while a break below the Chandelier Exit (short) signals weakness. Once a new trend begins, chartists can then use the corresponding Chandelier Exit to help define this trend.



Developer: Charles Le Beau

Here's the link to a complete list of all my indicators:
tr.tradingview.com/u/KIVANCfr3762/


Şimdiye kadar paylaştığım indikatörlerin tam listesi için: tr.tradingview.com/u/KIVANCfr3762/

Average True Range (ATR)

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?


Telegram t.me/AlgoRhytm

YouTube (Turkish): youtube.com/c/kivancozbilgic

YouTube (English): youtube.com/c/AlgoWorld
Również na:

Wyłączenie odpowiedzialności