Constructor for the SeriesCalculatorBaseWithValues class.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public SeriesCalculatorBaseWithValues(
	int numberOfInputs,
	bool HideNaNs
)
Visual Basic
Public Sub New ( 
	numberOfInputs As Integer,
	HideNaNs As Boolean
)
Visual C++
public:
SeriesCalculatorBaseWithValues(
	int numberOfInputs, 
	bool HideNaNs
)
F#
new : 
        numberOfInputs : int * 
        HideNaNs : bool -> SeriesCalculatorBaseWithValues

Parameters

numberOfInputs
Type: System..::..Int32
The number of input series that this indicator requires. If SetInputs(array<ISeries>[]()[][]) is called with a number of inputs that does not match this value, it will throw an Exception. May be VARIABLE_NUM_INPUTS if the indicator can take a variable number of inputs.
HideNaNs
Type: System..::..Boolean
If this is true, CalcNewValue(Int32) will not be called when the value for inputs[0] is NaN

See Also