EA stopped working live, still works in Strategy tester.
Is Auto/Algo trading enabled both on the terminal and in the options?
Explain the changes you made to the original source. We can't read you mind or know what you did.
Also describe in detail, under which environment you are running the EA on which no trades are being placed (e.g. symbol, time-frame, parameters being used, etc.).
After the changes it still worked for a week, then stopped alltogether.
I trade XAUUSD, on all timeframes. Broker is Exness.
So add a trace statement to the start of every function (and return of OnTick) and find out where it is stopping. Hunt it down. Do you really expect us to debug your code for you?
#define TRACE(x) Print(__FUNCSIG__,"@",__LINE__," ",X) void OnTick(void) { TRACE(start); ⋮ //--- exit from the "no opened orders" block TRACE(NB); return; } TRACE(!NB); }
- You should look in the Experts log and see if there are any messages to explain the issue.
- Also look in the Journal for any messages that might explain the issue.
- And finally, if the EA is not your own code, then ask the author or seller for support.
The forum can only be used for general purpose discussion about EAs.
I downloaded an EA and just changed the way it Opens buy/sell.
It worked fine for a week, then refused to open any trades. NO error messages in Experts or Journal. It still works in STrategy tester, though. Please help.
The code is too long to paste, so I have put it in Notepad, attached hereto.