通达信波段转折主图/选股预警,黄K起涨,绿箭头出现减仓、止盈止损
HJ_1:=IF(DATE<99999999,1,DRAWNULL);
HJ_2:=MFI(12,9);
M3:MA(CLOSE,3);
主力线:MA(CLOSE,13),COLORYELLOW;
趋势线:MA(CLOSE,34)*HJ_1,COLORRED,LINETHICK2;
IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL)*HJ_1,COLORGREEN,LINETHICK2;
HJ_3:=IF(DATETODAY(DATE)<99999999,1,DRAWNULL);
HJ_4:=EMA(CLOSE,2)*HJ_1;
HJ_5:=EMA(SLOPE(CLOSE,9)*20+CLOSE,37)*HJ_3;
HJ_6:=CROSS(HJ_4,HJ_5)*HJ_3;
HJ_7:=CROSS(HJ_5,HJ_4)*HJ_3;
DRAWICON(HJ_6,LOW*0.97,1);
DRAWICON(HJ_7,HIGH*1.03,2);
STICKLINE(HJ_4>=HJ_5,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(HJ_4>=HJ_5,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(HJ_4>=HJ_5,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(HJ_4>=HJ_5,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(HJ_4<HJ_5,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(HJ_4<HJ_5,CLOSE,OPEN,2,0),COLORCYAN;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,3.1,0),COLOR00BBFF;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,2.7,0),COLOR00BBFF;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,2.1,0),COLOR00CCFF;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,1.5,0),COLOR00DDFF;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,0.9,0),COLOR00EEFF;
STICKLINE(CROSS(HJ_4,HJ_5),OPEN,CLOSE,0.3,0),COLORYELLOW;
STICKLINE(CROSS(HJ_5,HJ_4),HIGH,LOW,0,1),COLOR666600;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,3.1,0),COLOR555500;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,2.7,0),COLOR888800;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,2.1,0),COLORAAAA00;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,1.5,0),COLORBBBB00;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,0.9,0),COLORCCCC00;
STICKLINE(CROSS(HJ_5,HJ_4),OPEN,CLOSE,0.3,0),COLOREEEE00;
评论(0)