九毛八公式指标
MACD金叉死叉的日期。
公式模块:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;
DEA:EMA(DIFF,9),COLORGREEN;
DRAWICON(crOSS(DIFF,DEA),L-0.1,1);
DRAWICON(CROSS(DEA,DIFF),H+0.1,2);
日期2:=REF(DATE,BArslAST(CROSS(DIFF,DEA)))+19000000;
日期3:=REF(DATE,BARSLAST(CROSS(DEA,DIFF)))+19000000;
DRAWNUMBER(CROSS(DIFF,DEA),LOW*0.98,日期2);
DRAWNUMBER(CROSS(DEA,DIFF),H*1.02,日期3),COLORCYAN;