九毛八公式指标
公式模块:
求macd0轴之上金叉然后死叉然后再金叉,也就是二次金叉的预警公式!要通达信的!谢谢老师! DIFF:=EMA(CLOSE,5)-EMA(CLOSE,26);
DEA:=EMA(DIFF,50);
MacD:=2*(DIFF-DEA);
JCCOUNT:=COUNT(crOSS(DIFF,DEA),BArslAST(DEA>=0));
二次金叉:CROSS(DIFF,DEA) AND DEA>0 AND COUNT(JCCOUNT=2,21)=1;