Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Gentlemen - why is the closing time at this broker 22:59 but not 23:59?
Gentlemen - why is the closing time at this broker 22:59 but not 23:59?
That is a question for the broker. Friday closes at 10:59 p.m. for many people
This is a question for the broker. Friday closes at 10:59 p.m. for many people
Hello
Sometimes when I open an order the error 4754-Ordernot found appears
That's all the EA hangs because it tries to open an order
Reinstalling the EA helps
To open an order I use class CTrade
any tips on what could be wrong?Hello
Sometimes when I open an order the error 4754-Ordernot found appears
That's all the EA hangs because it tries to open an order
Reinstalling the EA helps
To open an order, use class CTrade
Can you tell me what it could be?Code?
Well, there's nothing wrong with that.
//========================================================================================
void Open(int lot,string comment)
{
bool eror=false;
int step=0;
if(TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)==1)
{
while(eror==false&&&step<10)
{
double bid=SymbolInfoDouble(symbolName,SYMBOL_BID);
eror=Trade.Buy(lot,symbolName,bid,0,0,comment);
step++;
Sleep(200);
if(eror==false)Print("error - ",GetLastError());
}
}
}
let's just say it's a scalper putting in very often
and can work for example an hour or 2 sometimes half an hour all right
and then an error and hangs
Well, there's nothing wrong with that.
A bid purchase at the very least.
and then an error and hangs
Log before hanging?