OPEN-SOURCE SCRIPT

Chandelier Exit | SAR/Long Only (4CUP)

As introduced by StockCharts.com, Chandelier Exit was developed by Charles Le Beau and featured in Alexander Elder's books, this sets a trailing stop-loss based on the Average True Range (ATR).

Chandelier Exit can be formulated as a stop-and-reverse (SAR) or as a traditional trailing stop-loss version shown by Stockcharts.com.

The main difference is that, in SAR version, the indicator is usually formulated in a higher of previous or spot indicator (HPS) for long and lower of previous and spot indicator (LPS) for short position.
This indicator is coded to show both the SAR version and the traditional one shown by Stockcharts.com (for long position) by simply clicking a tick in the Version box.

The ATR multiplier is relaxed to allow non-integer input, like 3.5, 4.25, ... for a greater flexibility to tailor your best-fit exit strategy.


If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.
ATRAverage True Range (ATR)chandelierexitSARstoplossVolatility Stop

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian