通达信大盘分时(分时主图指标)

[复制链接]
查看115 | 回复0 | 2021-8-21 07:01:39 | 显示全部楼层 |阅读模式

以下是通达信大盘分时(分时主图指标)(无源码的请下载附件导入)

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(7),COLORYELLOW;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8;
支撑:=L1+P1*0.5/8;
DRAWICON(LONGCROSS(支撑,C,2),C,1);
DRAWICON(LONGCROSS(C,阻力,2),C,2);

总涨跌比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100,COLORCYAN,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.0,0.22,0,STRCAT('总涨跌比: ',CON2STR(总涨跌比,2))),COLORCYAN;

646122301.jpg

646122301.jpg

回复

使用道具 举报

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

本版积分规则