OPEN-SOURCE SCRIPT

Donchian Trend Ribbon

已更新
Hello Traders,

I think you all know Donchian Channels. so I am not going to write about it.

With this indicator I tried to create Donchian Trend Ribbon by using Donchian Channels.

How it works ?
- it calculates main trend direction by using the length that is user-defined. so you can change it as you wish
- then it calculates trend direction for each 9 lower lengths. if you set the length = 20 then the lengths are 19, 18,...11
- and it checks if the trend directions that came from lower lengths is same or not with main trend direction.
- it changes the trend color of the ribbon.
-

Warning: Entry points may also represents trend reversal. So you should use stoploss line if you decide to take buy/sell positions.


P.S. I didn't backtest it, it's non-repainting, it should be used educational purposes only.

Published by user request. You may want to see following one:
Donchian Trend



Enjoy!
發行說明
"transp" removed.
發行說明
updated
Breadth IndicatorsDonchian Channels (DC)heatmaplonesomethebluepivotsupportSupply ZoneSupport and Resistancetrendfollowingtrendreversaltrendtrading

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明