value_a1:=ma(vol,100);
value_a2:=cross(value_a1,vol)-cross(vol,value_a1);
value_a3:=if(value_a2>0,value_a2,drawnull);
value_a4:=min(vol,value_a1*0.809)=vol;
value_a5:=count(value_a4,value_a3)>=value_a3*0.618 and value_a3>=5;
value_a6:=filterx(value_a5,barscount(close));
value_a7:=(close-ref(close,1))/ref(close,1)*100;
value_a:barssince(barslast(value_a6) and value_a7>=9.95)=0;