← Back to blog

Volatility Gating Thresholds: How to Set Floors and Ceilings

October 20, 2026
Volatility Gating Thresholds: How to Set Floors and Ceilings

A volatility gate is a filter that blocks entries when the market is too quiet or too wild for your setup. The threshold is the number that flips the gate open or shut. There is no universal right value. The right threshold is the one your own strategy's tested results support, on your instrument and timeframe. This guide shows how to build that gate, which numbers to start testing, and where gates fail.

Scalping-algo
Filter for the Volatility Regime
Scalping-Algo offers TradingView indicators with volatility gating tools for lower-timeframe trading across crypto, forex, indices, commodities, and futures.
Explore the trading tools

TL;DR

  • A gate needs two thresholds: a floor (block compressed markets) and a ceiling (block extreme ones). One number is rarely enough.
  • Percentile bands beat raw ATR values because they adapt to each instrument. Labels like "high" and "extreme" are design choices, not laws.
  • Volatility alone cannot see spread, slippage or news. Add separate execution checks.
  • Test every threshold with slippage included, and size positions from the stop distance, not from a fixed lot.
  • A gate is risk control. It does not promise profit.

Table of Contents

What a volatility gate actually does

A scalper needs range. If a 1-minute candle moves less than your spread plus your target, the trade has no room. A scalper also needs control. When candles stretch far beyond normal, your stop distance balloons and slippage eats the edge.

A gate handles both. It reads a volatility measure, compares it to a threshold, and returns a yes or no. Entries only fire on yes.

Research supports testing this idea, not assuming it. A managed-futures study tested a no-trade filter and a reverse-signal filter above a volatility threshold. It reported better annualized return, drawdown, Sharpe and Calmar ratios across three subperiods from January 4, 1999 through December 31, 2004. That result is historical and specific to managed futures. It does not prove the same filter helps a modern 1-minute crypto or forex system.

Treat the gate as a hypothesis. Your backtest is the judge.

The three thresholds every scalping gate needs

1. The floor: block compressed markets

The floor stops entries when volatility is too low to pay for the trade. Typical symptoms: tight ranges, overlapping candles, signals that trigger and stall.

A practical floor is relative. Rank current ATR against its own recent history and block entries when it sits in the bottom slice. Many traders start testing with the lowest quartile as the cutoff, then move it up or down.

A second floor is absolute and cost-based: require the expected move to be a multiple of your round-trip cost. If spread plus commission is 0.8 pips, a setup that targets 1.5 pips has almost no margin.

2. The ceiling: block extreme conditions

The ceiling stops entries when stop distance and slippage become unacceptable. Think of the minutes around a major data release, a liquidation cascade or a gap open.

The ceiling can be a percentile (for example, top 10% of the lookback) or a multiple of average ATR. Either way, the question is the same: at this volatility, can I still place a stop at a distance that keeps my risk per trade intact?

3. The execution check: block bad fills

This one is not a volatility threshold, but it belongs in the gate. The SEC notes in an investor bulletin on after-hours trading that lower trading interest can widen spreads and make execution less favorable. A volatility reading cannot detect that on its own. Add a spread cap, a session window and a news blackout.

ATR settings: where to start testing

The most common gate input is Average True Range. The table below lists starting points to test, not proven optima. We label them that way on purpose.

ComponentStarting value to testWhat it controls
ATR length14 to 20How fast the reading reacts
Percentile lookback100 to 200 barsWhat "normal" means for this instrument
FloorBottom 20% to 30% of lookbackBlocks dead markets
CeilingTop 5% to 15% of lookbackBlocks spikes
Spread capFraction of expected target, set by youBlocks bad fills
Cooldown1 to 3 bars after a ceiling breachAvoids re-entering mid-spike

For a published reference point, one ATR-percentile filter uses a 14-period ATR and a 200-bar percentile range. It classifies readings below 50 as low volatility, 50 to 75 as high and 75 to 100 as extreme. That documents one indicator's scheme. It does not show these bands work across markets, which is exactly why you should treat labels as adjustable.

For our own walkthrough of ATR 14 to 20 inputs on TradingView, see Volatility Gating Settings for Scalpers.

Why percentile beats raw ATR

Raw ATR is in price units. A 5-point ATR means something different on an index future than on a forex pair or a crypto coin. Even on one instrument, "normal" shifts across sessions and months.

Percentile rank solves that. It asks where today's reading sits within its own recent past, on a 0 to 100 scale. A threshold of 25 means the same thing everywhere: quieter than 75% of recent bars.

The tradeoff is lookback. Too short and the gate chases itself: after an hour of chop, "normal" becomes chop. Too long and it carries stale regimes. Test two or three lookbacks and check that results do not collapse when you change one by a small amount. A threshold that only works at exactly 137 bars is noise.

Pick the volatility measure with care

There is no single true volatility measure. Work by Engle and Gallo shows that daily returns, high-low range and realized volatility capture different information, and that high-frequency measures can be distorted by market microstructure effects.

Practical takeaways for a scalper:

  • ATR uses true range, so it captures gaps. It lags after a sudden shock.
  • Plain candle range (high minus low) reacts faster but ignores gaps.
  • Standard deviation of returns reacts to direction changes and can look calm in a one-way grind.

Range-based measures have some academic backing for trading rules. A 2019 intraday study of Hang Seng index futures examined filter-rule trading and, per the research we reviewed, found range-based realized volatility had stronger predictive power for profit than return-based volatility. One market, one study. Use it as a reason to compare measures, not as a verdict.

A robust gate either compares two measures or audits the chosen one around spreads, gaps and news. For a broader tour of options, read Top Volatility Indicators Every Trader Must Know.

Crypto: implied volatility is context, not a gate

Bitcoin traders sometimes ask whether an implied-volatility index can serve as the threshold. CME describes its Bitcoin Volatility Index family as a real-time index published every second, measuring 30-day constant-maturity implied volatility from regulated Bitcoin and Micro Bitcoin options. The daily version is published at 4:00 p.m. London time.

That is forward-looking context over 30 days. A scalper needs to know about the next few minutes: current range, spread and depth. Use the index to understand the broader regime. Use ATR percentile, spread and liquidity to open or close the gate.

Build and calibrate your thresholds in six steps

  1. Fix the strategy first. Lock entry and exit rules. Do not tune the gate and the signal together, or you will overfit both.
  2. Run the baseline. Record win rate, average win, average loss, profit factor and max drawdown with no gate.
  3. Add the floor alone. Test three levels, for example 20th, 25th and 30th percentile. Note how many trades each removes.
  4. Add the ceiling alone. Test the 85th, 90th and 95th percentile the same way.
  5. Combine and add costs. Include spread, commission and slippage. Our guide on testing three slippage models explains why a scalper's backtest is only as honest as its fill model.
  6. Check stability. Split the data into periods, such as trending months and ranging months. A good gate helps in more than one. If it only helps in one, you have found a regime, not a rule.

Watch the trade count. A gate that removes 80% of trades and improves the average result may be leaving you with too small a sample to trust.

Worked example: reading a gate on a 5-minute chart

Suppose a crypto pair on a 5-minute chart. You use ATR 14 and a 200-bar percentile rank. Your test settings: floor at the 25th percentile, ceiling at the 90th.

  • ATR percentile 18: gate closed. Range is compressed, targets sit inside the noise.
  • ATR percentile 55: gate open. Normal conditions.
  • ATR percentile 93: gate closed, cooldown of two bars starts.
  • ATR percentile 70 but spread has doubled: gate closed by the execution check.

The numbers above are an illustration of the logic, not recommended values. Your instrument may want a different floor entirely.

Sizing: the failure a gate does not catch

A gate may correctly flag a large range while the trader leaves position size unchanged. The result is a bigger dollar loss on a stop that is simply further away.

CME's lesson on calculating futures profit or loss shows that contract size multiplies price movement into very different dollar exposure. Before enabling any automated entry, calculate stop distance, tick value and contract quantity.

A simple rule: risk a fixed dollar amount, divide by stop distance in dollars per unit, and let the position size float. When ATR doubles, size halves. Our post on adaptive TP/SL in TradingView covers scaling stops and targets with volatility.

One more example of how narrow instruments get managed: a gold-only system, such as the one behind this published XAUUSD results page, shows why a single-instrument gate can be tuned tightly while a multi-asset gate needs percentile-based thresholds that adapt.

Sizing: the failure a gate does not catch — overview diagram

Our perspective: gate the regime, then respect the risk

We build scalping tools for 1-minute to 15-minute charts, and volatility gating is one of the pieces traders ask about most. Here is where we land.

First, thresholds are inputs to tune, not truths to copy. Any forum post that says "block everything under X" without naming the instrument, timeframe and cost model is a guess. We prefer adaptive parameters and percentile logic for that reason.

Second, a gate works best as one layer of confluence. A signal that fires only when volatility is in a workable band, momentum agrees and higher-timeframe structure supports it is a better-filtered signal than any single trigger. Our risk gating breakdown shows how those layers stack.

Our perspective: gate the regime, then respect the risk — overview diagram

Third, no gate is a safety net. The SEC's day trading guidance states that day trading is highly risky, and fast software does not remove leverage or execution risk. Use a gate to avoid the conditions you already know are bad. Do not use it as a reason to size up.

Fourth, keep it open to inspection. Our scripts are open source, so you can read how each threshold is computed and change it. Signals are non-repainting and confirmed on candle close, which matters for gating: a gate that repaints will look perfect in a backtest and fail live.

— Tran

Where Scalping-Algo fits

If you would rather not wire the gate, the alerts and the confluence logic by hand, our TradingView suite includes volatility gating alongside non-repainting buy and sell signals, divergence detection, projected TP/SL and Discord webhook alerts. You can start with Smart Scalping Signals, or compare plans on the Scalping-Algo home page: Monthly is $79 per month, Yearly is $799 per year and Lifetime is $1,999 one-off.

For more on how volatility shapes short-term trading, read the role of volatility in scalping.

Common threshold mistakes

  • Copying one number across assets. A raw ATR cutoff that suits one pair breaks on another. Use percentiles.
  • Tuning on one regime. A gate fitted to a trending month can fail in a range.
  • Ignoring time of day. Volatility has a daily rhythm. A floor that blocks the quiet overnight hours may be doing its job, or may be hiding that your strategy only works in one session. Check which.
  • Forgetting news. Scheduled releases spike volatility after the fact. Add a blackout window before and after.
  • Testing without costs. A tight floor looks great until spread and slippage are added back.
  • Treating the gate as proof. Fewer trades is not the same as better trades.

FAQ

What is a good ATR threshold for scalping?

There is no universal number. Start with ATR 14 to 20, rank it as a percentile over 100 to 200 bars, and test a floor near the 20th to 30th percentile. Keep the value that holds up across several market periods, not the one that peaks on a single backtest.

Should I use one threshold or two?

Use two. A floor blocks compressed markets where targets cannot clear costs. A ceiling blocks extreme moves where stops and slippage get out of hand. Add a spread cap as a third check.

Does a volatility filter improve profits?

Sometimes, but it must be tested. Published research on managed futures reported improvements for one market and period. It does not guarantee the same on your 1-minute system, so backtest with realistic costs.

Can I use the Bitcoin volatility index as my gate?

Not by itself. It measures 30-day implied volatility, which is context for the broader regime. A scalping gate needs current-candle range, spread and liquidity data.

How often should I revisit my thresholds?

Review them when the instrument's behavior shifts, such as after a major regime change or a change in your broker's spreads. Re-run your stability test across recent periods before changing anything. Small, documented changes beat frequent overhauls.

Sources