小散实用的三个选股预警指标《源码有图》
{百万买入}
趋势线:=(((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))-50)*(1.032)+50);
CROSS(趋势线,21);
MACD顶背离+后金叉+ 底背离选股
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,MID);
MACD:=(DIFF-DEA)*2;
{低位金:=CROSS(DIFF,DEA) AND DIFF<-0.1;}
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,34)=1;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
二次金 AND { (底背离 OR 顶背离 AND} DEA<0.2;
KDJMTM金叉选股选股
{KDJMTM金叉选股}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MTM:=CLOSE-REF(CLOSE,12);
MAMTM:=MA(MTM,6);
选股:CROSS(J,K)&&CROSS(MTM,MAMTM);
- 上一篇公式:底部区入货点---非常棒
- 下一篇公式:自用的抄底副图预测第二天走势的指标(源码+贴图=无未来+使用说明)