ZIG0:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZIG1:=CROSS(ZIG0,10);
A1:=(2*CLOSE+HIGH+LOW)/4;
A2:=LLV(LOW,27);
A3:=HHV(HIGH,27);
A4:=EMA((A1-A2)/(A3-A2)*100,13);
A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);
ZIG2:=CROSS(A4,A5) AND A4<16;
ZIG3:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
ZIG4:=( MA((CLOSE-ZIG3)/ZIG3,1));
PEAK1:=EMA(ZIG4,12)*0.7;
PEAK2:=EMA(ZIG4,3);
{}
SS:=IF(LLV(PEAK2-PEAK1,12)>0,0,3);
主力洗盘进场:ZIG1 AND ZIG2 AND SS=3,NODRAW,COLORGREEN;
STICKLINE(主力洗盘进场,0,20,2,0),COLORMAGENTA;
DRAWTEXT(主力洗盘进场,10,'〓主力洗盘进场〓'),COLORYELLOW;