Click or drag to resize

StrategyBaseSetTarget Method (Int32, Double, String)

Submits a limit order for the specified bars index. If a limit order with the same entry order name exits then changes that order if the price differs This method will be ignored if called when the strategy is in Initialized state

Namespace:  SharpCharts.Base.SharpScript
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
protected IOrder[] SetTarget(
	int barsIndex,
	double targetPrice,
	string entryOrderName
)

Parameters

barsIndex
Type: SystemInt32
Bars index
targetPrice
Type: SystemDouble
Limit price
entryOrderName
Type: SystemString
Entry order name

Return Value

Type: IOrder
See Also