SetShowOnly (Reserved Word)

image\trumpet2.gif Disclaimer

Enables or disables the ”Show Only” advanced order setting. The total number of shares to buy is specified in either the strategy properties dialog or in the EasyLanguage code of the strategy.

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

Usage

SetShowOnly(iQuantity)

Return 

None

Inputs 

iQuantity is an Integer value.  If greater than zero the ”Show Only” advanced setting is enabled using the value entered as the number of shares to be reflected to the market. If zero the ”Show Only” advanced setting is disabled.

Example

A limit order to buy 1000 shares but reflecting only 200 in the market:

if lastbaronchart then begin

  SetShowOnly(200);

  Buy next bar 1000 shares at InsideBid Limit;

end;