Click or drag to resize

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.SharpScript
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
public void Disable(
	bool canCloseOrders
)

Parameters

canCloseOrders
Type: SystemBoolean
See Also