Click or drag to resize

StrategyBaseBarsSinceTrade Method (Int32, IOrder)

Returns the number of bars that have elapsed since the order entry

Namespace:  SharpCharts.Base.SharpScript
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
protected int BarsSinceTrade(
	int barsIndex,
	IOrder order
)

Parameters

barsIndex
Type: SystemInt32
Bars index
order
Type: SharpCharts.Base.OrderIOrder
Order

Return Value

Type: Int32
See Also