Help with Array Out of Range - Solved
OK... I figured it out...
I was missing
IndicatorBuffers(6);
In the OnInit().
Hiltos: I'm getting an array out of range on this custom indi. I can't seem to figure out why.
pos = rates_total - prev_calculated ;
:
AMA0=Close[pos+1];First pass prev_calculated is zero and pos therefor equals the number of bars. Close index is [zero to Bars - 1]. You index out of range.
Hey all,
I'm getting an array out of range on this custom indi. I can't seem to figure out why. Any help is greatly appreciated!