OPEN-SOURCE SCRIPT
Stealthy 7 Linear Regression Channel Strategy

This is a Linear Regression Channel tool, similar to the hand tool in the left toolbar, but it automates the drawing. It has a rolling look back. Range mode shorts the upper channel and longs the lower crossover with no closing rules. Trend mode longs the break out and closes at the regression. It draws a linear line between the candles then computes an upper and lower deviation.
I find the tool random. It works sometimes. Eventually I believe Linear Channels will ruin your account. The next time you see someone posting rectangular channels remind them that its all in hindsight. The price won't stay in the rectangle. Every time you get a new candle the regression is redrawn. The range is constantly moving. Not great.
I'm publishing to show that linear regression channel isn't very good and to show people the price won't stay in a range that is tradeable. At the very least you'll have to find superior rules to avoid huge drawdown. I think that price isn't distributed well against a straight line (DUH).
I find the tool random. It works sometimes. Eventually I believe Linear Channels will ruin your account. The next time you see someone posting rectangular channels remind them that its all in hindsight. The price won't stay in the rectangle. Every time you get a new candle the regression is redrawn. The range is constantly moving. Not great.
I'm publishing to show that linear regression channel isn't very good and to show people the price won't stay in a range that is tradeable. At the very least you'll have to find superior rules to avoid huge drawdown. I think that price isn't distributed well against a straight line (DUH).
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.