StrategySetStop(Double, CalculationMode) Method |
Submits a stop order for entry orders with entry name as 'Strategy Entry' (default entry name)
If stop order with the same entry order name exists, then changes the order if the stop price differs.
If called when the strategy is in Initialized state then all subsequent entry trades with the same entry name will automatically place an stop order as defined by the method
Namespace: ArthaChitra.Model.SharpScriptAssembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax protected IOrder[] SetStop(
double price,
CalculationMode calculationMode
)
Parameters
- price Double
- Value of the stop price as calculated from entry order fill price based on the Calculation Mode
- calculationMode CalculationMode
- Calculation Mode
Return Value
IOrderSee Also