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.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。