该视频为收费视频,请购买后观看 需支付金币: 0 登录观看
源码文件下载导入即可:
源码代码:
- MA60:=MA(C,60);
- MA5:=MA(C,5);
- DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIF,9);
- MACD:=(DIF-DEA)*2;
- 均线金叉位置:=BARSLAST(CROSS(MA5,MA60));
- DEA金叉距离:=BARSLAST(CROSS(DEA,0));
- XH1:=C>MA60
- AND COUNT(C<MA60,均线金叉位置)<=2
- AND COUNT(C<MA60,均线金叉位置)>=1
- AND C>MA5
- AND MACD>REF(MACD,1)
- AND REF(MACD,1)<REF(MACD,2)
- AND DEA金叉距离<均线金叉位置
- AND COUNT(DEA>0 AND DIF>0,DEA金叉距离)=DEA金叉距离
- AND 均线金叉位置>=1
- AND COUNT(CROSS(DEA,0),均线金叉位置)=1
- ;
- XH:XH1
- AND COUNT(XH1,DEA金叉距离)=1;
复制代码
|