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:
- GetLastError
- IsConnected <-------
- IsDemo
- IsDllsAllowed
- IsExpertEnabled <-------
- IsLibrariesAllowed
- IsOptimization
- IsStopped <-------
- IsTesting
- IsTradeAllowed <-------
- IsTradeContextBusy <-------
- IsVisualMode
- UninitializeReason
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?