I have seen many EAs fight with real accounts and lose thousands of dollars because we trusted them too much. Today I will share the 7 iron rules we must check before letting an EA trade on a real account. Let us get started.
Search for Order-Sending Commands in the Code

We must comb through every line of code looking for order-sending commands. In some cases, an EA may hide OrderSend or MqlTradeRequest calls in unused functions or complex if conditions. I have seen EAs with order-sending commands hidden in small functions that were never called, but when a bug occurred, those functions got triggered, causing the EA to send unexpected orders.
Check Live Trade Switches in All Config Files

Live trade switches should be off in all of the EA's config files. I have encountered cases where an EA had multiple config files, and some did not have any option to toggle live trading on/off at all, so when the EA loaded, it started trading immediately. You also need to verify there are no commands directly enabling live trading in the code itself.
Do Not Touch External Connection Whitelists
We must verify the EA does not define whitelists for external connections, because some EAs may send data to external servers or pull information from sources they should not. At our company, we use a private data logger as an internal server to record the operations of every EA.
Test in Read-Only Mode First
Before letting an EA run on a real account, test it in read-only mode first. That means letting the EA analyze only, without sending any orders. We use MetaTrader 5 on our main workstation for this type of testing, configuring the EA to analyze around the clock and checking results daily.
Inspect the Entire File Set
We must inspect the entire file set, not just the main file. Some EAs have supplementary files or libraries they rely on, and some of these files may contain order-sending functions as well. I have seen cases where the main EA had no order-sending commands, but one of the supplementary files did.
Use Pause Mode During Testing
When testing an EA on a real account for the first time, use pause mode first. That means letting the EA analyze and display signals only, without sending actual orders. We use this feature on MT5 by temporarily disabling the connection to the broker's server, running the EA in offline mode.
Check the Operation Log
We must thoroughly check the EA's operation log. The log should show every signal the EA decided to trade on, even if it did not send an order. Logs help us better understand the EA's behavior. At our company, we have a proper logging system that captures every movement of every EA.
Lessons Learned from Inspecting EAs
Thoroughly inspecting an EA before using it is absolutely critical. I have lost thousands of dollars due to overconfidence. Today we have strict EA inspection procedures, which significantly reduce risk. For those who want to try real gold trading, open an XM account at: Open an XM Account Through Our Partner
Interested in using an EA with a real account? Start with free EA access for members and step-by-step EA installation on MT5 at icafeforex.com.