
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
Thanks for the invitation but I will politely decline ;-)
I will keep an eye on this thread though.
I mean it!
Yep, I've read some like this https://www.mql5.com/en/forum/139964.
My poor brain cannot understand this following code which is shown by WHRoeder in the link above.
Please someone explain it.
Explain me what you are doing
I see ArrayA[ ] is type integer
ArrayB[ ] is log10
and there is an ArrayC [ ] [ ] type double
and with some calculation you get result [ ] [ ]
if i see some example with result maybe i can help
Hi, it has been a long time, bright advisers here!
I finally gave up using 2 dimentional array.
I think it is not so useful on MQL as long as we cannot resize it.
So have rebuilt whole the program with single dimentional arrays as below for example.
A kind of virtual multi dimention........
How inconvenient!
Anyway, thank you all for kind advisings!
Hi, it has been a long time, bright advisers here!
I finally gave up using 2 dimentional array.
I think it is not so useful on MQL as long as we cannot resize it.
So have rebuilt whole the program with single dimentional arrays as below for example.
A kind of virtual multi dimention........
How inconvenient!
Anyway, thank you all for kind advisings!
You might want to change this line, I'm not 100% sure, but what you have may give you some unexpected type casting issues . . .
From . . .
to . . .
ArrayResize() takes an int type for it's new_size parameter. Dividing by 2 instead of multiplying by 0.5 keeps all the values in the calculation as ints.
You might want to change this line, I'm not 100% sure, but what you have may give you some unexpected type casting issues . . .
From . . .
to . . .
ArrayResize() takes an int type for it's new_size parameter. Dividing by 2 instead of multiplying by 0.5 keeps all the values in the calculation as ints.
Thanks, RaptorUK!
You always help me.
Actually I have never been aware that mistake because I have always put even numbers as the no_elements.
Anyway I will post a new topic.
I will appreciate you replying on it too.
Thanks, RaptorUK!
You always help me.
Actually I have never been aware that mistake because I have always put even numbers as the no_elements.