BB:=REF(CLOSE,1);CC:=SMA(maX(CLOSE-BB,0),2,1)/SMA(Abs(CLOSE-BB),2,1)*100-50,COLORLIMAGENTA,LINETHICK2;XG:crOSS((-40),CC);