ApprovalFlowIndex
StockSharp.Algo.Indicators
Approval Flow Index indicator.
Inherits: DecimalLengthIndicator
Constructors
ApprovalFlowIndex
public ApprovalFlowIndex()
approvalFlowIndex = ApprovalFlowIndex()
Initializes a new instance of the ApprovalFlowIndex.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = approvalFlowIndex.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = approvalFlowIndex.NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
Methods
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = approvalFlowIndex.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
approvalFlowIndex.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).