VAR1:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR2:=ABS(VAR1);
VAR3:=SMA(VAR2,3,1);
VAR4:SMA(VAR3,5,1),COLORGREEN;
D1:=SMA(VAR4,8,1),COLORGREEN;
STICKLINE(VAR4>D1,VAR4,D1,2,0),COLORLIRED;
STICKLINE(VAR4<D1,VAR4,D1,0,0),COLOR00FF00;
持股:IF(VAR4>REF(VAR4,1) AND VAR4>=0,VAR4,DRAWNULL),COLORRED,LINETHICK2;