QuantConnect Lean Algorithmic Trading Engine
QuantConnect.Indicators Namespace > IndicatorBase<T> Class : ValidateAndComputeNextValue Method
The input given to the indicator
ValidateAndComputeNextValue Method (IndicatorBase<T>)
Computes the next value of this indicator from the given state and returns an instance of the IndicatorResult class
Syntax
protected virtual IndicatorResult ValidateAndComputeNextValue( 
   T input
)

Parameters

input
The input given to the indicator

Return Value

An IndicatorResult object including the status of the indicator
Requirements

Target Platforms: Microsoft .NET 4.5 or Mono 3.10 or above.

See Also