[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 267
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
What the hell is this: 2012.07.20 07:15:00 '*****': order sell 0.10 EURUSD opening at 1.2256 sl: 0.0000 tp: 0.0000 failed [Trade context is busy], but for 'buy' orders not busy?
And now, the opposite: 2012.07.20 07:51:13 '*****': order buy 0.10 EURUSD opening at 1.2258 sl: 0.0000 tp: 0.0000 failed [Trade context is busy]
What could this be about?
https://www.mql5.com/ru/forum/100321
PS. Yusuf, the forum search works.
Good afternoon.
I can't find how to order an indicator or advisor in Job(https://www.mql5.com/ru/job).
Please send me the link.
Good afternoon.
I can't find how to order an indicator or advisor in Job(https://www.mql5.com/ru/job), I funded my account.
Please send me the link.
https://www.mql5.com/ru/forum/100321
PS. Yusuf, the forum search works.
Closing time of penultimate bar = Time[1], if I understood correctly.
How do I know that it is 9:00 AM on the current day (on H1 for example) ?
Explain at least the approximate meaning of this piece of code:
int CalculateCurrentOrders(string symbol)
{
int buys=0,sells=0;
//----
for(int i=0;i<OrdersTotal();i++)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break;
if(OrderSymbol()==Symbol() && OrderMagicNumber()==MAGICMA)
{
if(OrderType()==OP_BUY) buys++;
if(OrderType()==OP_SELL) sells++;
}
}
//---- return orders volume
if(buys>0) return(buys);
else return(-sells);
}
Closing time of penultimate bar = Time[1], if I understood correctly.
How can I tell if it is 9:00 AM of the current day (on H1 for example) ?
I can't find it somewhere, could you please tell me where to find codes returned by return() command to terminal from: int(), deint(); start() functions? And what they all mean. By the way, it would be good to highlight this issue in the "Forum Navigator" (I have repeatedly come across user questions about these return codes).
Explain at least the approximate meaning of this piece of code: