StrategyBaseDisable Method |
Disables the strategy.
Pending orders will be canceled or not will be determined via Settings > Options > Strategies tab > CanCancelPendingOrders property.
Position will be closed or not will be determined via Settings > Options > Strategies tab > CanClosePosition property.
Namespace: SharpCharts.Base.SharpScriptAssembly: SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.6 (1.0.0.6)
Syntax public void Disable(
bool canCloseOrders
)
Parameters
- canCloseOrders
- Type: SystemBoolean
See Also