Syntax
Public Function GetPositionTime() As String
Description
This function is used to get open Date and Time for Selected Position.
Parameter
No parameters.
Return value
Returns open time as a string value, If an empty string returned, then call GetLastError() function to get error.
Sample
Public Sub main () Dim Price Dim Commission Dim Amount Ticket = PositonGetTicket (1) PositionSelect (Clng (Ticket))Returns True if position selected successfully AlertMessage GetPositionTime () End sub
See Also