Hedging Command

 

How come I cannot send 2 orders at the same time:


int start()
{
//----

OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green);
OrderSend(Symbol(),OP_SELL,1,Bid,3,Ask-25*Point,Ask+25*Point,"My order #3",1622,0,Green);



//----
return(0);
}


Is there a way to send a buy and sell at the same time?

 

because Terminal ONLY do ONE TradeOperation at any one time - no matter if 1...100 EAs running.

u must use search box for more - is loads of articles and stuff about this 'issue' ;)

think:

 
eliteeservices:
...



Is there a way to send a buy and sell at the same time?

There is. Open up two accounts and run two seperate MT-instances. Like in a Master/Slave-relationship: the master opens a pos, passes the info to the "slave", slave opens counter-pos in seperate account.