OPEN-SOURCE SCRIPT

FiboDonchian

Donchian channels were developed by Richard Donchian, the father of trend following. The two outer bands are plotted as the highest high and lowest low for a set period of time.

In the FiboDonchian, the channel is divided into 3 zones according to Fibonacci levels:
0-0.382 (Bullish Zone)
0.382-0.618 (Neutral Zone)
0.618-1(Bearish Zone)

These levels will usually act as support and resistance during trends, and will reverse depending on the direction of the trend (e.g. in an uptrend the .382 is above the .5 and during a downtrend it is below).

An option to color candles according to the trend is given, with the following logic:
-During uptrends, candles will turn bullish when a new high is made and will remain in this state as long as price closes in the upper zone. Below this zone price turns neutral until a new high or low is made.
-During downtrends, candles will turn bearish when a new low is made and will remain like this provided that price closes in the lower zone. Above this zone price turns neutral until a new low or high is made.

Enjoy!!
Trend Analysistrendfollowing

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


@FractalTrade_
Juga pada:

Penafian