BB5:=SMA(MAX(CLOSE-BB4,0),6,1)/SMA(ABS(CLOSE-BB4),6,1)*100; BB6:=COUNT(BB5 20,20) BB108:=BB3 9 AND BB6; BB7:=(CLOSE-OPEN)/OPEN*100; BB8:=REF(CLOSE,1); BB9:=SMA(MAX(CLOSE-BB8,0),6,1)/SMA(ABS(CLOSE-BB8),6,1)*100; BB10:=COUNT(BB9 20,20) BB109:=BB7 9 AND BB10; XG:(BB108 OR BB109