The standard deviation channel allows you to visually see the trend in the market using a linear regression calculation. This script has two lower and two upper bounds, with different deviations. Each of these boundaries has an alert when it has been breached.
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.
Want to use this script on a chart?