There is a solution for it?
Thanks
Ok, are you doing reference to this part?
for(int i=limit;i>=0;i--)
I changed it to
for(int i=limit;i>0;i--)
but the problem remains.
Now I realize that this problem only occurs when I do an average of an array ( when I use iMAOnArray function).
Any idea to solve this problem?
WHRoeder, thanks for your help.
rodrigosm

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
I've been build some indicators, but most of them have the same errors:
Just at the moment when a new bar appears, the indicator shows zero. If a new tick comes, the indicator come back to it's normal value.
If I change the time frame, the indicator disappears.
Example :