Download MetaTrader 5

OrderSend / Confirmation

To add comments, please log in or register
richo
191
richo  

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
18056
Simon Gniadkowski  
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  

ha.. silly.

Thanks. :)

To add comments, please log in or register