OPEN-SOURCE SCRIPT
Aggiornato Standard Deviation (+OB Pressure)

Standard Deviation (+ Order Book Pressure)
======================================================
This is a TradingView indicator that draws:
- A smoothed moving average in the middle (actually RMA of your chosen
source over "Length" bars -- not a simple SMA despite the script name).
- Bands at 1 through 6 standard deviations above and below that line,
using the same length for the standard deviation. You can limit how
many sigma levels show (1 to 6) with "Max Sigma Level".
- Optional shading between +1σ and -1σ ("Fill ±1σ Zone").
- Optional text labels on the right (last bar) for MA and each visible
sigma line ("Show Labels").
MAIN SETTINGS
-------------
Length Bars for RMA and standard deviation (default 20).
Source Price series (default close).
Max Sigma Level How many ±σ lines to draw (1-6).
Fill ±1σ Zone On/off for the band between +1σ and -1σ.
Show Labels On/off for MA and σ labels on the last bar.
Colors Center line, positive-side bands, negative-side bands.
LIMITS / NOTES
--------------
- max_bars_back and max_labels_count are set to 500 in the indicator
declaration.
- Triangle labels are refreshed on confirmed bars to avoid clutter.
For questions about interpretation, this is a volatility-band tool around
a smoothed average with an optional synthetic pressure marker -- not
financial advice.
======================================================
This is a TradingView indicator that draws:
- A smoothed moving average in the middle (actually RMA of your chosen
source over "Length" bars -- not a simple SMA despite the script name).
- Bands at 1 through 6 standard deviations above and below that line,
using the same length for the standard deviation. You can limit how
many sigma levels show (1 to 6) with "Max Sigma Level".
- Optional shading between +1σ and -1σ ("Fill ±1σ Zone").
- Optional text labels on the right (last bar) for MA and each visible
sigma line ("Show Labels").
MAIN SETTINGS
-------------
Length Bars for RMA and standard deviation (default 20).
Source Price series (default close).
Max Sigma Level How many ±σ lines to draw (1-6).
Fill ±1σ Zone On/off for the band between +1σ and -1σ.
Show Labels On/off for MA and σ labels on the last bar.
Colors Center line, positive-side bands, negative-side bands.
LIMITS / NOTES
--------------
- max_bars_back and max_labels_count are set to 500 in the indicator
declaration.
- Triangle labels are refreshed on confirmed bars to avoid clutter.
For questions about interpretation, this is a volatility-band tool around
a smoothed average with an optional synthetic pressure marker -- not
financial advice.
Note di rilascio
Draws: - Middle RMA
- Bands at (n)-standard deviations above and below the Mean
- Optional shading between +1σ and -1σ ("Fill ±1σ Zone").
- Optional text labels on the right (last bar) for MA and each visible
sigma line ("Show Labels").
MAIN SETTINGS
-------------
Length Bars for RMA and standard deviation (default 20).
Source Price series (default close).
Max Sigma Level How many ±σ lines to draw (1-6).
Fill ±1σ Zone On/off for the band between +1σ and -1σ.
Show Labels On/off for MA and σ labels on the last bar.
Colors Center line, positive-side bands, negative-side bands.
LIMITS / NOTES
--------------
- max_bars_back and max_labels_count are set to 500 in the indicator
declaration.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.