【资料名称】:带顶背离底背离画线的MACD副图指标 源码 通达信 贴图介绍【资料描述】:
带顶背离底背离画线的MACD副图指标 源码 通达信 贴图
指标使用了DRAWLINE函数,所有显示有未来函数。
低位金叉选股源码:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
低位金叉:(CROSS(DIFF,DEA) AND DIFF<-0.1)*信号;
二次金叉选股源码:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0))*信号;
二次金叉:(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1)*信号;
gd60951
【下载地址隐藏】: 点:回复可见地址