Click or drag to resize

IndicatorHelperProcessTValue Method (IIndicator, TupleTValue, TValue, Boolean)

To renew the indicator with numeric pair.

Namespace:  StockSharp.Algo.Indicators
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static IIndicatorValue Process<TValue>(
	this IIndicator indicator,
	Tuple<TValue, TValue> value,
	bool isFinal = true
)

Parameters

indicator
Type: StockSharp.Algo.IndicatorsIIndicator
Indicator.
value
Type: SystemTupleTValue, TValue
The pair of values.
isFinal (Optional)
Type: SystemBoolean
If the pair final (the indicator finally forms its value and will not be changed in this point of time anymore). Default is .

Type Parameters

TValue
Value type.

Return Value

Type: IIndicatorValue
The new value of the indicator.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIndicator. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also