Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1747
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
Thank you.
It turns out that there are different functions with the same name, but youcan't make it possible to pass a different number of parameters?
It will draw even with a minimum of parameters
Greetings. Could you please tell me if and how it is possible to do this?
Is it possible to write your functions so that you can pass different number of parameters to written functions?
How, for example, in this function, you can pass 4 or 5 parameters.
The result is
Please help, I can't figure out what the error is
I wanted a uniform wave, but for some reason "0" goes twice
Why doesNormalizeDouble sometimes not work?
When I print an array to the log, almost all double values are printed to the specified 1 decimal place, and some 3-4 values (out of a hundred) with 15 digits.
...
2021.11.15 04:01:07.821Sov2EURUSD,M1: 9.9
2021.11.15 04:01:07.724 Sov2 EURUSD,M1: 9.800000000000001
2021.11.15 04:01:07.675 Sov2 EURUSD,M1: 9.9
2021.11.15 04:01:07.626 Sov2 EURUSD,M1: 9.6
2021.11.15 04:01:07.577 Sov2 EURUSD,M1: 9.1
...
Please help, I can't figure out what the error is
Wanted a uniform wave, but for some reason "0" goes twice
because the conditions are confusing, on one iteration of the loop you should only have the up flag in one state, and you can have true and in the same iteration of the loop become false
I would write it that way in general:
because the conditions are confusing, on one iteration of the loop you should only have the up flag in one state, but you can have true and in the same iteration of the loop become false
I would write it that way in general:
Can you tell me how to do it correctly
not to enter all elements that I want to add up, but just specify 5 elements
If you rename it to *.mq4, everything is fine.
If you compile it that way, you get errors.
I have no errors
I have no errors.
Anyway, it's not critical. Thanks for your help.