WilliamsR

StockSharp.Algo.Indicators

Williams Percent Range.

Inherits: DecimalLengthIndicator

Constructors

WilliamsR
public WilliamsR()
williamsR = WilliamsR()

Initializes a new instance of the WilliamsR.

Properties

Measure
public override IndicatorMeasures Measure { get; }
value = williamsR.Measure

IndicatorMeasures.

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = williamsR.NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = williamsR.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = williamsR.OnProcessDecimal(input)

To handle the input value.

input
The input value.

Returns: The new value of the indicator.

Reset
public override void Reset()
williamsR.Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).