以下是通达信分时主图(源码 分时主图 贴图)
主图应求助者写,买卖线达标提示。用者自己负责,无未来!
小于均价:=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;
{=====================================}
不显示是价格未接近,提前显示会造成图形压缩。
还有股巿结束,无数字空间,用分时重播能看到!
因保留小数点问题,副件价格出错!现将无错原码贴出,造成不便致歉!
评论(0)