eddy: that's what it's for, that's why it's in if()
Yes, but you go into a loop and, if the condition is not met, you never get out of the loop with your code construction, it becomes infinite and is not interrupted. You can't see what the sec! parameter is, it's not declared.
Where are the "Alert" messages stored and until when? Is it possible to read them not in the "Signal" window, but by opening the place where they are located in the terminal (there are times when the window is closed when you switch to another application and you have to start the Expert Advisor again to see it, which is inconvenient) ?
that's what it's for, that's why it's in if()
int sec=Seconds();how is it not declared?:)
the cycle must be interrupted when the second changes
how is it not declared?:)
the cycle must be interrupted when the second changes
is "not equal".
Why does this code work fine for one dc, but for another OrderModify error 4051 (invalid ticket)?
void Modify ()Why isn't the cycle interrupted?
why the loop is not interrupted?
try while (false)
the loop will run as long as sec!=Seconds()
or like this
while(true)
if(sec==Seconds()) break; // new sec