LT:=LLVBARS(L,250);LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);HT:=FINDHIGHBARS(H,LT+1,120,1);EXT1:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK2;C1:=REF(C,BARSLAST(CURRBARSCOUNT=CONST(HT)+1)+1);TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);T:=BARSLAST(OSS(C,REF(H,TT)));GL:=C/REF(H,TT);TA:=BARSLAST(GL=HHV(GL,T+1));DF:=(C-REF(C,TA+1))/REF(C,TA+1)*100;JL:=L/REF(H,TT);XG:=DF<-8 AND DF>-30 AND JL<1>=REF(H,TT);XGT:=BARSLAST(COUNT(XG,T+1)=1 AND XG);QF:=BACKSET(XGT=0,TA+1)