Williams %R Calculator

Calculate Williams %R from rolling highs, lows and the latest close.

Your inputs

The starting values are an illustrative example. Calculations run locally; your inputs are not sent to a data provider.

One row per observation; four comma-separated prices per row. No thousands separators. Keep one currency, interval and adjustment basis. Maximum 2,000 observations.

Illustrative example result

Latest WILLIAMS: -38.285229. Period: 14. Input order: oldest to newest.

50 records

Calculation steps, oldest observation first. Unavailable values are warm-up or undefined windows; they are not zero.
1100
2102.08
3102.62
4101.48
5100.09
6100.08
7101.84
8104.11
9105.18
10104.42
11102.91
12102.4
13103.73
14106.04108.0498-19.9203
15107.58109.5898.08-17.3913
16107.3109.5898.08-19.8261
17105.82109.5898.08-32.6957
18104.88109.5898.08-40.8696
19105.7109.5898.08-33.7391
20107.9109.999.84-19.8807
21109.83111.83100.4-17.4978
22110.07112.07100.4-17.138
23108.78112.07100.4-28.1919
24107.51112.07100.4-39.0746
25107.79112.07100.4-36.6752
26109.74112.07101.73-22.5338
27111.93113.93102.88-18.0995
28112.71114.71102.88-16.9062
29111.74114.71102.88-25.1057
30110.27114.71102.88-37.5317
31110.02114.71102.88-39.645
32111.59114.71103.7-28.3379
33113.9115.9105.51-19.2493
34115.2117.2105.51-17.1086
35114.66117.2105.51-21.728
36113.14117.2105.51-34.7305
37112.42117.2105.51-40.8896
38113.51117.2105.79-32.3401
39115.79117.79107.74-19.9005
40117.53119.53108.02-17.3762
41117.49119.53108.02-17.7237
42116.08119.53108.02-29.9739
43114.97119.53108.02-39.6177
44115.54119.53108.02-34.6655
45117.64119.64109.59-19.9005
46119.7121.7110.42-17.7305
47120.2122.2110.42-16.9779
48119.05122.2110.42-26.7402
49117.66122.2110.42-38.5399
50117.69122.2110.42-38.2852

How to read these results

Formula & calculation basis

For each n-bar window, Williams %R = −100 × (highest high − latest close) / (highest high − lowest low). The output runs from −100 to 0 for valid OHLC data.

Coverage & limitations

At least n bars are needed. A zero high–low range is unavailable, not a signal. OHLC values must share one adjustment basis and contain each open and close within the high–low range.

Sources & update policy

Methodology reference ↗

Example inputs are synthetic and are not company data or a forecast. The formula version is dated 2026-10-28. Calculations do not fetch market data.

Continue the research

Explore company records and their sources with Pineify Finance Agent.

Open Finance Agent ↗