double BU_3_0 = iBands(NULL,0,30,2,0,PRICE_CLOSE,MODE_UPPER,0);
double BU_3_1 = iBands(NULL,0,30,2,0,PRICE_CLOSE,MODE_UPPER,1);
double BL_3_0 = iBands(NULL,0,30,2,0,PRICE_CLOSE,MODE_LOWER,0);
double BL_3_1 = iBands(NULL,0,30,2,0,PRICE_CLOSE,MODE_LOWER,1);
double Diff_1 = BU_3_1 - BL_3_1;
double Diff_0 = BU_3_0 - BL_3_0; |