DIF绝不放过牛股的选股公式
2020/7/12 19:22:10
公式编写说明:
感谢判官老师的无私奉献,引用判官老师的DIF绝不放过牛股副图:DIF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;A:REF(HHV(DIF,55),1);前高:=A=REF(A,1) AND CROSS(DIF,A) AND COUNT(REF(DIF<A,1),3)>2;A1:PEAK(DIF,1,1);{前一个波峰}波峰:=A1=REF(A1,1) AND CROSS(DIF,A1) AND COUNT(REF(DIF<A1,1),5)>4;{恐惧画线型指标的同学慎用};J:=VOL*C;JO:=SUM(J,2)/SUM(VOL,2);J0:=EMA(JO,10);JOO:=(JO-J0)*20/JO;LI:=EMA(IF(JOO>0 AND JOO<REF(JOO,1),0,JOO),3);XIANG:=CROSS(REF(LI,1),LI) AND LI>0;PAN:=EMA(IF(JOO<0 AND JOO<REF(JOO,1),0,JOO),3);GUAN:=CROSS(REF(PAN,1),PAN) AND PAN<0;I3:=DIF; I4:=REF(I3,1);STICKLINE(I3>I4,I3,I4,2.3,0),COLOR0000FF;STICKLINE(I3>I4,I3,I4,0.3,0),COLORCC66FF;STICKLINE(I3<I4,I3,I4,2.3,0),COLOR00BB00;STICKLINE(I3<I4,I3,I4,0.3,0),COLOR00FF00;STICKLINE(XIANG,I3,I4,2.15,0),COLOR545454;STICKLINE(GUAN,I3,I4,2.15,0),COLORDB7093;DRAWICON(波峰,A1,17),COLORYELLOW,LINETHICK2 ;DRAWICON(前高,A,16),COLORYELLOW,LINETHICK2 ;dif钝化时不建议使用波峰突破。a1线处于下降途中时dif去上穿A1为最佳介入机会如图
公式源码回答:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
A1:=PEAK(DIF,1,1);
cross(dif,A1);
投股 票网 www.tou1 8.cn
股市公式下载推荐