Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1615

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
But when you click, the button just visually doesn't seem to click, which makes sense.
But when you click, the button just visually doesn't seem to click, which makes sense.
The entire programme is delayed. Not good... For a simple variant, of course, it's fine. But for normal - you need to poll the values of the pressed buttons in the millisecond timer and, if after pressing the button the required delay time has passed - set a flag.
That'll do, thank you.
In a closed market, be surprised how a button like this works
Try this.
Better yet, prescribe,
if there are no open sell orders, delete the sell line...
similar for the bai
Thanks for the tip but it did not help
The entire programme is delayed. Not good... For a simple variant, of course, it's fine. But for normal - you need to poll the values of the pressed buttons in the millisecond timer and if after pressing the button the required delay time has passed - set a flag.
Yes, it's not good. Is it ok?
Isn't it equivalent to Sleep(100)? After all, the program will hang in a loop until break is executed.Yeah, that's not good. Is that OK?
Isn't it equivalent to Sleep(100)? After all, the program will hang in a loop until break is executed.