OPEN-SOURCE SCRIPT

ATR Dashboard (Volatility Quantifier)

313
ATR Dashboard

A simple volatility dashboard that displays current ATR values in a compact table in the top-right corner of the chart.

The indicator is designed to make ATR easier to quantify at a glance, especially when developing rules around changing volatility conditions. It displays three independently configurable ATR periods so you can compare short-term, standard, and longer-term volatility.

Features

  • Short ATR – Default length: 5
  • Standard ATR – Default length: 14
  • Long ATR – Default length: 50
  • Displays ATR in both points and ticks
  • Automatically uses the instrument's minimum tick size
  • Configurable table text size
  • Designed to work with TradingView Bar Replay


Short / Long Ratio

The Short / Long row compares the short-term ATR to the long-term ATR:

[code]
Short ATR ÷ Long ATR × 100
[/code]

This provides a quick indication of whether recent volatility is expanding or contracting relative to the longer-term baseline.

For example:

  • 70% – Recent volatility is significantly lower than the longer-term baseline
  • 100% – Recent volatility is approximately equal to the baseline
  • 150% – Recent volatility is about 50% higher than the baseline
  • 200% – Recent volatility is roughly double the baseline


This ratio can be useful for identifying volatility expansion or contraction even before a slower ATR measurement fully reacts.

The dashboard is intended primarily as an observation and rule-development tool. For example, it can help identify conditions such as:

[code]
ATR above X → reduce position size
ATR below X → avoid low-volatility conditions
Short / Long above X% → volatility expansion
[/code]

The default 5 / 14 / 50 settings are simply a starting point and can be adjusted for different instruments, timeframes, or trading styles.

Here's an example of the data table with large text:
תמונת-בזק

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.