string syms[] = {"EURUSD","USDJPY"}; // Currency pair symbol array for(int i=0; i < ArraySize(syms); i++) { double RSI = iRSI( syms[i], 15, 7,PRICE_CLOSE,0 ); // ... }