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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.