Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 583

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
And then how do we figure out which value to use?
Or did you mean to declare an array? Then int N[6] = {1, 2, 5, 9, 15, 19};
I don't use such arrays, if I've made a mistake, please let somebody correct me...
Arrays are not suitable. The values of array elements are accessed element by element, i.e. you can access only one of the elements at a time.
Inthe tester it is necessary to limit trading on certain days of the month. How can we make the days of the month simple and easy to change?
Inthe tester it is necessary to limit trading on certain days of the month. How can we make the days of the month simple and easy to change?
https://docs.mql4.com/ru/constants/structures/mqldatetime
https://docs.mql4.com/ru/constants/structures/mqldatetime
Thank you!
int N[5] = {1, 2, 5, 9, 15, 19} - too many initializers
int N[6] = {1, 2, 5, 9, 15, 19};
N[0] =1
N[1] = 2
N[2] = 5
N[3] = 9
N[4] = 15
N[5] = 19
Pro, can you tell me how to set a check box in the indicator parameters, so that if the indicator has a check box in the menu - count one, not - another. Thank you...