Click or drag to resize

StrategySetStop(Int32, Double, String) Method

Submits a new stop order for the specified bars index. If stop order with the same entry order name exits, then changes the order if the stop price differs This method will be ignored if set when the Strategy is in Initialized state

Namespace: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
protected IOrder[] SetStop(
	int barsIndex,
	double stopPrice,
	string entryOrderName
)

Parameters

barsIndex  Int32
Bars index
stopPrice  Double
Stop price
entryOrderName  String
Entry order name

Return Value

IOrder
See Also