In the editor press F1 and look for the array-description and start reading ...
Magaiver: I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?
|
|
Magaiver:
Simply add them all together
So i have an array, with values equal 0 or equal closing price. I need to get all values with their indexes from this array, that are not equal to zero and do math equations with them.
For eaxample: I have Buffer named Array[], and I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?
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
So i have an array, with values equal 0 or equal closing price. I need to get all values with their indexes from this array, that are not equal to zero and do math equations with them.
For eaxample: I have Buffer named Array[], and I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?