Hello gyse I instaled mt4r.dll in library and mt4r.mqh to includ folder. but I don't know access forex data (h,o,l,c,v) in Rstudio for use them. can you help me pleas?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I instaled mt4r.dll in library and mt4r.mqh to includ folder.
but I don't know access forex data (h,o,l,c,v) in Rstudio for use them. can you help me pleas?
mt4R for new MQL4:
Author: micclly
Hello,
I don't have the vector of (o,h,l,c) in RStudio, How to download data in R and work with them in RStudio? when I run "head(price)" this massge shown:
> head(price)
Error in head(price) : object 'price' not found
> # The MT4 numbering bars from the most recent to oldest. The R on the contrary,
> # from the old to the new, new bar last, then use "rev" function to reverse this.
> price <- cbind(Open = rev(o), High = rev(h), Low = rev(l), Close = rev(c))
Error in rev(o) : object 'o' not found