SelectOrderByIndex
Posted by Angham Al-Banawien, Last modified by Abdullah Almasharfah on 07 December 2018 05:45 PM

Syntax

Public Function SelectOrderByIndex(ByVal Index As Integer) As Boolean.

This function is used to choose the order by the given index in the trade list.

Parameters

Parameter  Description 
Index

Order index in the trade list,. Value of type is Integer.

Return value

Returns true if the order was selected successfully, otherwise returns false.

Note:
After choosing the order you can inquire about the property for the selected position using OrderGetDouble(), OrderGetInteger(),  OrderGetString(), OrderSymbol(), OrderTime(), OrderType(), OrderPrice().

Sample

  Public Sub main()   

     Dim Result as Boolean

    Result = ClientCode.SelectOrderByIndex(1)’ select the first order at trade list at client terminal
         GUI.MsgDialog(Result) 

  End Sub

 


See Also


Back to VTL Server Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions