Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1056
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
Nope. like GoTo or ToDo . when the condition is met, the program starts code execution at the specified mark
Oh, like in Wasik... No, mql is a C-like language. Here instead of such constructs there are user-defined functions and the condition goes to one or another user-defined function. And after the function is executed, the execution moves to the next line of the main code after the condition.
Or see switch operator in the language help. Maybe that's what you mean?
Nope. like GoTo or ToDo . when the condition is met, the program starts code execution at the specified mark
That's BASIC for you, then.
Ahh, like in Wasik... No, mql is a C-like language. There are user-defined functions instead of such constructs and the condition jumps to one or another user-defined function. And after the function is executed, execution switches to the next line of the main code after the condition.
Or see the switch operator in the language reference. Is this what you mean?
That's BASIC for you, then.
Oof...
All right. We'll keep looking.
Thanks
Thanks, but it's a bit cumbersome.
Thanks, but it's a bit cumbersome.
A huge step was made in the development of all programming paradigms when they got rid of GoTo.
To put it simply - using this operator did not allow to create intelligible-checkable program logic, and its complexity quickly tended to infinity as the number of lines increased.
That was ~30 years ago. just for reference.
only in terminal - service - setup - events
Can't change there now. Don't know why.
checked, you can - top drop-down list item - Choose other - then select sound from the sound folder in the explorer
You cannot change it there now. I don't know why.
Just checked, it can be changed. But this change will be for all alerts for the terminal. And if you need to use PlaySound() on each condition, but not in someone else's function, and understand how it works yourself.
checked, you can - top drop-down list item - Choose other - then select sound from the sound folder in the explorer
Thank you, it worked.
But it doesn't solve the issue of event separation