MT5Version {MetaTrader}R Documentation

Get the MetaTrader 5 Terminal version

Description

Gets the MetaTrader 5 Terminal version.

Usage

  MT5Version()

Value

Returns the MetaTrader 5 Terminal version in the form of a R list.

integer version
integer build
string build date
    [[1]]
    [1] 500

    [[2]]
    [1] 1995

    [[3]]
    [1] "15 Feb 2019"
  

Examples

  # start MetaTrader 5 Terminal (you should have it installed), call on first request only
  MT5Initialize()
  # wait for connection with broker server, call on first request only
  MT5WaitForTerminal()
  # get version info
  MT5Version()

[Package MetaTrader version 5.0.0 Index]