Click or drag to resize

MT5API Methods

The MT5API type exposes the following members.

Methods
  Name Description
Public method ChangePassword  
Public method Connect Connect to server.
Public method ConvertToTimeframe  
Public method Disconnect Disconnect from server
Public method DownloadOrderHistory Downaload order history.
Public method DownloadQuoteHistoryMonth  
Public method DownloadQuoteHistoryToday  
Public method GetAskTickValue Tick value in base currency
Public method GetBidTickValue Tick value in base currency
Public method GetContractSize Contruct size
Public method GetOpenedOrders Opened orders
Public method GetQuote Latest quote for the symbol.
Public method GetQuoteTask Latest quote for the symbol.
Public method GetRequestId Get uniq request ID for async trading
Public method GetTickSize Tick size
Public method GetTickValue Tick value
Public method IsQuoteSession  
Public method IsSubscribed Check subscribe trading instrument.
Public method IsTradeSession  
Public method Static member LoadServersDat(Byte) Read server.dat
Public method Static member LoadServersDat(String) Read server.dat
Public method OrderClose Send order close request and wait for execution.
Public method OrderCloseAsync Send order close request and don't wait execution. Use OnOrderProgress event to get result.
Public method OrderModify Modify order
Public method OrderModifyAsync OrderModifyAsync
Public method OrderSend Send order and don't wait execution. Use OnOrderProgress event to get result.
Public method OrderSendAsync Send order and don't wait execution. Use OnOrderProgress event to get result.
Public method Static member RequestDemoAccount  
Public method RequestOrderHistory(DateTime, DateTime) Reuest closed orders.
Public method RequestOrderHistory(Int32, Int32, ListT)  
Public method RequestQuoteHistoryMonth Request 1 minute bar hsitory for one month back from specifeid date
Public method RequestQuoteHistoryToday Request 1 minute bar hsitory for today
Public method RequestQuoteHistoryTodayInternal  
Public method Subscribe(String) Subscribe trading instrument.
Public method Subscribe(String) Subscribe trading instruments.
Public method Subscriptions List of subscribed symbols
Public method Unsubscribe(String) Unsubscribe trading instrument.
Public method Unsubscribe(String) Unsubscribe trading instruments.
Public method UpdateProfits  
Top
See Also