MataNui / Publications
Forum
iMAOnArray limitations?
Hi, I have 2 moving averages on an ocillator and i need to get the values (a sort of MA cross of ocillator rather than price) but seem to have a small problem. Here is the code: double AO[]; ArrayResize(AO, Bars); ArraySetAsSeries(AO,true); for(int i=Bars; i>=0; i--) { AO[i]=iAO(NULL, 0, 0);