分时主图(源码 分时主图 通达信 贴图)

[复制链接]
查看36 | 回复0 | 2022-6-27 23:36:47 | 显示全部楼层 |阅读模式

分时主图

DRAWTEXT_FIX(ISLASTBAR,0.00,0.06,0,STRCAT('涨家数: ',CON2STR(DYNAINFO(60),0))),COLORLIRED;

DRAWTEXT_FIX(ISLASTBAR,0.00,0.14,0,STRCAT('跌家数: ',CON2STR(DYNAINFO(61),0))),COLORGREEN;

总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;

DRAWTEXT_FIX(ISLASTBAR,0.0,0.22,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORCYAN;

DRAWTEXT_FIX(ISLASTBAR,0.5,0.08,0,CODE),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.45,0.08,0,STKNAME)COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.08,0,HYBLOCK),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,DYBLOCK),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.3,0.79,0,GNBLOCK),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.3,0.87,0,FGBLOCK),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.3,0.95,0,ZSBLOCK),COLORWHITE;

今日开盘线:DYNAINFO(4),COLORMAGENTA;

AAA:=MAX(DYNAINFO(3),DYNAINFO(5));

BBB:=MIN(DYNAINFO(3),DYNAINFO(6));

CCC:=AAA-BBB;

中轨:=(AAA+BBB)/2,COLOR999900;

DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);

DEAA:=EMA(DIFF,9);MACD:=(DIFF-DEAA)/4;

阻力:BBB+CCC*7/8,COLOR00DD00,LINETHICK2;

支撑:BBB+CCC*1/8,COLOR00DD00,LINETHICK2;

上顶:BBB+CCC*2/3,COLOR999900;

下底:BBB+CCC/3,COLOR999900;

价:C,COLOR00FFFF;  

最新:C,LINETHICK9,COLORFFFF00;

IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLOR0909FF;

DRAWICON(LONGCROSS(支撑,C,2),C,1);

DRAWICON(LONGCROSS(C,阻力,2),C,2);

p20161202181595062.jpg

p20161202181595062.jpg

2016120218825251.rar

2.37 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

2016120218825251.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则