Please insert the code correctly: when editing a message, press the button
and paste your code into the pop-up window. (The first time I corrected your message)


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
Hi, I'm just learning MQL5 and I have a question that has got me stuck.
I'm trying to write a basic script that adds up all of the price values within an array
I'm sure I have completely botched it.
However what I want is to get the data from index 0-10 and add them together by using a for loop on pricedata[x] where x is x + x++ and then extract the data for each value of x.
Would appreciate the help.