Trash For Trunkers

It’s been a hard day’s night, and I’ve been twerking like a dog…

In search of the final divergence.

Blue underscores


 if (iFractals(symbol,0,MODE_LOWER,i) && greencount[i]>=2 && Low[i]<iBands(symbol,30,30,2,0,PRICE_MEDIAN,MODE_LOWER,i)+10*Point
  ){
   j=i+1;
   while (j<=i+7){
      if (RSI2[j]<RSI2[j+1] 
      && RSI2[j]<RSI2[j-1] 
      && RSI2[j]<7.5 
      && RSI2[j]<RSI2[i]
       && Low[j]>Low[i]-20*Point
      ) break;
    j++;  
   }
  if (RSI2[j]<RSI2[j+1]
  && RSI2[j]<RSI2[j-1] 
  && RSI2[j]<7.5
   && RSI2[j]<RSI2[i]
  && Low[j]>Low[i]-20*Point
 // && Low[j]<iBands(symbol,30,30,2,0,PRICE_MEDIAN,MODE_LOWER,j)
  && High[j]>iBands(symbol,30,30,2,0,PRICE_MEDIAN,MODE_LOWER,j)-10*Point  
   ){
         ObjectCreate("120BPMMM"+IntegerToString(i),OBJ_TREND,0, Time[i], Low[i], Time[j], Low[j]);
      ObjectSet("120BPMMM"+IntegerToString(i),OBJPROP_COLOR,clrBlue);
      ObjectSet("120BPMMM"+IntegerToString(i),OBJPROP_WIDTH,12);
      ObjectSet("120BPMMM"+IntegerToString(i),OBJPROP_RAY_RIGHT,false);
   }
 }