OPEN-SOURCE SCRIPT

ATR Ratio Z-Score

479
Volatility regime signal using the ratio of short-term ATR to long-term ATR, then normalizes it using a Z-score.

It measures how unusual the current short-term volatility is relative to long-term volatility.

Conceptually:

Short ATR (5) → recent volatility

Long ATR (20) → baseline volatility

Ratio = Short ATR / Long ATR

If the ratio rises, recent volatility is expanding.
If the ratio falls, volatility is compressing.

Then you standardize it using a Z-score, so you know how extreme the condition is relative to the last 50 periods.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.