Click or drag to resize

IPortfolioTickIndicatorAdd Method

Add single data (trade price, volume for specific series and DateTime) to indicator.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
bool Add(
	int index,
	double trade,
	double volume,
	DateTime time
)

Parameters

index
Type: SystemInt32
Index of series for which data specified.
trade
Type: SystemDouble
Price of the current tick for specific series.
volume
Type: SystemDouble
Volume on the current tick for specific series.
time
Type: SystemDateTime
Current date time.

Return Value

Type: Boolean
Returns true if and only if the indicator updated its value.
See Also