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
defining the array size at the beginning also deoesn't work.
1046 was the number of bars in my terminal and I got it by Alert(Bars);
In both cases
L1[i]=Price[i];
was working. So there was no problem in initialization of array L1[i]
after all discussions, I think this is correct to conclude there is a bug in iMaOnArray.
ArrayCopySeries does not copy real data, acess redirected only. This is not good idea to use series with iMAOnArray. Use standard iMA!
If You need real copying then use ArrayCopy