Download MetaTrader 5

I have a question!

To add comments, please log in or register
Register as a seller and start offering your signals!
TheRealDude
59
TheRealDude 2015.11.01 10:20 

However as I think about it, I think I know the answer.

 But here goes:

In the latest MT5 Client hooked to the Metquotes DemoServer I'm testing an EA.

In the course of operation it generates this journal entry:

2015.11.01 02:48:11.330 2015.10.30 18:53:27   CTrade::OrderSend: instant buy 1.26 EURUSD at 1.10202 sl: 1.10002 tp: 1.10352 [done at 1.10202]

 

When I opened a demo account with a live broker here's that same trade: 

2015.11.01 03:07:33.561 2015.10.30 18:53:28   CTrade::OrderSend: exchange buy 0.34 EURUSD sl: 1.10000 tp: 1.10350 [done]

 

There are other things as well, but this one is costing me a fortune. The broker has their own branded version of MT5, could that be the culprit? If so anyway to fix it? The broker is FXChoice. I have no feelings one way or another yet, but this seems odd.

 

Thanks in Advance,

TheDude 


Osama Shaban
1446
Osama Shaban 2015.11.01 10:41  

It is not the same order because both have different time stamp!. First one has opened 19 minutes in advance and they closed almost together.

Sometimes a little difference in price could make a big difference to trigger the order or not. This could be your case. 

TheRealDude
59
TheRealDude 2015.11.01 18:17  
Osama Shaban:

It is not the same order because both have different time stamp!. First one has opened 19 minutes in advance and they closed almost together.

Sometimes a little difference in price could make a big difference to trigger the order or not. This could be your case. 

Thanks for the reply Osama.

They have different timestamps because of the server (and they're only one second apart, the first timestamp is the server timestamp, second is historical timestamp). But these orders occur at the same time in the order of operations. But even if they weren't, the over-arching question is why are instant buys being changed to exchange buys?

 

Thanks all. 

To add comments, please log in or register