Skip to content
MT5MT4soonTradingViewsooncTradersoonNinjaTradersoonPythonsoon
Volatility & ranges

Volatility filter

Also called ATR filter, Volatility condition, Range filter

A volatility filter is a rule that lets you trade only when the market is moving a set amount, not too little and not too much. Most traders measure this with the Average True Range (ATR), the average size of recent candles, or by trading only in busy hours.

Every strategy assumes the market will move a certain amount. In a dead market the target never comes. During a spike, a normal stop can be hit inside one candle. A volatility filter checks the market's movement before you look at direction, so you only risk money when conditions match your plan.

What a volatility filter measures before you enter

The most common gauge is the Average True Range (ATR). It is the average size of recent candles, and it counts any gap from the previous close. Other filters use the size of the last candle, the width of Bollinger Bands (bands that widen as price swings more), or the time of day.

A filter can have a floor, a ceiling or both. The floor skips quiet markets, where the spread and small random moves eat a small target. The ceiling skips wild markets, where ordinary swings hit your stop. The chart below shows this: new trades are allowed only while ATR stays between the two lines.

ATR moving below, inside and above a volatility filter's limitsIllustration
ATR (14), pipsCeiling 16 pipsFloor 10 pipsToo quiet: skipInside: trades allowedToo wild: skip

The filter does not tell you whether to buy or sell. That is a trend filter's job, and many traders use both together.

How the filter changes one EURUSD trade

The figures in this example are for illustration only. You have a $10,000 account and risk 1%, which is $100. Your plan uses a 20-pip stop and a 40-pip target on the 1-hour chart. On EURUSD, one standard lot is worth $10 per pip, so your size is $100 ÷ (20 × $10) = 0.50 lots. Your filter allows trades only when ATR is between 10 and 16 pips. The 10-pip floor comes from the floor rule further down: 40 ÷ 4 = 10 pips.

  • ATR 5 pips: the filter blocks the trade, because 5 is below the 10-pip floor. The floor exists for cases like this: your target would be 40 ÷ 5 = 8 average candles away.
  • ATR 12 pips: the stop is 20 ÷ 12 ≈ 1.7 average candles away, and the target is about 3.3. The trade passes.
  • ATR 25 pips: the filter blocks the trade, because 25 is above the 16-pip ceiling. Your 20-pip stop is smaller than one average candle.
A 20-pip stop and 40-pip target measured in average candles at ATR 5, 12 and 25 pips on EURUSD 1-hour
The stop and target stay the same in pips. Only the candle size changes, and with it how many candles away they are.

The alternative to a ceiling: size the stop from ATR. Instead of skipping the wild market, you can widen the stop to 2 × 25 = 50 pips and cut your size to $100 ÷ (50 × $10) = 0.20 lots. You still risk $100, but with a smaller position. The calculation below shows both sizes.

Position size for a $100 risk with a 20-pip and a 50-pip stop on EURUSD
Risk in money$10,000 × 1%= $100
Lots with a 20-pip stop$100 ÷ (20 × $10)= 0.50
Lots with a 50-pip stop$100 ÷ (50 × $10)= 0.20
Order size with the wider stop0.20 lots

Choosing filter levels from real ranges

The IndicatorFree Lab measured 14-period ATR on broker demo data from 2025-10-20 to 2026-10-21. This is past data, not a forecast.

Market, timeframeAverage ATRHalf of candles belowTop 10% above
EURUSD 1-hour11.6 pips10.8 pips16.3 pips
EURUSD 4-hour24 pips22.7 pips32.9 pips
Gold (XAUUSD) 1-hour$21.7$18.8$31.7
Gold (XAUUSD) 4-hour$44.6$38.7$67.9

A simple rule: set your ceiling near the top-10% line for the market and timeframe you trade. On EURUSD 1-hour in this sample, a ceiling of about 16 pips would have blocked roughly the wildest tenth of hours.

For the floor, set it so your target is no more than about 3-4 average candles away: floor ≈ target ÷ 4. With the 40-pip target from the example, 40 ÷ 4 = 10 pips. Treat this as a starting value to test.

A common mistake is reusing one number everywhere. 16 pips is a busy hour on EURUSD, but it means nothing on gold, which is measured in dollars. It is also below average on the EURUSD 4-hour chart. If you want a rule that works across markets, divide current ATR by a longer ATR of the same market. For example, trade only when ATR(14) ÷ ATR(100) is between 0.8 and 1.5. These are starting values to test, not tested settings.

Using the time of day as a volatility filter

Many traders filter by trading session instead of by ATR. The chart below shows the Lab's average 1-hour candle range for EURUSD in each session, using the same 2025-10-20 to 2026-10-21 data (past data, not a forecast).

EURUSD average 1-hour candle range by session, 2025-10-20 to 2026-10-21Illustration
Asian 01:00-09:59
8.8 pips
London morning 10:00-14:59
13.1 pips
London/New York overlap 15:00-18:59
17.9 pips
Late New York 19:00-23:59
10.3 pips

The overlap hours moved about twice as much as the Asian hours. Do not assume the same pattern holds for every market. Gold averaged $21 per hour in Asian hours, which is more than its $18.7 in the London morning. The idea that Asian hours are quiet held for EURUSD in this sample, but not for gold. The hours are broker server time, so check your broker's offset before you copy them.

Checks before you trade with a volatility filter

  • Measure ATR on the same timeframe you use for entries.
  • Check the units. ATR is shown in price units. On EURUSD, 0.00116 = 11.6 pips. On gold, 21.7 = $21.7.
  • Remember that ATR lags. After a spike it stays high for many candles, so it can keep blocking trades after the market has calmed down.
  • Review your floor and ceiling every few months, because volatility shifts over time.
  • Split your past trades into filtered-out and kept. If the filtered-out group made as much per trade as the kept group, the filter only cut your trade count.
  • Keep your risk per trade fixed. The filter decides whether you trade. Your stop distance decides your size.

FAQ

Can a volatility filter keep me out of news spikes?

Not on its own. ATR only rises after the spike candle has formed. To avoid news, block new trades for a fixed number of minutes before and after scheduled releases.

Which timeframe should I use to measure volatility?

Add the daily ATR as a higher-timeframe ceiling on top of your entry-timeframe filter. A rule you can copy: skip 1-hour entries when the daily ATR is in the top 10% of its own past year. This keeps you out of days that are already unusually wild, even when the 1-hour ATR looks normal.

Related terms