Trendoscope

Donchian Channel - trend filter

Trendoscope Wizard アップデート済   
Trend filter created based on donchian channel. I am using my custom donchian channel as base for this indicator:

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:

  • UseBinaryTrend : Trend is either green/lime or red/orange. Silver bars are colored with previous trend.
  • UseAdoptive: Option to use adoptive donchian as per script:

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?