Shared MySQL Connection

 

Hey All,

I have written an EA which can read and write with MySQL (based on https://www.forex-tsd.com/tools-utilities/5513-use-libmysql-dll-directly-read-query-result-mysql.html ).

That's not a problem. But I would like to know if there is any way I can have multiple EA's use the same connection, for example if my server only allows only one connection at a time.

Is the any sort of global or shared memory between EA's which could be utilised for this?


Thanks
Patabugen

 

Hi Patabugen,

you can always use an external file to share information between EAs...or you can use Global variables to share info too...More about it can be found on https://docs.mql4.com/globals

thank you

Automated

--

http://www.gridtradingcourse.com/videos/news_max_grid_trading_chfjpy_1/Grid_Trading_CHFJPY.html - grid trading on CHFJPY, over 2500 pips of profit...