Forum

MT4 EA Open Trades

Hello, I wanted my EA to check for the number of positions that it has open. Each EA I write has a different majic number, I wanted to check the number of trades open for tht specific EA only. I would like to restrict say one EA to two open positions but still ollow others to open trades. Could

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