What is Volatility Index?
The Volatility Index draws a stop level that trails price, below it in an uptrend and above it in a downtrend. In an uptrend the stop sits three average true ranges below the highest close since the trend began; in a downtrend, three ATRs above the lowest close. When price closes through the stop, the trend flips and the stop moves to the other side of price.
The Volatility Index is a trailing stop that adapts to volatility. Despite the name it is not a measure of market volatility in its own right, it does not accelerate as a trend ages, and it is always either long or short.
How to use Volatility Index
- Stop below or above. A stop under price means an uptrend, a stop above it means a downtrend.
- The flip. A close through the stop switches the trend. It confirms that price has moved against the trend by more than the ATR multiple.
- As a trailing stop. Within a trend the stop follows the best close. It is not locked in place: when the ATR rises, the stop can move back, away from price.
- Volatility gives room. When the ATR rises, the stop sits further from the best close, so the trend is given more room than a fixed-distance stop would give it.
These are ways to read the stop, not entry signals on their own.
Settings
| Setting | Default | What it changes |
|---|---|---|
| Periods | 10 | Bars in the average true range. Lower reacts faster to changes in volatility; higher is steadier. Minimum 1. |
| ATR Mult | 3 | How many ATRs the stop sits from the best close. Lower hugs price and flips more often; higher gives trends more room. Range 0.001 to 100. |
| Method | Wilder Smoothing | How the true range is averaged. Wilder Smoothing is Wilder's recursion, started from the simple average of the first Periods true ranges; SMA is a plain average of the true range over Periods bars. |
Adjust the ATR length, multiplier and averaging method in the indicator settings. The stop always works from closing prices.
Calculation
The stop is a multiple of the average true range away from the most extreme close since the last flip, both taken from the previous bar:
ATR = Wilder's smoothing of true range over 10 bars
(simple average with Method SMA)
arc = 3 * previous bar's ATR
uptrend: stop = previous bar's highest close since flip - arc
downtrend: stop = previous bar's lowest close since flip + arc
close below the stop in an uptrend flips to a downtrend
close above the stop in a downtrend flips to an uptrend
on a flip: the best close restarts at that bar's close
With Wilder Smoothing the ATR is started from the simple average of the first 10 true ranges. On the first bar the true range is the bar's high minus its low, since there is no previous close. Until the ATR has a value, the previous bar's true range stands in for the whole distance, without the multiplier, so the stop appears from the second bar rather than 10 bars late.
The first bar starts in an uptrend with the best close set to that bar's close, and no stop is drawn on it. On every flip the best close resets to the current close.
Because the stop is measured from the previous bar's ATR rather than held at its best level, a rise in the ATR can move it away from price within a trend. There is no rule that keeps it from loosening.
Limitations
- It is always in a trade. There is no neutral state, so a sideways market produces repeated flips.
- It lags. A flip needs a close three ATRs back from the best close, so it confirms a reversal well after it has begun.
- The warm-up is rough. Until the ATR has 10 bars, the distance is a single bar's true range without the multiplier, so early stops can be unusually tight or wide.
- History affects it. Each value depends on every earlier bar, so a chart with more history loaded can show a different stop until the two versions flip at the same point.
- The live candle can flip. The current bar's close can cross the stop and back while the bar is live; the flip only settles at the close.
Frequently asked questions
The Volatility Index here is Wilder's volatility system, a trailing stop set a multiple of the average true range away from the best close since the trend began. It sits below price in an uptrend and above it in a downtrend, and flips when price closes through it.
No. It uses the [average true range](/charts/library/indicator/atr) to place a stop, but what it plots is a price level, not a volatility reading. To see volatility itself, use the ATR or one of the historical volatility indicators.
Parabolic SAR closes in faster the longer a trend runs, whatever the volatility. The Volatility Index does not accelerate. It follows the best close and keeps its distance as a multiple of the ATR. SuperTrend also uses the ATR, but measures from each bar's midpoint rather than from the best close since the flip.
Yes. The indicator declares three inputs: Periods, default 10 with a minimum of 1; ATR Mult, default 3, from 0.001 to 100; and Method, default Wilder Smoothing, with SMA as the alternative. Open the indicator's settings on the chart to change them. The stop always uses closing prices.
Closed bars are not revised. The live bar's close can cross the stop and back before the bar closes, so a flip is only confirmed at the close. Because each value depends on all earlier bars, loading older history can also change the stop until the next flip that both versions share.