This function is useful to verify both versions of mt5R. It is advisable to use the same version in R and MT5.

In case of FALSE return consider to update your mt5R package or mt5R EA, check for warning messages in this case.

MT5.CheckVersion()

Value

Returns TRUE if MT5 and R have the same version of mt5R, FALSE otherwise.

A warning message will be displayed in case of FALSE return.