Download MetaTrader 5

OrderSend / Confirmation

To add comments, please log in or register
richo
191
richo 2014.03.06 11:15 

Hi

While I run this command with a new broker, I am getting the order window instead of executing the market order.

if (GlobalVariableGet(gvariable) == 2) {
      OrderSend(Symbol(),OP_SELL,0.01,Bid,3,0,0,"My order",16384,0,clrGreen);
      GlobalVariableSet(Symbol()+Period(), 0);
   }

But in other brokers account the EA works fine. What am I missing.

Thanks.

Simon Gniadkowski
Moderator
18002
Simon Gniadkowski 2014.03.06 11:20  
richo:

Hi

While I run this command with a new broker, I am getting the order window instead of executing the market order.

But in other brokers account the EA works fine. What am I missing.

Thanks.

Did you tick the box asking for manual confirmation of live trades placed by your EA ?

richo
191
richo 2014.03.06 11:25  

ha.. silly.

Thanks. :)

To add comments, please log in or register