OPEN-SOURCE SCRIPT

Log-Normal Z-Score

524
Log-Normal Z-Score

This Pine Script indicator calculates a modified Z-Score based on log-normal returns, aiming to identify statistically significant price deviations.

Indicator Parameters:
Model Length: The number of bars used to calculate the mean and standard deviation of log returns.

Lookback Length: The number of bars used to compute the lookback return and volatility. This is the main timeframe over which the Z-Score is calculated.

Volatility SMA Length: The smoothing length for the volatility, applying a simple moving average to the calculated volatility.

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.