背离小黑马
2011-02-21 11:30:00来源:本站整理浏览:80
DIFFYC:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEAYC:=EMA(DIFFYC,9),COLORFFFF00;
A1YC:=BARSLAST(REF(CROSS(DIFFYC,DEAYC),1));
底背离YC:=REF(CLOSE,A1YC+1)>CLOSE AND DIFFYC>REF(DIFFYC,A1YC+1) AND CROSS(DIFFYC,DEAYC);
DEAYC0:=EMA(DIFFYC*100,9);
MACD0:=2*(DIFFYC*100-DEAYC0);
黑马:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15);
小牛:(底背离YC AND 黑马)*12000,COLORYELLOW,LINETHICK2;