SharpTrader.SDK - Developer API

AdvancedIndicator<(Of <(<'TValue, TSeries>)>)>..::..GetValue Method

Calculate

Return Value

indicator value for the latest bar in buffer

Namespace:  Sharpshooter.SDK.Indicators.RealTime
Assembly:  Sharpshooter.SDK (in Sharpshooter.SDK.dll)

Syntax


[MethodImplAttribute]
public double GetValue(
	TSeries series
)

Parameters

series
Type: TSeries

Remarks


Values in [QuoteSeries{TValue, TSeries}] are timestamped, hence this method can determine whether [Initialize(TSeries)] or [AdvancedIndicatorBase{TValue, TSeries}.ForwardByBar(TSeries)] should be called.