Independent market intelligence
Research over noise · Risk before return
CRYPTO INDICATOR GUIDE

Williams %R: the same range position as raw Stochastic

Williams %R describes where a candle closes inside its recent high–low range. With identical inputs, it is raw Stochastic %K minus 100. Three ETH/USDT H4 examples make the shared information, strict thresholds and limits visible.

In simple terms

Match the window and inputs before comparing indicators. Here Williams %R uses 14 consecutive completed H4 candles with valid source close labels, including the selected candle. A reading near zero means a close near the window high; a reading near −100 means a close near its low. Neither position determines the next price move.

On this page
01

Start with the closing position inside a range

Williams %R compares the current close with the highest high and lowest low in a rolling window. It measures range position, not the distance price has travelled, the age of an extreme or traded volume. A high reading can occur after a small move inside a narrow range or a large move inside a wide one.

02

Count 14 observations, including the current candle

Our period is 14 candles: the selected completed candle and its 13 predecessors. HH14 is the highest high in that window; LL14 is the lowest low. This is a different counting convention from the 26-observation Aroon25 example. Here the denominator is the window price range. Repeated equal extremes do not require an age or tie-breaking rule.

HH14_t = MAX(H_(t−13), …, H_t); LL14_t = MIN(L_(t−13), …, L_t)
WR_t = −100 × (HH14_t − C_t) / (HH14_t − LL14_t)

Teaching example: one position, two shifted scales

Teaching example: one position, two shifted scalesSynthetic closeRaw %KWilliams %R1000−10010220−8010550−5010880−201101000
In a synthetic 100–110 window, closes of 100, 102, 105, 108 and 110 give raw %K of 0, 20, 50, 80 and 100, and Williams %R of −100, −80, −50, −20 and 0. These are illustrative prices, not market candles.
03

Williams %R and raw %K contain the same information

For the same close, highs, lows and 14-candle window, Williams %R equals raw Stochastic %K minus 100. Both use the same positive range as denominator. Subtracting 100 moves raw %K from 0–100 to −100–0 without adding another input. Consequently, a Williams %R crossing above −80 and the corresponding raw %K crossing above 20 describe the same event.

RawK_t = 100 × (C_t − LL14_t) / (HH14_t − LL14_t)
WR_t = RawK_t − 100; HH14_t > LL14_t

04

Compare raw %K, not a smoothed Stochastic line

Our Williams %R has no additional smoothing. The Stochastic 14,3,3 guide first averages three raw %K readings to produce slow %K, then averages three slow %K readings for %D. Raw Williams %R therefore generally differs from slow %K minus 100 or %D minus 100. In the synthetic sequence 10, 50, 90, the latest raw %K is 90 and Williams %R is −10, while the three-value slow %K is 50. Subtracting 100 from that average gives −50, not −10.

SlowK_t = SMA(RawK, 3); D_t = SMA(SlowK, 3)

Teaching example: smoothing changes the comparison

Raw %K sequenceLatest raw %KWilliams %R14Slow %K · SMA3Slow %K minus 100
10, 50, 9090−1050−50
With raw %K values 10, 50 and 90, the latest Williams %R is −10. The three-value slow %K is 50; slow %K minus 100 is −50. The direct identity applies to raw %K.
05

Read the scale without assigning a price forecast

With a positive range and valid OHLC inputs, Williams %R lies from −100 to 0. A close at the low gives −100; at the high it gives 0. We use strict lower and upper zones: below −80 and above −20. Exactly −80 or −20 is a boundary, not inside the corresponding strict zone. These conventional zones do not by themselves establish that an asset is cheap, expensive or about to reverse. If HH14=LL14 for the 14-candle window, both Williams %R and raw %K are undefined here.

06

Distinguish a threshold crossing from a continuing state

Our upward −80 crossing requires a defined previous value at or below −80 and a current value strictly above −80 on adjacent completed H4 candles. The same raw %K pair moves from at or below 20 to strictly above 20. Staying above the threshold is a state. This guide does not add an upper limit to that crossing: a jump directly above −20 still qualifies. With positive ranges, the first such comparison is possible on observation 15 of a canonical segment. An unavailable previous value blocks a crossing; we do not bridge it.

WR_prev ≤ −80; WR_t > −80
RawK_prev ≤ 20; RawK_t > 20

07

Use closed observations and retain source quality

The pinned source contains 14,434 Binance ETH/USDT spot H4 candles from 79 monthly archives. Prices are USDT per ETH. There are 2 missing scheduled candles and 11 rows whose original close label does not equal the scheduled final millisecond or microsecond. All raw rows remain in the downloads. A gap or noncanonical row resets the indicator segment; a new value needs 14 consecutive canonical candles. Source close labels are interval metadata, not individual execution timestamps.

08

A completed recovery above −80 on ETH/USDT

The first eligible upward crossing from 2023 onward is available at 2023-01-06 16:00 UTC. Williams %R is −26.20; raw %K is 73.80. Their shifted scales describe one observation. The preceding candle establishes the crossing; five later observed candles provide context only. S marks the fixed completed reference candle. No entry, exit, cost model or account return is calculated.

A crossing above −80 is the same raw %K crossing above 20

A crossing above −80 is the same raw %K crossing above 20Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.ETH/USDT spot · USDT per ETHHH14 / LL141,181.961,207.801,233.641,259.471,285.31Williams %R14−100−80−50−200Raw Stochastic %K140205080100S2023-01-02 08:002023-01-06 12:002023-01-07 08:00

Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.

Select a candle, move the slider or use arrow keys. Prices and oscillator readings display two decimals. S remains on the reference candle; the vertical cursor and detail panel follow your selection. The two indicator scales remain fixed. Undefined values are shown as unavailable.

Interval anchor · UTC
2023-01-06 12:00 UTC
Scheduled interval end · UTC
2023-01-06 16:00 UTC
Original source close label · UTC
2023-01-06 15:59:59.999 UTC
Open
1,243.40
High
1,265.00
Low
1,236.00
Close
1,263.01
Lowest low · 14 candles
1,236.00
Highest high · 14 candles
1,272.60
Williams %R14
−26.20
Raw Stochastic %K14
73.80
Canonical source close label
Yes
First eligible case, available 2023-01-06 16:00 UTC. Actual ETH/USDT candles are above, Williams %R is in the middle and raw %K below. The two oscillator traces have the same shape on shifted fixed scales. S marks the completed reference candle.
09

A rising reading can remain below −80

At 2023-02-10 08:00 UTC, Williams %R is −84.27 and raw %K is 15.73. Williams %R has increased from its previous value but remains strictly below −80. Rising inside the lower zone is different from crossing out of it. A higher reading can reflect the changing rolling range as well as the close; inspect the candles and current range limits.

An increase inside the lower zone is not a crossing out

An increase inside the lower zone is not a crossing outCandles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.ETH/USDT spot · USDT per ETHHH14 / LL141,469.211,531.581,593.961,656.331,718.70Williams %R14−100−80−50−200Raw Stochastic %K140205080100S2023-02-06 00:002023-02-10 04:002023-02-11 00:00

Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.

Select a candle, move the slider or use arrow keys. Prices and oscillator readings display two decimals. S remains on the reference candle; the vertical cursor and detail panel follow your selection. The two indicator scales remain fixed. Undefined values are shown as unavailable.

Interval anchor · UTC
2023-02-10 04:00 UTC
Scheduled interval end · UTC
2023-02-10 08:00 UTC
Original source close label · UTC
2023-02-10 07:59:59.999 UTC
Open
1,543.23
High
1,552.88
Low
1,529.36
Close
1,551.70
Lowest low · 14 candles
1,524.40
Highest high · 14 candles
1,697.91
Williams %R14
−84.27
Raw Stochastic %K14
15.73
Canonical source close label
Yes
First eligible case, available 2023-02-10 08:00 UTC. Williams %R is higher than on the preceding candle but remains below −80. Raw %K remains below 20. The later candles are context, not evidence of a profitable trade.
10

The upper zone can persist for several candles

At 2023-01-04 16:00 UTC, Williams %R is −13.75 and raw %K is 86.25. The selected candle and its three immediately preceding H4 candles all have Williams %R strictly above −20. This four-candle state is selected by a fixed rule, without looking for a later price reversal. A reading in the upper zone is compatible with continued strength and does not specify a sell time.

Four consecutive readings can remain in the upper zone

Four consecutive readings can remain in the upper zoneCandles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.ETH/USDT spot · USDT per ETHHH14 / LL141,171.931,199.381,226.841,254.301,281.75Williams %R14−100−80−50−200Raw Stochastic %K140205080100S2022-12-31 08:002023-01-04 12:002023-01-05 08:00

Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Connectors join observed readings; no missing candles are added.

Select a candle, move the slider or use arrow keys. Prices and oscillator readings display two decimals. S remains on the reference candle; the vertical cursor and detail panel follow your selection. The two indicator scales remain fixed. Undefined values are shown as unavailable.

Interval anchor · UTC
2023-01-04 12:00 UTC
Scheduled interval end · UTC
2023-01-04 16:00 UTC
Original source close label · UTC
2023-01-04 15:59:59.999 UTC
Open
1,251.59
High
1,258.09
Low
1,241.89
Close
1,255.88
Lowest low · 14 candles
1,204.93
Highest high · 14 candles
1,264.00
Williams %R14
−13.75
Raw Stochastic %K14
86.25
Canonical source close label
Yes
First eligible case, available 2023-01-04 16:00 UTC. Williams %R is above −20 for four adjacent completed candles through S; raw %K is above 80 on those same candles. The price chart and detail panel show the observations without assuming a later reversal.
11

Match arithmetic and displayed precision

Calculations preserve original prices as integers scaled by 100000000 and use exact rational arithmetic for both oscillators and threshold tests. The page displays prices and readings to two decimals. Rounding can hide a small boundary difference, so displayed equality is not used for decisions. Candles are evenly spaced in observed order; any calendar gap is compressed and marked. Indicator connectors join available observations, while unavailable readings break a line. The time labels and detail panel retain exact UTC source metadata.

12

Replay a guide before adding trading rules

For each case we select the first distinct matching H4 candle starting on or after 2023-01-01 UTC. The selected candle and 16 preceding candles must be adjacent and canonical, which supports four fully formed 14-candle readings. Five subsequent observed candles are required for display; selection uses no later price outcome. This source was used in an earlier Ethereum strategy, so the examples are retrospective. Downloads include the pinned inputs, formulas, CSV and separate replay/check scripts. A funded strategy would additionally need execution, exits, position sizing and costs.

python3 williams-guide-replay.py --protocol williams-guide-protocol.json --source-evidence eth-wr-evidence.json --output replay.json
python3 williams-guide-independent-check.py --protocol williams-guide-protocol.json --source-evidence eth-wr-evidence.json --evidence replay.json --report check.json

Frequently asked questions

Is Williams %R raw Stochastic %K minus 100?

Yes, when both use the same close, high–low inputs and lookback window, with a positive range and no extra smoothing. They present the same normalized range position on shifted scales.

Does the identity also hold for slow Stochastic %K or %D?

Generally no. Slow %K and %D average earlier readings. Compare Williams %R with the unsmoothed raw %K before applying that identity.

What do −80 and −20 correspond to on raw %K?

They correspond exactly to 20 and 80. Under our strict definitions, Williams %R below −80 is raw %K below 20; Williams %R above −20 is raw %K above 80. Boundary equality is separate.

Can Williams %R rise while remaining in its lower zone?

Yes. Moving from −95 to −85 is an increase but remains strictly below −80. Crossing above −80 requires the current value to be strictly greater than that boundary.

How do you handle a completely flat 14-candle range?

If the highest high equals the lowest low, the shared denominator is zero. Both readings are unavailable. We do not replace them with 0, −50 or a previous value, and a crossing cannot bridge that unavailable reading.

Does Williams %R above −20 mean it is time to sell?

No. It describes a close near the rolling high under the selected window. It can persist for several candles. A trade requires separately specified rules and a test that accounts for costs and risk.

Primary sources

Download data and reproduction files

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.