OPEN-SOURCE SCRIPT

Donchian Channel with Range Addition

Aggiornato
A Donchian Channel with additional zones at places where its range is smaller than a set amount of atr. Thus it kind of combines with Keltner Channel qualities. Purpose is to set a stop loss wide enough to avoid shaking out of a position. The example chart shows a Philips day chart, where I opened position on 16 juli at 37,50 and set the stop loss at low border level 35,60, on 23 juli was an earnings rapport, the wick of the candle shows that quotes went very low, obviously smart traders had to fill a huge order and hunted for stops, triggering my stop closing the position. next days quotes went a lot better, so I missed the fun. The Donchian Channel was too narrow because quotes had ranged in the previous weeks. If I had placed my stop on the additional low, setting it 5 atr below the high border, my stop would have been safe.
Note di rilascio
In the update a recalculation is done if the border of the Donchian Channel changes
Breadth IndicatorsdonchianchannelwidthstoplossTrend AnalysisVolatility

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità