I have figured it out myself. When I used iCustom(), The buffer index number were set at 3, so it would not return higher values. Thank you.
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, Coders,
Happy trading!
I am trying to build a custom indicator using several arrays. The way I used them is like this: Array B [ ] is the sum of certain number of Array A [ ]. Array C [ ] is the sum of certain number of B [ ], and D [ ] is the sum of C [ ] and so on to many levels. When I tested this indicator, it only returns the Array value to the third level C [ ]. It ignores anything above. I have the indicator in the a separate window which displays values of all the buffers. I output the indicator value onto the chart with a comment function, it showed only the third level of array value, but it really needs to use the D [ ] and above value for an EA. Does anyone know if this is limitation of MQL4 and is there a way to get around it? Thank you in advance.
10double