How do I execute trades from a file?

 

Hello,

I have created an EA which I have done in C++. This produces the trades in a file, information stored is currency pair, buy or sell, stop loss and profit target.

Is there an easy way for an EA in MQ4 to continuely read in from this file and when a trade is inserted into this file for the trade to be executed?

I have tried to convert my C++ code to MQ but do not find that as easy. So if I can get meta trader to trade from inputs I make into a file that would be very helpful.

Any advice would be appreciated.

Cheers,

Nick