通达信打造高端黑配色方案 和安装通达信后的一些基础设置 主图指标

配色方案文件路径:

\T0002\scheme.dat

高端黑配色方案文件:

scheme.zip

然后一些基础设置 修改一下

指标:

主图指标:

{
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);

}
涨幅:=(C-REF(C,1))/REF(C,1)*100;
{标注涨停}
TT:=C=ZTPRICE(REF(CLOSE,1),0.1) AND C=H;
涨停2:=涨幅>10 AND 涨幅<10.55;
STICKLINE(TT OR 涨停2,O,C,3,0),COLOR0000FF;

{标注涨停ST}
ST:=C=ZTPRICE(REF(CLOSE,1),0.05) AND C=H;
{STICKLINE(ST,O,C,3,0),COLOR0000FF;}

{标注涨停20CM}
TT20CM:=C=ZTPRICE(REF(CLOSE,1),0.2) AND C=H;
STICKLINE(TT20CM,O,C,3,0),COLORA723ED;

{标注跌停}
TT2:=C/REF(C,1)<=0.91 AND C=L;
STICKLINE(TT2,O,C,3,0),COLOR00FF00;

{标注炸板}
TTT:=(H/REF(C,1)-1)*100>=9.8 AND C<H;
STICKLINE(TTT,O,C,0.2,0),COLOR00FFFF;

{在屏幕左上角显示所属板块}
DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,STRCAT('所属概念:',GNBLOCK)),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.02,0.10,0,STRCAT('所属风格:',FGBLOCK)),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.02,0.15,0,STRCAT('所属行业:',HYBLOCK)),COLOR00FFFF;
成交额STR:=STRCAT(VAR2STR(AMOUNT/100000000,2),'亿元');
换手率STR:=STRCAT(VAR2STR(DYNAINFO(37)*100,2),'%');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.2,0,STRCAT('成交额:',成交额STR)),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.02,0.25,0,STRCAT('换手率:',换手率STR)),COLOR00FFFF;

流通市值STR:=STRCAT(VAR2STR(FINANCE(40)/100000000,2),' 亿元');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.3,0,STRCAT('流通市值:',流通市值STR)),COLOR00FFFF;

开盘金额:=DYNAINFO(15);
开盘金额STR:=STRCAT(CON2STR(开盘金额/10000,0),' 万元');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.35,0,STRCAT('开盘金额:',开盘金额STR)),COLOR00FFFF;

实际流通STR:=STRCAT(VAR2STR(FINANCE(46)*C/100000000,2),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.4,0,STRCAT('实际流通:',实际流通STR)),COLOR0000FF;

真实换手STR:=STRCAT(VAR2STR(VOL*100/FINANCE(46)*100,2),'%');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.45,0,STRCAT('真实换手:',真实换手STR)),COLOR0000FF;



涨停原因:=EXTERNSTR(0,1) ;
DRAWTEXT_FIX(ISLASTBAR,0.02,0.35,0,涨停原因),COLOR00FFFF;


{显示当前K线周期数}
DRAWNUMBER_FIX(1,0.01,0.01,0,TOTALBARSCOUNT);



{显示全部平均成本}
{STICKLINE(1,平均成本,平均成本,0.1,0),COLORFF79BC;}

平均成本:=AMOUNT/VOL/100;
{显示最新的5天的平均成本}
{STICKLINE(DAYSTOTODAY<5,平均成本,平均成本,0.5,0),COLORFFFFFF,LINETHICK5;}
{K线形态}

{断头闸刀:=C<O AND O>MA5 AND O>MA10 AND O>MA30 AND C<MA5 AND C<MA10 AND C<MA30; 
DRAWTEXT(断头闸刀 AND ISLASTBAR,H*1.01,'断头闸刀');};