> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openstrat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Williams Indicator (%R)

> Understand the features and applications of Williams %R

## Overview

The Williams Indicator (Williams %R, abbreviated as **%R**) is a common **momentum-type oscillator**, mainly used to measure:

> The relative position of the current close within the highest-high and lowest-low range over a period,
> thereby judging whether the market is in a “relatively high” or “relatively low” state.

A few intuitive characteristics:

* Its value ranges from **0 to -100**, like an “inverted ruler”;
* The closer to **0**, the closer to the swing high—stronger and “hotter”;
* The closer to **-100**, the closer to the swing low—weaker and “colder.”

Similar to the Stochastic Oscillator (KD), Williams %R is better suited for:

* Identifying overbought/oversold zones in ranging markets;
* Helping locate buy-low/sell-high areas;
* In trending markets, working with other indicators as a risk reminder or to optimize entries/exits.

## Williams %R

### Calculation

The standard Williams %R formula (using the most recent n periods as an example):

* Over the last n periods, define:

  * Highest high as Hn
  * Lowest low as Ln
  * Current close as C

Then:

* %R = -100 × (Hn - C) ÷ (Hn - Ln)

You can interpret it this way:

* If C is very close to Hn, then Hn - C is small, so %R is close to 0—price is near the period high;
* If C is very close to Ln, then Hn - C approaches Hn - Ln, so %R is close to -100—price is near the period low.

A simple example:

* Over the last 14 days, the highest high Hn is 110
* Over the last 14 days, the lowest low Ln is 90
* The current close C is 100

Then:

* Hn - C = 10, Hn - Ln = 20
* %R = -100 × 10 ÷ 20 = -50

This means the current price is roughly **in the middle of the last 14-day range**, with bull and bear forces relatively balanced.

**Relationship to the Stochastic Oscillator**

In Stochastics, the commonly used %K formula is:

* %K = (C - Ln) ÷ (Hn - Ln) × 100

Comparing the two formulas gives a simple relationship:

* %R = %K - 100
* Or conversely: %K = %R + 100

That is:

* When %K is around 80, the corresponding %R is roughly -20;
* When %K is around 20, the corresponding %R is roughly -80.

So in essence, Williams %R and Stochastics use **very similar logic** to measure price position—only the scale runs in the opposite direction.

### Application Tips

The biggest “signature” of Williams %R is that it’s a **downward-pointing ruler**.
If you’re used to KD’s 0–100 upward scale, you can “read it in reverse”:

* **Closer to 0 = stronger, closer to the high zone;**
* **Closer to -100 = weaker, closer to the low zone.**

Common zone definitions:

* 0 to -20: usually treated as the **overbought zone**, meaning price is near a swing high and short-term sentiment is hot;
* -80 to -100: usually treated as the **oversold zone**, meaning price is near a swing low and short-term sentiment is cold.

Some practical tips:

* Don’t short immediately just because it’s overbought—treat it as:

  * “It’s no longer cheap; be cautious about chasing,” rather than “it must drop now”;
* Don’t bottom-fish immediately just because it’s oversold—treat it as:

  * “It’s relatively cheap; start watching for opportunities,” rather than “it must rise now.”

A more robust approach is to combine Williams %R with **price location (support/resistance)** and **trend direction (moving averages, trendlines)**:

* In a range market, near resistance + overbought can be a reference for taking profit/selling high;
* In a range market, near support + oversold can be a reference for buying low;
* In a strong uptrend, a pullback into mid/low levels with %R turning up from oversold can be a reference for adding with the trend;
* In a strong downtrend, a rebound into mid/high levels with %R turning down from overbought can be a reference for reducing or shorting with the trend.

## Core Concepts

When using Williams %R, focus on these concepts:

* **A position indicator, not a price indicator**
  It doesn’t care whether price is 10 or 100; it cares:
  “Within the past window’s high–low range, are we near the top, middle, or bottom?”

* **Range-oscillator characteristics**
  Its value is bounded between 0 and -100, making it a typical **oscillator**.
  It works best in **boxes, ranges, back-and-forth swings**.

* **The underlying assumption is “too far deviates, then reverts”**
  When price nears an extreme of the range (high or low), there’s a certain probability it moves back toward the middle.
  This assumption is useful in ranges, but often fails in strong trends.

* **Parameters determine “sensitivity”**
  A common lookback is 14, though 9, 21, etc. are also used.
  Shorter windows react faster with more signals (and more noise); longer windows are steadier but can lag.

* **Always an auxiliary tool**
  Williams %R is better used as a **risk reminder and position reference**, not a standalone entry/exit trigger.
  Real trading decisions still require combining trend, patterns, fundamentals, and risk management.

## Practical Application

Below is a simplified example to illustrate how Williams %R can be used (for teaching only; not investment advice).

**Scenario:**

* A stock has ranged roughly between 20 and 24 over the past two months;
* It repeatedly finds support and bounces near 20;
* It repeatedly hits resistance and pulls back near 24;
* Use the 14-period Williams %R as an auxiliary indicator.

**1) Finding low-zone opportunities:**

* When the stock drops to around 20.3, Williams %R is close to -90;
* This indicates price is very close to the lowest area of the window—**clearly oversold**;
* In the following days, price stops making new lows, prints small bullish candles, and volume picks up slightly.

This combination suggests:

* Price is near the bottom of the box range;
* The indicator is in a deeply oversold zone;
* The market shows signs of stabilization.

A possible approach:
Probe a small long position, place the stop slightly below 20; if price decisively breaks the range, exit and admit wrong.

**2) Finding high-zone risk points:**

* Price then rebounds from the low 20s up to around 23.8;
* Williams %R rises to around -10 and hovers in the 0 to -20 zone;
* Meanwhile price approaches the top of the box, candles begin to show upper wicks, and despite higher volume it fails to make new highs.

At this point:

* Price is near range resistance;
* The indicator is clearly overbought;
* The advance is slowing.

A possible approach:

* For existing longs, take profit in parts or raise stops to prevent drawdown;
* Avoid opening new chase-long positions here.

This example shows:
Williams %R does not tell you “tomorrow will definitely rise or fall.”
It acts more like a ruler that tells you whether price is “relatively expensive or relatively cheap” within the recent window.

## FAQs

### Q1: Williams %R is always negative—what if it feels awkward?

That’s one of its design features: it uses a 0 to -100 scale to represent position.

Two ways to handle it:

* Mentally “flip it”:
  treat 0 as “close to 100,” and -100 as “close to 0”—
  the closer to 0, the stronger; the closer to -100, the weaker;
* Remember the math relationship:
  if you’re familiar with Stochastics %K, remember %R equals %K minus 100—
  it’s essentially a shifted and inverted scale.

Many platforms also allow changing the display to a 0–100 range, which can look more consistent with other indicators.

### Q2: Which should I use—Williams %R or Stochastics (KD)? Should I use both?

They belong to the same family:

* Their logic is similar—both are based on “price position within a recent high–low range”;
* %R is more direct and sensitive; KD is relatively more stable with slightly less noise due to smoothing.

Given the high overlap in information:

* In practice, it’s generally not recommended to **depend heavily on both**, or you’ll just be “reading the same message twice”;
* A more practical approach is to choose one you find intuitive and truly understand, then use and refine it over time;
* Putting effort into “combining with trend tools and price/volume structure” is usually more valuable than stacking multiple similar oscillators.

### Q3: If Williams %R enters overbought/oversold, can I immediately trade the opposite direction?

Not recommended as a mechanical rule.

A more robust interpretation:

* Overbought: a reminder that “price is relatively high; be more cautious about chasing,” not “must short now”;
* Oversold: a reminder that “price is relatively low; start watching for rebound opportunities,” not “go all-in immediately.”

Especially in **strong trends**:

* In uptrends, price can stay in high zones for a long time, keeping %R in overbought;
* In downtrends, price can grind in low zones for a long time, keeping %R in oversold.

So a more reasonable usage is:

* In ranges or confirmed box structures, reference overbought/oversold for buy-low/sell-high;
* In trends, use Williams %R to help locate trend-following add/reduce points, rather than frequently trading counter-trend “tops and bottoms.”

## Summary

Key takeaways:

* Williams %R is a **position-type oscillator** using a 0 to -100 scale to measure price’s relative position within a past range;
* Closer to 0 means price is nearer the swing high—stronger/hotter;
  closer to -100 means price is nearer the swing low—weaker/colder;
* It has a simple linear relationship with Stochastics %K and shares the same underlying idea, just with an inverted scale;
* It is more informative in ranging/box markets, useful for supporting buy-low/sell-high decisions;
* In strong trends it can stay overbought/oversold for long periods, so combine with trend tools and avoid mechanical counter-trend trades;
* Always treat Williams %R as an **auxiliary ruler** rather than an automatic trade switch.

One-sentence summary:

> Williams %R doesn’t tell you “tomorrow’s direction,”
> it tells you “where you are within the recent range—near the high or near the low,”
> and real decisions still require combining trend, structure, and risk control.

## Further Reading

* [Investopedia: Introduction to the Williams %R Indicator](https://www.investopedia.com/terms/w/williamsr.asp)
* Chapters on Williams %R and other momentum indicators in *Technical Analysis of the Futures Markets* (John J. Murphy)
