MM5:=MA(CLOSE,5),COLORYELLOW;
MM10:=MA(CLOSE,10);
VOI5:=MA(VOL,5);
VOI10:=MA(VOL,10);
条W1:=CROSS(MM5,MM10);
条W2:=CROSS(VOI5,VOI10);
条W3:=CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
TIAOJIAN1:=COUNT(条W1,10)>0;
TIAOJIAN2:=COUNT(条W2,10)>0;
TIAOJIAN3:=COUNT(条W3,10)>0;
买Q:=TIAOJIAN1 AND TIAOJIAN2 AND TIAOJIAN3;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
买Q AND CROSS(DIFF,DEA) AND DIFF<-0.1;
版权声明:文章来自网络!方法技巧仅供参考!拾荒网10Huang.CN,财富在手十指紧握!与努力的人共勉!