VAR1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1),COLOR0000FF;
VAR4:=SMA(VAR3,3,1),COLOR00FFFF;
金叉:IF(crOSS(VAR3,VAR4) AND (VAR3<13),0.9,0),COLOR0000FF,LINETHICK2;
STICKLINE(金叉,0.0,0.6,2,0),COLORRED;