Skip to content

WILLR — Williams %R Trading Series

The WILLR trading series represents Williams %R, a momentum indicator that measures overbought and oversold levels.

It is built upon the Williams %R indicator implementation from the indicators module.


Parameters

WILLR(
    ticker: str,
    source: SourceType = SourceType.CLOSE,
    length: int = 14
)
  • ticker (str): Asset ticker symbol.
  • source (SourceType): Price source for calculation. Default is SourceType.CLOSE. Supported sources are linked here.
  • length (int): Lookback period for the %R calculation. Default is 14.

Description

  • Values near -20 suggest overbought conditions.
  • Values near -80 suggest oversold conditions.
  • Very similar in interpretation to the Stochastic Oscillator.

Example Usage

WILLR(
    ticker="AAPL",
    source=SourceType.CLOSE,
    length=14
)