K:=EMA(C,2);
K1:=EMA(K,2);
K2:=EMA(K1,2);
K3:=EMA(K2,2);
快:=EMA(K1,3),COLORRED,LINETHICK1;
中:=EMA(K2,5),COLORYELLOW,LINETHICK1;
慢:=EMA(K3,7),COLORBLUE,LINETHICK1;
DRAWBAND(快,RGB(50,50,125),慢,RGB(0,105,0));
K线:DRAWKLINE(H,O,L,C);
限时:=1;{九毛八公式指标网www.9m8.cn}
重心:=(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
DRAWTEXT(CROSS(ZJ,SJ) AND SJ 70 AND 快 慢 AND ((H-O) (O-C) AND C O) AND REF(C,1) REF(C,2)*1.095,H+0.07,' 洗盘'),COLORGREEN;
A1:=EMA(C,14),COLORWHITE,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100* 限时,NODRAW;
突破:=REF(EMA(C,14),1),NODRAW;
距离:=(C-突破)/突破*100,NODRAW;
入场:=IF(A1X =0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1;
出逃:=IF(A1X 0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1;
钱袋子:=DRAWICON(CROSS(A1X,0) AND C =REF(HHV(H,7),1) AND C REF(C,1)*1.097,L,9);
DRAWTEXT(CROSS(A1X,0) AND C =REF(HHV(H,7),1) AND C REF(C,1)*1.097 ,L-0.18,' 起爆')COLORBLUE;
DRAWTEXT(CROSS(A1X,0) AND C =REF(HHV(H,7),1) AND C REF(C,1)*1.097 AND C=H,L-0.18,'打首板')COLORWHITE;