通达信庄家诱空洗盘出击指标公式源码


{庄家诱空洗盘出击}
 
MA30:=MA(C,30);
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
出击:FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
K:=SMA(RSV,3,1),COLORWHITE;
J:=3*K-2*D,COLORFF00FF;
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
MACD:=2*(DIFF-DEA);
DH:=HHV(MAX(DIFF,DEA),A);
DIFF50:=SH*DIFF+50,COLORFFFF00;
诱空:IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)< REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);