grafman

Regression Channel Trend Detection

This is a regression channel that uses ichimoku to determine trend. The sensitivity is customizable. The centerline will change color according to the trend detected by ichimoku, and each line can act as support/resistance. The bands of the channel also change colors according to how far price is getting away from them. If you notice in this example, the lower band is turning orange when the price is getting too far away from it, suggesting that it may have risen too fast and too soon. This is still in testing so feel free to comment with any suggestions or fixes.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?