Download MetaTrader 5

how can a dll retrieve tick data from mt4?

To add comments, please log in or register
rlarz
53
rlarz  
I am under the impression that I should use ArrayCopyRates to obtain the current tick data. Is that correct? How could I call that information from within a DLL? My mql4 and internet searches haven't quite gotten me there yet. Can someone point me in the right direction?
whroeder1
15017
whroeder1  
There is no tick data to obtain. ACR just returns an array with OHLCv. No ticks.
rlarz
53
rlarz  
WHRoeder:
There is no tick data to obtain. ACR just returns an array with OHLCv. No ticks.


Thank you. Now I know that is not the correct approach. Does anyone know what would work? I'm not sure what you mean when you say, "There is no tick data to obtain."

I found some old information about using DDE to retrieve tick data from MT4. Maybe that's more a appropriate approach. I'll start working with DDE from the VS side and see if that helps. Of course, I won't be getting any new data until Sunday (in my area) anyway.

To add comments, please log in or register