Click or drag to resize

SharpScriptBaseGetLastPrice Method (Int32)

Returns the last traded price. In case the real time price is not available the closing value of the last available bar is returned

Namespace:  SharpCharts.Base.SharpScript
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
public double GetLastPrice(
	int barsIndex
)

Parameters

barsIndex
Type: SystemInt32

Return Value

Type: Double
See Also