以下是通达信买卖线达标提示分时主图指标(无源码的请下载附件导入)
小于均价:=DYNAINFO(11)-DYNAINFO(11)*0.0317,COLORYELLOW,CROSSDOT;
高于均价:=DYNAINFO(11)+DYNAINFO(11)*0.0317,COLORYELLOW,CROSSDOT;
A:IF(DYNAINFO(6)*0.995<小于均价 ,小于均价,DRAWNULL),DOTLINE,COLORYELLOW;
B:IF(DYNAINFO(5)*1.005>高于均价 ,高于均价,DRAWNULL),DOTLINE,COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1 ,A,A),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1 ,A,' 元跌落买'),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1 ,B,B),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1 ,B,' 元冲顶卖'),COLORYELLOW;
均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
C,COLORWHITE,LINETHICK3;
DRAWNUMBER(CURRBARSCOUNT=1,DYNAINFO(7) ,C),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,DYNAINFO(7) ,' 元现价'),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1,均价,均价),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,均价,' 元均价'),COLORYELLOW;
633544613.jpg
|