
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have not yet done the transfer of quotes exactly as MT4 does via DDE, because MT4 is an automation server. I do it this way: MT5 is a client, and if you want to know the current_prices, you send a request and get the result. This works for all currency pairs active in the market view window.
You can also send all quotes in one batch in this project. For example, in an Expert Advisor, on a timer every second, receive data and check before sending that the new data is not similar to the already sent data for each currency pair, i.e. a change in the data for Ask or Bid will be considered a new tick.
Timer is not suitable, too much load will be too big !
"...so that the new data will not be similar to the already sent data".
Sometimes, the quote value can be the same as the previous one, determining the activity on the market.
By timer is not suitable, too much load will be too big !
Apparently, to solve your problem, it is necessary to receive and send to the server data on the OnBookEvent price glass change event.
Apparently, to solve your task, it is necessary to receive and send to the server the data on the OnBookEvent price tumbler change event.
Do you have an example of using a glass of OnBookEvent prices, because I can not understand where to start ?
Getting a glass or using it in a TC?
Anything that is not worthless!
It is better to use glasses in Alpari (there are problems with them here).
You can see an example herehi, very good job!
The mql5.dll work with EA mq4?
Have you example?
Thanks for this!
but for x64 version u must change my_rand() rutins
something like this.
everything is possible! MQL5 normally passes/receives structures and pointers to them in DLL functions.