看在你的35分的份上,給你做一個(gè)吧??勺龈眻D使用也可預(yù)警使用。 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); XG1:=DIFF>0 AND DEA>0 AND CROSS(DIFF,DEA) AND COUNT(CROSS(DIFF,DEA),BARSLAST(CROSS(DIFF,DEA) AND DIFF<0))<2; XG2:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0))=2,30)=1; XG:XG1 OR XG2; |
|