OPEN-SOURCE SCRIPT
Updated Z Score (Multi-Timeframe)

This indicator plots the Z-score of price based on a user-defined timeframe and length. The Z-score measures how far the current price deviates from its historical mean in terms of standard deviations, making it ideal for identifying overbought and oversold conditions in mean reversion setups.
Features:
Adjustable lookback period and standard deviation thresholds
Selectable source price (e.g., close, hl2, ohlc4)
Multi-timeframe support for higher-timeframe confluence
Clean subgraph layout with visual reference lines at ±1 and ±2 standard deviations
This tool is best used in confluence with other indicators or price action for scalping, swing trading, or momentum fading strategies.
Features:
Adjustable lookback period and standard deviation thresholds
Selectable source price (e.g., close, hl2, ohlc4)
Multi-timeframe support for higher-timeframe confluence
Clean subgraph layout with visual reference lines at ±1 and ±2 standard deviations
This tool is best used in confluence with other indicators or price action for scalping, swing trading, or momentum fading strategies.
Release Notes
This indicator plots the Z-score of price based on a user-defined timeframe and length. The Z-score measures how far the current price deviates from its historical mean in terms of standard deviations, making it ideal for identifying overbought and oversold conditions in mean reversion setups.Features:
Adjustable lookback period and standard deviation thresholds
Selectable source price (e.g., close, hl2, ohlc4)
Multi-timeframe support for higher-timeframe confluence
Clean subgraph layout with visual reference lines at ±1 and ±2 standard deviations
This tool is best used in confluence with other indicators or price action for scalping, swing trading, or momentum fading strategies.
Release Notes
Z Score (Multi-Timeframe) — v1.1 Patch NotesChanged horizontal lines to dashed style for clarity
Increased zero line thickness for better visibility
Set default Z-score color to forest green cause I felt like it.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.