OrderSend / Confirmation

 

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.

 
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 ?

 

ha.. silly.

Thanks. :)