[Published as a blog entry because submission to the Codebase stalled on the fact that this socket library works with both MT4 and MT5, whereas the Codebase is divided into separate sections for MT4 and MT5. The support desk couldn't work out how to handle this...] [Updated 2019-07-16...
Prompted by the new article at https://www.mql5.com/en/forum/127024, the attached files are an example of sending messages asynchronously between different instances of MT4 on the same computer, using named pipes. Inspired by the MT5 article, but
There are frequent questions in this forum (e.g. 'Difficulty using FileReadString on file opened outside /experts/files') about reading and writing files anywhere on the hard disk, but there only seems to be one published library for doing so, and
I've got two copies of MetaTrader, one on build 220 and one on build 223. If I create an EA using build 220, the .ex4 file works fine on build 220 of MT4 but causes build 223 to crash. And, similarly, if I create an EA using build 223, then the .ex4
Anyone read anything about this: http://www.nfa.futures.org/news/newsNotice.asp?ArticleID=2273 ? Am I right in thinking that US-based brokers are now going to be required to treat a long order for e.g. 1 lot followed by a short order for 1 lot as a
The following was prompted by a query from fbj in 'Can I code in MQL to turn on and off an already running EA? ' Posting this as a new topic to give it slightly wider attention, because I don't think it's been done before and it's a fun little