X_1:=REF(CLOSE,1); X_2:=SMA(MAX(CLOSE-X_1,0),5,1)/SMA(Abs(CLOSE-X_1),5,1)*100; X_3:=SMA(X_2,5,1); X_4:=BARSLAST(X_2<=15)<5; X_5:=SMA(X_2,5,1); X_6:=crOSS(X_2,X_3) AND X_5>15 AND X_4; XG:FILTER(X_6,10);