everget

Chandelier Exit

This is a redesign of the Chandelier Exit indicator. It removes stupid transitions between Chandelier Exit' states and highlights initial points for both lines.

This indicator was originally developed by Charles Le Beau and popularized by Dr . Alexander Elder in his book "Come Into My Trading Room: A Complete Guide to Trading" (2002).

In short, this is a trailing stop-loss based on the Average True Range (ATR).
Versionshinweise:
  • Added Buy/Sell alerts
  • Added Buy/Sell labels
Versionshinweise:
  • Fix erratum
Versionshinweise:
  • Updated to v4
Versionshinweise:
  • Added long/short state highlighting
Versionshinweise:
  • Update
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?
A list of Free indicators:
https://bit.ly/2S7EPuN

A list of Paid indicators:
https://bit.ly/33MA81f

Earn $30:
https://www.tradingview.com/gopro/?share_your_love=everget

Toss a coin to your witcher:
https://www.paypal.me/alexeverget

Kommentare

Dear sir, which timeframe is the best for BTCUSD(bybit) leverage trading? ☺
+16 Antworten
everget ARSAlgo
@ARSAlgo, I would advise the honourable gentleman to write a strategy version for the given indicator and check
+9 Antworten
What happened here?
+9 Antworten
everget alskdj
@alskdj, longStop = highest(high) - atr
+5 Antworten
alskdj everget
@everget, "longStop = highest(high) - atr" wont do the trick - Cannot call 'highest' with arguments (series); available overloads: ...

longStop = highest(high, lenght) - atr
gives the same result because it asks for the same data.
+2 Antworten
everget alskdj
@alskdj, I will look
Antworten
This script has a little problem that makes it impossible to use for stop loss order placement.

Lets hope this makes sense :) :

It wont close the position when long exit (SL price) is hit. It waits one more additional bar and then it's close at the end IF, this new bar close is below the SL level.

So, if it's a 30 min bar, we are at bar #1 - price drops down below stop loss price line (SL should be executed and is if you used this price)
Script flashes the Sell signal, price moves up, signal is gone (completely acceptable behaviour for some type of indicator scripts but not for stop orders)

Then, bar #1 closes above the SL level.

Next bar, bar #2, opens and drops below the SL price, Sell signal is flashed again,
and ONLY if bar #2 closes below SL, Sell signal becomes permanent.

Now, to use that, I have to use "on bar close" for my alert and in this example, it's close to 1 h later the SL price was crossed. Smells like serious disaster. :)

There is no option available to make it behave like real world SL would.

So, if you use the SL levels as indicators for SL orders, you will end up being stopped out and the script continues as it was still long. So, it goes out of sync with the real world.
+3 Antworten
everget alskdj
@alskdj, Hi, thank you for the feedback. I will figure out and fix that issue when I have a free time
Antworten
sikander28 everget
@everget, @alskdj if you uncheck the "Use close Price for Extremums ?" box within the indicator settings. you will see the results you are expecting. @everget has done an excellent job coding the Chandelier Exit indicator which was originally developed by Charles Le Beau and popularized by Dr . Alexander Elder in his book "Come Into My Trading Room: A Complete Guide to Trading" (2002).
Antworten
any chance you could help "fix" this for pine ver 4? :/
+3 Antworten