【选股】
急速超跌:=(C-MA(C,34))/MA(C,34)*100 {34日乖离率}
当日收阳:=(H-L)/L 0.07{当天振幅大于7%}
AND (C-O)/O 0.07{当天的K线实体长度大于7%}
AND C/REF(C,1) 1.05{当日涨幅超过5%};
CDSY:=急速超跌 AND 当日收阳 ;{自编枯木逢春}
XL2:=LLV(L,3)=LLV(L,60) AND C/REF(C,1) =1.04; {爆点 60.64%}
XL3:=(C-EMA(C,21))/EMA(C,21)*100;
XL4:=CROSS(XL3,-20);{爆破}
XL5:=LLV(L,3)=LLV(L,120) AND C/REF(C,1) =1.06; {爆炸}
XL6:=(C-MA(C,24))/MA(C,24)*100;
XL7:=CROSS(XL6,-20);{启爆}
XG:CDSY OR XL2 OR XL4 OR XL5 OR XL7;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2 0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:W4 AND COUNT(W4,5)=1;
中线启动公式,抓涨停股
源码
aa:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
bb:=EMA(CLOSE,12)-EMA(CLOSE,26);
zz:=EMA(bb,9);
MACD:=(bb-zz)*2;
XG:CROSS(C,aa) AND MACD 0 AND REF(EVERY(MACD REF(MACD,1),3),1) AND MACD REF(MACD,1);