:
Strategy settings
This setting works in a similar way to the checkbox on the Settings – Main tab (Cancel Buy After Sell), if CancelBuyAfterSell=YES, then when the Sell order of this strategy is executed and the trade is closed in profit or loss, all outstanding Buy orders or the rest of the order grid that were still in the stack will be cancelled. The setting of this option only affects orders of the same strategy or other strategies that place orders with the same JoinKey value (not zero).