EA not opening buy or sell orders on forward test

 

Backtest works fine with current settings, however it won't execute anything live.




2011.06.08 15:54:24 universalMACrossEA EURUSD,H1: 19:00 - 0 - 255 - 10 - DOWN

2011.06.08 15:54:23 universalMACrossEA EURUSD,H1: MinCrosDistance SELL


All I get are messages like that over and over, the last message seems to be like it is telling the platform to take a sell order because the minimum cross distance has been reached, yet it doesn't.

By the way it is the Universal Cross MA EA. Just based on two different EMA crosses, then it either sells or buys.

The exact same settings work on the backtest.

Now I got this error:


2011.06.08 16:17:11 universalMACrossEA EURUSD,M1: Error opening BUY order : (0) no error


What does that mean lol.
 

Probably bad error processing code, it lost the code after detecting the open failed.

Probably EA doesn't adjust TP, SL, AND slippage for 5 digit brokers. Probably doesn't open and THEN set stops for ECN brokers.

Reason: