Five things that silently break a first EA (and how I check for them)
- Can't find bug, please help
- Can someone help me iCustom
- [Strategy Tester] execution speed slowing down exponentially while backtesting an EA
Good list — I'd add a sixth: when the terminal dies, the EA dies with it. A crash, a dropped connection or a 3am Windows update takes the chart, the timers and every OnTick risk check down together, while the broker keeps working. No logic written inside the EA can run at that moment.
So one layer has to live outside the terminal: a small watchdog that watches the terminal process and the last account event, and treats "no update for N minutes" as a failure instead of a quiet market.
How I test that guard, because untested guards are comforting fiction: with the EA armed, kill terminal64.exe from Task Manager, reopen the chart and check whether the EA refuses to open a new trade until its state is reloaded. If your counters only live in RAM, the restart quietly zeroes them — persist state to disk before anything else.
All of this is risk control, not a prediction — no signal, no performance claim.