PROTECTED SOURCE SCRIPT
Aktualisiert Normal Dist Deviation Levels

This indicator shows where the current price sits within a normal-distribution “sigma” framework and projects those levels as short, local reference lines rather than full trailing bands.
- It first calculates a moving average (SMA or EMA, user-selectable) over a chosen lookback length and the corresponding standard deviation of price around that mean. The mean is treated as the 0σ level, and fixed price levels are computed at ±1σ, ±2σ, and ±3σ from that mean for the most recent bar.
- For each of these sigma prices, the script draws a short horizontal segment that spans only a limited number of candles into the past and into the future, giving clean local “price bars” instead of bands across the entire chart. The colors and line styles differentiate 0σ (blue), ±1σ (solid), ±2σ (dashed), and ±3σ (dotted), visually marking moderate to extreme deviations from the mean.
- To make interpretation easier, the indicator also places text labels to the right of the price bars, a couple of candles ahead of the line ends. Each label shows both the statistical region and its approximate normal-distribution probability, such as “50% (0σ)”, “15.87% (+1σ / -1σ)”, “2.27% (+2σ / -2σ)”, and “0.14% (+3σ / -3σ)”, so you can quickly see how unusual the current deviation is in probabilistic terms.
Versionshinweise
This indicator shows where the current price sits within a normal-distribution “sigma” framework and projects those levels as short, local reference lines rather than full trailing bands.- It first calculates the mean over a chosen lookback length and the corresponding standard deviation of price around that mean. The mean is treated as the 0σ level, and fixed price levels are computed at ±1σ, ±2σ, and ±3σ from that mean for the most recent bar.
- For each of these sigma levels, the script draws a short horizontal segment that spans only a limited number of candles into the past and into the future, giving clean local “price bars” instead of bands across the entire chart. The colors and line styles differentiate 0σ (blue), ±1σ (solid), ±2σ (dashed), and ±3σ (dotted), visually marking moderate to extreme deviations from the mean.
- To make interpretation easier, the indicator also places text labels to the right of the price bars, a couple of candles ahead of the line ends. Each label shows both the statistical region and its approximate normal-distribution probability, such as “50% (0σ)”, “15.87% (+1σ / -1σ)”, “2.27% (+2σ / -2σ)”, and “0.14% (+3σ / -3σ)”, so you can quickly see how unusual the current deviation is in probabilistic terms.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.