Unreasonable Error(130): invalid stops

 
Hi Slawa,
I was trying to modify pending buy stop order (#28484) as part of EA trailing stop strategy.
Although my SL and TP were far away from order price, I was keep on getting Error(130): invalid stops.
Until it suddenly got executed.
Please notice the attached log is for 18 seconds period between 01:24:01 and 01:24:19
and in the log "^Modified Order......" is the current parameters of the pending order I'm trying to modify, and "^Modifing Order......" is the new parameters I'm trying to use.

Can anybody explain this error in the current context?
How was it suddenly got executed?
I have many others similar errors on other EAs.
Thanks,
Ruby


01:24:01 RSFW_A_0_03 GBPJPY,H4: ^Modifing Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.31 ^SL: 109.98 ^TP: 110.91
01:24:01 RSFW_A_0_03 GBPJPY,H4: ^Modified Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.45 ^SL: 110.06 ^TP: 111.05
01:24:01 RSFW_A_0_03 GBPJPY,H4: Error(130): invalid stops
01:24:07 RSFW_A_0_03 GBPJPY,H4: ^Modifing Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.31 ^SL: 109.98 ^TP: 110.91
01:24:07 RSFW_A_0_03 GBPJPY,H4: ^Modified Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.45 ^SL: 110.06 ^TP: 111.05
01:24:07 RSFW_A_0_03 GBPJPY,H4: Error(130): invalid stops
01:24:13 RSFW_A_0_03 GBPJPY,H4: ^Modifing Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.32 ^SL: 109.98 ^TP: 110.92
01:24:13 RSFW_A_0_03 GBPJPY,H4: ^Modified Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.45 ^SL: 110.06 ^TP: 111.05
01:24:13 RSFW_A_0_03 GBPJPY,H4: Error(130): invalid stops
01:24:19 RSFW_A_0_03 GBPJPY,H4: ^Modifing Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.32 ^SL: 109.98 ^TP: 110.92
01:24:19 RSFW_A_0_03 GBPJPY,H4: ^Modified Order(28484) for USDJPY ^Volume: 0.1 ^Price: 110.45 ^SL: 110.06 ^TP: 111.05
01:24:19 RSFW_A_0_03 GBPJPY,H4: modify #28484 buy stop 0.10 USDJPY at 110.3200 sl: 109.9800 tp: 110.9200 ok
 
The same problem I have if I try change manually set pending order. I try to change entry price - and the comment is "bad SL or TP". I think it is a bug.

Regards
Rafael
 
sorry. i can answer your question after my vacation only at september beginning