(iHigh(NULL,0,i+1)>iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_MAIN,i+1) && iLow(NULL,0,i+1)>iBands(NULL,0,20,2,0,PRICE_CLOSE,MODE_MAIN,i+1))))
{
FileWrite(handle,
iWPR(NULL,0,14,i+3),
iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,i+3),
iRVI(NULL,0,10,MODE_MAIN,i+3),
iRSI(NULL,0,14,PRICE_CLOSE,i+3),
iOsMA(NULL,0,12,26,9,PRICE_CLOSE,i+3),
iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,i+3),
iWPR(NULL,0,14,i+2),
iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,i+2),
iRVI(NULL,0,10,MODE_MAIN,i+2),
iRSI(NULL,0,14,PRICE_CLOSE,i+2),
iOsMA(NULL,0,12,26,9,PRICE_CLOSE,i+2),
iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,i+2),