Function CloseOrder
With the help of this function close to an open position is performed. Frequently occurs in the operation of the condition. That along with the operator if-then.
Syntax:
CloseOrder (goal, many, price, slippage, color);
· Order - this parameter to identify the specific order was made;
Many · - lotov quantity in an open position;
· Slippage - proskalzyvanie;
· Color - Color that badge on the schedule of prices will be drawn.
Example:
CloseOrder (OrderValue (CNT,
VAL_TICKET), OrderValue (CNT, VAL_LOTS), bid, 3, Violet);
Thursday, May 26, 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
Powered by Blogger.
No comments:
Post a Comment