SetAllOrNone (Reserved Word)
Enables or disables the ”All or None” advanced order setting.
No validation of orders will be done. Any incorrect combination will result in the trade server rejecting the order.
Usage
SetAllOrNone(tfAllOrNone)
Return
None
Inputs
Flag is a Boolean. Passing TRUE will enable the setting and passing FALSE will disable the setting.
Example
A limit order to buy at the inside bid with the All or None advanced order enabled:
If lastbaronchart then begin
SetAllOrNone(TRUE);
Buy next bar at InsideBid Limit;
End;