In the FiboDonchian, the channel is divided into 3 zones according to Fibonacci levels:
0-0.382 ( Zone)
0.382-0.618 (Neutral Zone)
These levels will usually act as 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 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 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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.