Indicator disappears
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
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 :