DIFF:=EMA(DCLOSE,25)-EMA(DCLOSE,65);
DEA:=EMA(DIFF,45);
macd:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(crOSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离8:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
DRAWICON(底背离8,35,1);
发表评论