Williams %R (or Percent Range)

Contents[Hide]

The Williams %R (or Percent Range) function was developed by Larry Williams. It is similar to the Stochastic Oscillator function in that it relates the close price of a stock to its price range (high-low) over a specified number of time periods. Applications of Williams %R include indication of price reversals and determining overbought or oversold conditions.

1. Syntax

```WILLIAMSR(d0,d1,d2,s0,Alignment)
```

2. Input

The Williams %R function requires the following input series:

• d0 - High data values - The first set of data values for which the Williams %R formula is calculated, usually the daily high price of a stock.
• d1 - Low data values - The second set of data values for which the Williams %R formula is calculated, usually the daily low price of a stock.
• d2 - Close data values - The third set of data values for which the Williams %R formula is calculated, usually the daily close price of a stock.

3. Parameters

The Williams %R function has the following parameter:

• s0 - Period - The number of time periods used to determine the overall high and low price values.
• Alignment (Optional) – Hierarchy placeholder to be used as the alignment axis.

4. Output

The Williams %R function generates the following output:

• Williams %R - The Williams %R result set.