Of course, you can. You just did:
array[i] = array2[i] + adxreturn;
Show us your attempt (using the CODE button)
and state the nature of your problem.
No free help
2017.04.21
Or pay someone. Top of every page is the link Freelance.
Hiring to write script
- General - MQL5 programming forum
2018.05.12
Of course, you can. You just did:
Show us your attempt (using the CODE button)
and state the nature of your problem.
No free help
2017.04.21
Or pay someone. Top of every page is the link Freelance.
Hiring to write
script - General - MQL5 programming forum
2018.05.12
Thanks for quick reply. However, I can't show you code.
If I write this line of code, it gives array out of range error.
Thank you so much again, I'll try it once again. Maybe I am making mistake somewhere else.
Hi there!
Finally, I solved my problem using a variable, not array.
a = array[i] + adxreturn;
I declared a global variable and assigned value to it in for loop, and it solved my problem.
Thank you!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi there!
I have a MetaStock indicator and I am converting it to MQL4. But I am stuck at addition of elements of arrays with return parameter of a stock indicator.
For example, I can't do:
How can I do that?
Thanks!