Table of Contents

Class WilliamsPercentR

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

Williams %R, or just %R, is the current closing price in relation to the high and low of the past N days (for a given N). The value of this indicator fluctuates between -100 and 0. The symbol is said to be oversold when the oscillator is below -80%, and overbought when the oscillator is above -20%.

public class WilliamsPercentR : BarIndicator, IIndicator, IUpdatable
Inheritance
WilliamsPercentR
Implements
Inherited Members
Extension Methods

Constructors

WilliamsPercentR(int)

Creates a new Williams %R.

public WilliamsPercentR(int period)

Parameters

period int

The look-back period to determine the Williams %R

WilliamsPercentR(string, int)

Creates a new Williams %R.

public WilliamsPercentR(string name, int period)

Parameters

name string

The name of this indicator

period int

The look-back period to determine the Williams %R

Properties

IsReady

Gets a flag indicating when this indicator is ready and fully initialized

public override bool IsReady { get; }

Property Value

bool

Maximum

Gets the Maximum indicator

public Maximum Maximum { get; }

Property Value

Maximum

Minimum

Gets the Minimum indicator

public Minimum Minimum { get; }

Property Value

Minimum

WarmUpPeriod

Required period, in data points, for the indicator to be ready and fully initialized.

public override int WarmUpPeriod { get; }

Property Value

int

Methods

Forward(long, DoubleArray)

Computes the next value of this indicator from the given state

protected override DoubleArray Forward(long time, DoubleArray input)

Parameters

time long
input DoubleArray

The input given to the indicator

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator and both sub-indicators (Max and Min)

public override void Reset()