WR:=(C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*110-55;
K0:=EMA(WR,2);
K:=SMA(K0,5,1);
D0:=EMA(K,2);
D1:=SMA(D0,3,1);
J:=3*K-2*D1;
WJ:=(J-LLV(J,8))/(HHV(J,8)-LLV(J,8))*110-55;
MW0:EMA(WJ,3),colorred;
MW1:EMA(MW0,2),coloryellow;
MW2:EMA(MW1,2),colorgreen;
MW3:EMA(MW2,2),colorcyan;
MW4:EMA(MW3,2),colorblue;
龙顶:50,colorlired;
水平:0,colorwhite;
凤底:-50,colorcyan;
VERLINE(CROSS(凤底,MW0),2),colorgreen;
VERLINE(CROSS(MW0,龙顶),2),colorred;
Z0:=FLATZIG(0,5)*2-1;
买:DRAWICON(CROSS(Z0,水平),40,2);
卖:DRAWICON(CROSS(水平,Z0),-40,1);
Z1:IF(Z0>0,50,-50),coloryellow;