通达信原创张清华KDJ均线战法 主图指标
J5:MA(C,5),COLORRED,LINETHICK2;
Z5:=REF(MA(C,5),1);
IF(J5>=Z5,J5,DRAWNULL),COLORWHITE,LINETHICK2;
IF(J5<Z5,J5,DRAWNULL),COLORGRAY ,LINETHICK2;
J18:MA(C,18),COLORYELLOW ,LINETHICK3;
Z18:=REF(MA(C,18),1);
IF(J18>=Z18,J18,DRAWNULL),COLORMAGENTA ,LINETHICK3;
IF(J18<Z18,J18,DRAWNULL),COLORFF0080,LINETHICK3;
J31:MA(C,31),COLORWHITE,LINETHICK4;
Z31:=REF(MA(C,31),1);
IF(J31>=Z31,J31,DRAWNULL),COLOR0000FF,LINETHICK4;
IF(J31<Z31,J31,DRAWNULL),COLORBLUE,LINETHICK4;
股东权益:FINANCE(36),NODRAW;
每股公积:FINANCE(18),NODRAW;
所属地区:DRAWTEXT_FIX(1,0,0,0,'地区:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK),COLORYELLOW;
所属行业:DRAWTEXT_FIX(1,0,0.08,0,'行业:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.08,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(1,0,0.16,0,'概念:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.16,0,GNBLOCK),COLORYELLOW;
所属风格:DRAWTEXT_FIX(1,0,0.24,0,'风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.24,0,FGBLOCK),COLORYELLOW;
涨跌停:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(涨跌停>9.8,O,C,3,0),COLORYELLOW;
STICKLINE(涨跌停<-9.8,O,C,3,0),COLORGREEN;
STICKLINE(涨跌停>6 AND 涨跌停<9.8,O,C,3,0),COLORRED;
- 上一篇公式:通达信主力进场 副图源码
- 下一篇公式:通达信怪异涨停(鹏腾2009版本)主图源码