Potential Disaster with ECN brokers!
-
This is real situation from this morning. It happened to a friend of mine with AVA broker. I changed the name of the EA in the log:
08:13:17 EANAME EURUSD,M30: Error occured. Error code 129 08:13:19 EANAME EURUSD,M30: Error occured. Error code 129 08:13:21 EANAME EURUSD,M30: invalid slippage for OrderSend function 08:13:21 EANAME EURUSD,M30: invalid slippage for OrderSend function 08:13:21 EANAME EURUSD,M30: Error occured. Error code 4051 08:13:23 EANAME EURUSD,M30: invalid slippage for OrderSend function 08:13:23 EANAME EURUSD,M30: invalid slippage for OrderSend function 08:13:23 EANAME EURUSD,M30: Error occured. Error code 4051 08:13:27 EANAME EURUSD,M30: open #10365265 sell 0.30 EURUSD at 1.30140 ok 08:13:29 EANAME EURUSD,M30: Error occured. Error code 136Weird errors. This is ECN broker, so first the trade must be sent, and then stops to be modified. Everything happens in 2 steps - OrderSend() and then OrderModify(). The actual problem here is not that the trade has troubles to be opened, but after that - when stops must be placed. You can see that error 136, which means... "Off quotes".
Leaving a trade without stops can be very dangerous sometimes, even if the EA itself is not scalping. For this EA - missing stops caused more trades to be opened because of wrong part in the code.
For example, in non-ECN brokers there are 2 outcomes - to create a trade with stops or to not create a trade at all. With ECN broker you can be easily found in a situation with a trade with missing stops.
So, be careful with ECN brokers. I know that everyone say that ECN is better, but obviously this is not exactly like that. It looks that every ECN broker has at least one more chance to fail - in OrderModify().