OPEN-SOURCE SCRIPT

Trend-reversal

This indicator is for detection of trend reversal based on trailing stop (blue line)
the Bullish zone is in blue (red above blue line), bearish zone in orange ( blue line above red line)
gray line is the average of donchian channel
I put the line on 1440 min (so it like daily trailing line) , you can make it shorter if you want .
In this example of BNB coin we see in red arrow that the coin drop from red line so it loosing power -here it sell point during bullish period(blue)
on the other hand when we are in bearish (orange), we can see that the coin is breaking the red line -buy point and the trend is reverse

main script is taken from ceyhun so credit is to him on this
Trend Analysis

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer