通达信金底埋伏副图+红柱关注选股预警 源码 附图
GUP1:=((CLOSE / MA(CLOSE,40)) * 100);
GUP2:=((CLOSE / MA(CLOSE,60)) * 100);
GUP3:=(HIGH > (LOW * 1.051));
GUP4:=(GUP3 AND (COUNT(GUP3,5) > 1));
GUP5:=((GUP4 AND ((GUP1 < 76) OR (GUP2 < 74))) AND (ABS((CLOSE - OPEN)) > ((0.1 * 0.1) * REF(CLOSE,1))));
埋伏:(0 - 76),COLORYELLOW;
金底:(0 - 74),COLORRED;
GUP6:=IF((GUP1 > 90),90,GUP1);
GUP7:=IF((GUP2 > 90),90,GUP2);
IF(CLOSE,(0 - GUP6),DRAWNULL),COLORMAGENTA;
IF(CLOSE,(0 - GUP7),DRAWNULL),COLORGREEN;
确认:STICKLINE(GUP5,(0 - 70),(0 - 76),2,0),COLORWHITE;
警戒:STICKLINE(((GUP6 < 80) OR (GUP7 < 78)),(0 - 90),(0 - 87),2,1),COLORYELLOW;
关注:STICKLINE(((GUP6 < 76) OR (GUP7 < 74)),(0 - 90),(0 - 87),2,1),COLOR0000FF;
底部:STICKLINE(GUP5,(0 - 60),(0 - 55),2,1),COLORFF0000;
DRAWICON(GUP5,(0 - 53),1);