VAR1:=HHVBARS(HIGH,15); VAR2:=LLVBARS(LOW,15); VAR3:=(REF(CLOSE,VAR2)-REF(CLOSE,VAR1+1))/REF(CLOSE,VAR1+1)*100; VAR6:=CLOSE>=REF(CLOSE,VAR1); XG:VAR1>VAR2 AND VAR3<-5 AND COUNT(VAR6,VAR1+1)=1 AND VAR6;