Download MetaTrader 5

Trading: Automated Choice of Brokerage Company for an Efficient Operation of Expert Advisors

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
192553
MetaQuotes Software Corp.  

New article Automated Choice of Brokerage Company for an Efficient Operation of Expert Advisors has been published:

It is not a secret that for an efficient operation of Expert Advisors we need to find a suitable brokerage company. This article describes a system approach to this search. You will get acquainted with the process of creating a program with dll for working with different terminals.

Author: Shashev Sergei

MQL4 Comments
16316
MQL4 Comments  
I tried the code, and MQL doesn't recognize GenericMagik().
okwh
1638
okwh  

Write to sharedmemory from multe DLL attached multi MT, and read to moniter exe program.

In NewDeal(....)

before write, check

if((index = FindDeal(-1, -1, -1)) == -1)
{
MessageBox(NULL, "xxxxxxxxxxxxxxxxx?DLL", MB_OK);
ReleaseMutex(hSem);//
return true;
}

If last one some DLLwrited is not readed out, then no -1,-1,-1 item, then no write this newDeal, so this newDeal write faile FALSE, but also return true.

Then

How to sure multe DLL writing succeed ?

To add comments, please log in or register