WilliamsAccumulationDistribution

StockSharp.Algo.Indicators

Williams Accumulation/Distribution indicator.

Inherits: BaseIndicator

Constructors

WilliamsAccumulationDistribution
public WilliamsAccumulationDistribution()
williamsAccumulationDistribution = WilliamsAccumulationDistribution()

Initializes a new instance of the WilliamsAccumulationDistribution.

Properties

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

IndicatorMeasures.

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

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

Methods

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = williamsAccumulationDistribution.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Reset
public override void Reset()
williamsAccumulationDistribution.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).