HJ_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_2:=EMA(HJ_1,9);
HJ_3:=(HJ_1-HJ_2)*2;
HJ_4:=HJ_3>REF(HJ_3,1) AND HJ_3<0;
HJ_5:=BARSLASTCOUNT(HJ_4)>1;
HJ_6:=LOW;
HJ_7:=HJ_3>REF(HJ_3,20) AND HJ_6 AND HJ_3<0;
MACD背离区:IF(HJ_7,0.2,0),COLORYELLOW;
易鸣抄底信号:IF(HJ_7 AND CROSS(KDJ.J,20) AND HJ_1<0,0.8,0),COLORRED;
HJ_8:=HJ_7 AND CROSS(KDJ.J,20) AND HJ_1<0;
DRAWICON(HJ_8,0.8,13);
DRAWICON(HJ_8,0.6,38);
DRAWICON(HJ_8,0.5,41);
DRAWICON(HJ_8,0.4,38);
DRAWICON(HJ_8,0.3,38);
DRAWICON(HJ_8,0.2,38);
DRAWICON(HJ_8,0.1,38);
DRAWICON(HJ_8,0,38);
2018959523147719.png
|