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).
Notas de Lançamento:
  • Added Buy/Sell alerts
  • Added Buy/Sell labels
Notas de Lançamento:
  • Fix erratum
Notas de Lançamento:
  • Updated to v4
Notas de Lançamento:
  • Added long/short state highlighting
Notas de Lançamento:
  • Update
Script de código aberto

No verdadeiro espírito TradingView, o autor deste script o publicou com código aberto, para que os traders possam compreendê-lo e verificá-lo. Um brinde ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para utilizá-lo em um gráfico.

Quer usar esse script no gráfico?
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

Comentários

Dear sir, which timeframe is the best for BTCUSD(bybit) leverage trading? ☺
+16 Resposta
everget ARSAlgo
@ARSAlgo, I would advise the honourable gentleman to write a strategy version for the given indicator and check
+9 Resposta
What happened here?
+9 Resposta
everget alskdj
@alskdj, longStop = highest(high) - atr
+5 Resposta
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 Resposta
everget alskdj
@alskdj, I will look
Resposta
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 Resposta
everget alskdj
@alskdj, Hi, thank you for the feedback. I will figure out and fix that issue when I have a free time
Resposta
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).
Resposta
any chance you could help "fix" this for pine ver 4? :/
+3 Resposta