[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 116
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
alsu,
if (condition && condition2) - the body of this operator is not executed if both conditions are not met.
do you know how to make the body be executed until both conditions are false?
except create a check if (!condition && !condition2) bool lozh=true; and execute the body until lozh is true
Look for a non-standard one.
on the previous page is the answer to that question.
нет. https://www.mql5.com/ru/forum/129359
Good evening everyone!
I have this question.
There is a function -
и
Its main task is to add a new tick to the array(double &CUR[] and then double &Arr[]), which contains the last few ticks, by shifting the current values down by one, using a buffer. The buffer, as well as the array with values, is predefined, but has a unit dimension, but in the array_recount function, its dimension is changed to the dimension of the array with values. At the end of the function its dimensionality is reduced to one again.
The point of the issue is that these functions are not executed by the system. Namely, the Prints in these functions, are not printed in the log, but the Print at start is updated with every tick.
What could be the problem?
Thank you in advance for your reply!
Hello all! Guys from Moscow, please call out please, I need help writing a trading robot, I would like to discuss the topic in ase, I'm weak in programming, I hope for your help!
Good evening everyone!
I have this question.
There is a function -
и
Its main task is to add a new tick to the array(double &CUR[] and then double &Arr[]), which contains the last few ticks, by shifting the current values down by one, using a buffer. The buffer, as well as the array with values, is predefined, but has a unit dimension, but in the array_recount function, its dimension is changed to the dimension of the array with values. At the end of the function its dimensionality is reduced to one again.
The point of the issue is that these functions are not executed by the system. Namely, the Prints in these functions, are not printed in the log, but the Print at start is updated with every tick.
What could be the problem?
Thanks in advance for the answer!
Thank you all, sorry for the inconvenience...
Figured it out))
alsu,
if (condition && condition2) - the body of this operator is not executed if both conditions are not met.
do you know how to make the body be executed until both conditions are false?
except create a check if (!condition && !condition2) bool lozh=true; and execute the body until lozh is true
The question is how do I make the body go until both conditions are false.
Yeah, I'm dumb :D
you can write if (!condition && !condition2)