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
periodintThe look-back period to determine the Williams %R
WilliamsPercentR(string, int)
Creates a new Williams %R.
public WilliamsPercentR(string name, int period)
Parameters
Properties
IsReady
Gets a flag indicating when this indicator is ready and fully initialized
public override bool IsReady { get; }
Property Value
Maximum
Gets the Maximum indicator
public Maximum Maximum { get; }
Property Value
Minimum
Gets the Minimum indicator
public Minimum Minimum { get; }
Property Value
WarmUpPeriod
Required period, in data points, for the indicator to be ready and fully initialized.
public override int WarmUpPeriod { get; }
Property Value
Methods
Forward(long, DoubleArray)
Computes the next value of this indicator from the given state
protected override DoubleArray Forward(long time, DoubleArray input)
Parameters
timelonginputDoubleArrayThe 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()