X:0,COLORWHITE;
Q:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))
/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);
K:=IF((Q =5),10,0);
STICKLINE(K,-0.5,0.5,5,0),COLORYELLOW,LINETHICK2;
D:=ZIG(3,10);{九毛八公式指标网www.9m8.cn}
A:=REF(D,0) REF(D,1);
AA:=REF(A,0)=1 AND REF(A,1)=0;
BB:=REF(A,0)=0 AND REF(A,1)=1;
STICKLINE(AA,0,1.5,1,0 ),COLORRED;
STICKLINE(BB,0,1.5,1,0 ),COLORGREEN;