SetBuyMinusSellPlus (Reserved Word)

image\trumpet2.gif Disclaimer

Enables or disables the ”Buy on -/Sell on +” advanced order setting. This feature is only for listed orders.

No validation of orders will be done.  Any incorrect combination will result in the trade server rejecting the order.

Usage

SetBuyMinusSellPlus(tfBuyMinusSellPlus)

Return 

None

Inputs  

tfBuyMinusSellPlus is a Boolean.  Passing TRUE will enable the setting and passing FALSE will disable the setting.

Example

A market order to buy a NYSE stock at market on the next down-tick::

if lastbaronchart then begin

  SetBuyMinusSellPlus(TRUE);

  Buy next bar at Market;

End;