Questions from Beginners MQL5 MT5 MetaTrader 5 - page 794

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
Friends, help a dummy. The idea is as follows: When the "Ind" variable reaches the set level, switch to waiting for "Value" to change direction while waiting for "Ind" to no longer reconcile.
What is the right way to do this?
replace by
...
...
Please insert code correctly:Insert code correctly on the forum
Friends, help a dummy. The idea is as follows: When the "Ind" variable reaches the set level, we switch to waiting for "Value" to change direction, without checking "Ind" again while waiting.
What is the correct way to do it???
I think there is a mistake here :
It has to be:
I think there's a mistake here:
It has to be:
Where on the keyboard is the paragraph symbol? I thought it had been disabled...
I think there's a mistake here:
It should be:
replace with
If I did the right thing (which is doubtful) it hangs, apparently it won't come out of cycle.
Tried it, same thing. When Ind exceeds level, it hangs.
1. Make bool pravda global.(https://www.mql5.com/ru/docs/basis/variables/global)
2. Replace while with if.
3. When if (from step 2) works, return pravda=false.
Friends, help a dummy. The idea is as follows: When the "Ind" variable reaches a given level, we switch to waiting for "Value" to change direction while waiting for "Ind" not to be checked again.
What is the right way to do it???