OPEN-SOURCE SCRIPT
MTF Std Dev Regression Channels

Multi-Timeframe Linear Regression Channel with Price Labels
Displays linear regression channels from a higher timeframe (default 1-hour) on your current chart. Uses the same calculation method as thinkorswim's standard deviation channels.
Features:
Smooth diagonal channel lines (not stepped) from HTF data
Configurable lookback length and source timeframe
Shows ±0.5σ, ±1σ, ±1.5σ, ±2σ, ±2.5σ, and ±3σ levels
Price axis labels for whole number sigma levels (±1σ, ±2σ, ±3σ)
Chart labels for all levels with 5-bar offset
Line extension options (Right, Left, Both, None)
Fully customizable colors
Perfect for traders who want to monitor higher timeframe regression channels while trading on lower timeframes.
Displays linear regression channels from a higher timeframe (default 1-hour) on your current chart. Uses the same calculation method as thinkorswim's standard deviation channels.
Features:
Smooth diagonal channel lines (not stepped) from HTF data
Configurable lookback length and source timeframe
Shows ±0.5σ, ±1σ, ±1.5σ, ±2σ, ±2.5σ, and ±3σ levels
Price axis labels for whole number sigma levels (±1σ, ±2σ, ±3σ)
Chart labels for all levels with 5-bar offset
Line extension options (Right, Left, Both, None)
Fully customizable colors
Perfect for traders who want to monitor higher timeframe regression channels while trading on lower timeframes.
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.