Skip to main content

WILLR

Type: willr • Category: indicators

Description

Williams %R

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringdata with pricesno
highstringselect the column with highest pricesno
lowstringselect the column with lowest pricesno
closestringselect the column with closing pricesno
timeperiodnumberNumber of periods to use for Williams %R calculationno14

Help

WILLR

Williams %R

Description

The Williams %R indicator is a momentum indicator used in technical analysis to measure the level of the close relative to the high-low range over a given period. It was developed by Larry Williams, and it is also known as the Williams Percent Range.

This indicator is used to identify overbought and oversold conditions in the market. It is calculated using the following formula:

WR = (Hn - C) / (Hn - Ln) * -100

Where:

  • WR is the Williams %R
  • Hn is the highest high over the specified period
  • Ln is the lowest low over the specified period
  • C is the current close

What does this worker do?

The WILLR worker calculates the Williams %R indicator for a given set of data. It takes the following parameters:

  • dataExp: data with prices
  • high: select the column with highest prices
  • low: select the column with lowest prices
  • close: select the column with closing prices
  • timeperiod: Number of periods to use for Williams %R calculation

The worker returns the calculated Williams %R values.

How to interpret the results

The Williams %R indicator can be interpreted as follows:

  • A reading above -20 indicates overbought conditions, which may lead to a potential price drop.
  • A reading below -80 indicates oversold conditions, which may lead to a potential price increase.
  • A reading between -20 and -80 indicates a neutral condition.

Usage

To use this worker, simply provide the required parameters and run the worker. The worker will return the calculated Williams %R values.

Visualizing the Indicator

For a visual representation of how to use this indicator, please see the following images:

Full GIF

[![Full GIF](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)

Short GIF

[![Short GIF](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)

Additional Knowledge

The Williams %R indicator is often used in combination with other indicators to confirm trading signals. It can be used to identify potential reversals in the market. A buy signal is generated when the Williams %R indicator falls below -80 and then rises above -80. A sell signal is generated when the Williams %R indicator rises above -20 and then falls below -20.

It is essential to note that no indicator is foolproof, and the Williams %R indicator should be used in conjunction with other forms of analysis and risk management techniques.