TradingView
Trendoscope
2021년 4월 17일 오후 6시 31분

Donchian Channel - trend filter 

NATIONAL AUSTRALIA BANK LIMITEDASX

설명

Trend filter created based on donchian channel. I am using my custom donchian channel as base for this indicator:
tradingview.com/script/moBR7PLT-Donchian-Channel-Custom/

Concept is simple.

We count how many times price is hitting donchian channel top or bottom without hitting the other side and keep counter for both. Thus:

upCount is the number of times price hits donchian channel top without hitting bottom
downCount is the number of times price hits donchian channel bottom without hittin top

trendCountLimit is the minimum value of upCount or downCount to call it uptrend or downtrend.

릴리즈 노트

Small change in coloring candles:

Candles are colored in green when uptrend starts by price hitting donchian channel top for trendCountLimit times. Similarly, candles are colored in red when price hits donchian channel bottom for trendCountLimit times. Trend colors are changed to lime/orange if price retraced back to mid of donchian channel. Bars will regain their strong trend color of green and red once they hit top/bottom again.

릴리즈 노트

Show Channel made optional to be able to hide it.

릴리즈 노트

Added options:

코멘트
CodyMaki
broooooo this is so helpful and perfect thank you goes great with my strategy exactly what i have been looking for thanks a million CHEERS!!!!!!
Chakku
Appreciate your work!
Ramnath12
Great...
더보기