moving average over a custom indicator
Combine the two indicators into a single CustomAB indicator would be my first thought as to a solution.
Second thought is you didn't supply any parameters for the first indicator in the iCustom() call.
should i use iMAOnArray? how?
for(i=0; i<limit; i++) {
Custom_A[i] = iRSI(NULL,0,Periodo,PRICE_CLOSE,i) + iMFI(NULL,0,Periodo,i);
}
for(i=0; i<limit; i++) {
Custom_B[i] = iCustom(NULL,0,"Custom_A",Period,0,i) - iMA(b5vg,0,Period,0,MODE_EMA,PRICE_CLOSE,i);
}