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.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.