TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
Trading Indicators

Williams %R vs. Stochastic Match the Scale Before You Compare Signals

Use the same 44 synthetic MES candles to compare the native readings, then switch to the view that includes a three-bar average.

Quick Answer

With the same price bars and lookback, Williams %R equals raw Stochastic %K minus 100. Williams −20 matches raw %K 80, and Williams −80 matches raw %K 20. If a chart shows different timing, check whether the Stochastic line is smoothed.

See the comparison chartCheck the threshold timingMatch chart platform settings

Calculate both indicators from one price range

At each completed bar, find the highest high and lowest low over the last 14 candles, including the current candle. Raw %K is 100 × (close − low) ÷ (high − low). Williams %R is 100 × (close − high) ÷ (high − low). Subtracting one full range from the numerator lowers the result by 100. If the high and low are equal, this exercise leaves both values blank.

At A, 10:10 ET, the 14-bar high is 6,005.00, the low is 6,000.50, and the close is 6,001.00. The close is 0.50 points above the low in a 4.50-point range, so raw %K is 11.11. It is also 4.00 points below the high, so Williams %R is −88.89. The difference is the scale.

Three closes from the same 14-bar lookback rule
Close ETPrice%RRaw %K3-bar %K
A · 10:106,001.00-88.8911.1152.83
B · 10:206,000.25-95.005.007.12
C · 10:356,001.50-70.0030.0018.33

Same MES price bars, two views of the oscillator

Synthetic MES 5-minute candles. Times are bar closes in ET.

The blue line is raw Stochastic %K on a 0–100 scale. The gold line is Williams %R on a −100–0 scale. Their distance is 100 on every completed bar. At A the readings are 11.11 and −88.89. Both indicate a close near the low end of the same range.

Why a smoothed Stochastic threshold can arrive later

At A, %R is already below −80 and raw %K is below 20. The three-bar average of raw %K still reads 52.83 because the previous two raw readings were higher. At 10:15 the smoothed line is 28.27. It crosses below 20 at B, ten minutes after the raw line.

At C, 10:35 ET, %R is −70 and raw %K is 30. Both have left their lower bands. The smoothed %K is 18.33 and does not close above 20 until 10:40. A rule that depends on the smoothed line acts at a different time from one based on the raw line.

Choose the line before replay. If both plots use the same underlying range and one is unsmoothed, applying matching thresholds to %R and raw %K tests the same condition. Use a separate price or risk rule to test whether a qualifying reading is actionable.

Check which Stochastic line your platform displays

In TradingView, add Williams %R and the built-in Stochastic. Set Williams Length to 14 and Source to Close. In Stochastic, set K to 14 and Smooth to 1. Compare the %K plot with Williams %R plus 100 on the same completed bar. Changing D changes the separate %D plot.

To reproduce this exercise’s smoothed line, change Stochastic Smooth to 3 and keep the K period at 14. In NinjaTrader Desktop, compare the K plot of Stochastics Fast with Williams %R at the same lookback. Check the settings, session, symbol and bar type before comparing screenshots from different platforms.

Stoch RSI is a separate indicator that applies a range calculation to recent RSI values. The translation in this guide assumes both indicators use the same recent price highs and lows and the same close.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView’s Williams %R calculationCheck the negative scale and the default lookback and source.TradingView’s Stochastic inputsVerify that Smooth 1 removes extra %K smoothing.NinjaTrader’s system indicator referenceFind Stochastics Fast and Williams %R.
Related Guides

Keep Building the Rule System

Work through a Stochastic %K and %D crossover

Compare a crossover, a move below 80 and a separate price break.

Compare Stoch RSI with RSI

Use the recent range of RSI rather than the range of prices.

FAQ

Common Questions

Is Williams %R the same as Fast Stochastic?

With the same input prices and lookback, Williams %R equals unsmoothed Stochastic %K minus 100. A smoothed K or D line can differ.

What is the Williams %R equivalent of Stochastic 80 and 20?

An unsmoothed %K of 80 corresponds to Williams %R of −20. A %K of 20 corresponds to Williams %R of −80.

Why do my Williams and Stochastic lines disagree?

Check both lookbacks, the Stochastic smoothing and the plot name. Compare a completed bar on the same chart, then shift Williams %R up by 100.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.