LonesomeTheBlue

Donchian Trend Ribbon

LonesomeTheBlue Wizard 已更新   
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:


Enjoy!
版本注释:
"transp" removed.
版本注释:
updated

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?