上志商业

热点

大盘平盘家数在主图显示,通达信分时主图指标源

时间:2022-07-30 10:36

  1:如何在主图显示个股K线的同时在附图显示大盘K线
用上下键选上证然后再+
ENTER.

  2:如何写出通达信软件中的函数“平盘家数”

  通达信没这个函数,可以变相实现:
股票总数-用上涨家数-下跌家数=平盘家数
但是,公式里面用到市场判断函数、输入的市场股票数要手动修改,很麻烦,也没有多少意思!

  3:求助:如何将大盘k线用一条线显示在个股主图上

  炒股软件鼠标右键里面有一个“叠加品种”,你可以叠加大盘,或者任意其他股票;在你的个股里面,大盘就能同时显示了。试试看吧!

  4:你好通达信具体怎么在主图显示基本面

  需要公式,基本没用。
刚好找到一个,但是大智慧的
REFLINE:0,10,12;
MB1:=selfdata(中单买入)*100;
BB1:=selfdata(大单买入)*100;
SB:=selfdata(特大买入)*100;
{p1:=(1-p2-p3-p4);}
MS1:=selfdata(中单卖出)*100;
BS1:=selfdata(大单卖出)*100;
SS:=selfdata(特大卖出)*100;
{q1:=(1-q2-q3-q4);}
BB:=SB+BB1;
MB:=BB+MB1;
BS:=SS+BS1;
MS:=BS+MS1;
{MB:=bigorder(1,1)*100;
BB:=bigorder(1,2)*100;
SB:=bigorder(1,3)*100;
MS:=bigorder(2,1)*100;
BS:=bigorder(2,2)*100;
SS:=bigorder(2,3)*100;}
DRAWRECTREL(250,MB*10,320 ,990,RGB(100,0,0)),COLOR000040;
DRAWRECTREL(250,MB*10,320,BB*10,RGB(150,0,0)),COLOR000080;
DRAWRECTREL(250,BB*10,320,SB*10,RGB(200,0,0)),COLOR0000C0;
DRAWRECTREL(250,SB*10,320,0,RGB(255,0,0)),COLOR0000FF;
DRAWRECTREL(180,MS*10,250,990,RGB(0,100,0)),COLOR004000;
DRAWRECTREL(180,MS*10,250,BS*10,RGB(0,150,0)),COLOR008000;
DRAWRECTREL(180,BS*10,250,SS*10,RGB(0,200,0)),COLOR00C000;
DRAWRECTREL(180,SS*10,250,0,RGB(0,250,0)),COLOR00FF00;
DRAWTEXTREL(190,800,龙虎看盘),color888888;
强阻力:=(HIGH+LOW+OPEN+2*CLOSE)/5+H-L;
阻力位:=(HIGH+LOW+OPEN+2*CLOSE)/5*2-L;
平衡点:=(HIGH+LOW+OPEN+2*CLOSE)/5;
支撑位:=(HIGH+LOW+OPEN+2*CLOSE)/5*2-H;
强支撑:=(HIGH+LOW+OPEN+2*CLOSE)/5-H+L;
DRAWRECTREL(330,200,660,980,RGB(0,0,0)),color008800;
DRAWTEXTREL(470,600,NUMTOSTRN(平衡点,2)),LINETHICK2,color33ffff;
DRAWTEXTREL(470,400,平衡点),color33ffff;
DRAWTEXTREL(410,600,NUMTOSTRN(阻力位,2)),LINETHICK2,color00ff00;
DRAWTEXTREL(410,400,阻力位),color00ff00;
DRAWTEXTREL(340,600,NUMTOSTRN(强阻力,2)),LINETHICK2,color0000ff;
DRAWTEXTREL(340,400,强阻力),color0000ff;
DRAWTEXTREL(530,600,NUMTOSTRN(支撑位,2)),LINETHICK2,colorffff00;
DRAWTEXTREL(530,400,支撑位),colorffff00;
DRAWTEXTREL(600,600,NUMTOSTRN(强支撑,2)),LINETHICK2,color3366ff;
DRAWTEXTREL(600,400,强支撑),color3366ff;
DRAWTEXTREL(360,10,财务数据日期:+NUMTOSTRN(FINANCE2(1),0)),color999999;
DRAWRECTREL(690,300,940,970,RGB(0,0,0)),colorff88ff;
DRAWTEXTREL(20,20,总股本:+NUMTOSTRN(FINANCE2(35),0)),color999999;
DRAWTEXTREL(20,180,流通A股:+NUMTOSTRN(FINANCE2(37),0)),color999999;
DRAWTEXTREL(20,340,市盈率:+NUMTOSTRN(DYNAINFO(39),2)+%),color999999;
DRAWTEXTREL(20,500,每股收益:+NUMTOSTRN(FINANCE2(3),3)+元),color999999;
DRAWTEXTREL(20,660,每股净资产:+NUMTOSTRN(FINANCE2(4),2)+元),color999999;
DRAWTEXTREL(20,820,每股公积金:+NUMTOSTRN(FINANCE2(7),2)+元),color999999;
DRAWTEXTREL(710,340,分 类: A股+ B股+ 基金+ 其它),color00ffff;
DRAWTEXTREL(700,20,市净率:+NUMTOSTRN(DYNAINFO(58),2)+%+ 净资产收益率:+NUMTOSTRN(DYNAINFO(5),2)+%),color999999;
DRAWTEXTREL(700,180,毛利率:+NUMTOSTRN(FINANCE2(12),2)+%+ 每股未分配:+NUMTOSTRN(FINANCE2(8),2)+元),color999999;
DRAWTEXTREL(700,500,上涨家数: +NUMTOSTRN(DYNAINFO(69),0)),colorred;
DRAWTEXTREL(820,500,NUMTOSTRN(DYNAINFO(73),0)),colorred;
DRAWTEXTREL(860,500,NUMTOSTRN(DYNAINFO(77),0)),colorred;
DRAWTEXTREL(900,500,NUMTOSTRN(DYNAINFO(81),0)),colorred;
DRAWTEXTREL(700,660,下跌家数: +NUMTOSTRN(DYNAINFO(70),0)),colorgreen;
DRAWTEXTREL(820,660,NUMTOSTRN(DYNAINFO(74),0)),colorgreen;
DRAWTEXTREL(860,660,NUMTOSTRN(DYNAINFO(78),0)),colorgreen;
DRAWTEXTREL(900,660,NUMTOSTRN(DYNAINFO(82),0)),colorgreen;
DRAWTEXTREL(700,820,平盘家数: +NUMTOSTRN(DYNAINFO(71),0)),colorffffff;
DRAWTEXTREL(820,820,NUMTOSTRN(DYNAINFO(75),0)),colorffffff;
DRAWTEXTREL(860,820,NUMTOSTRN(DYNAINFO(79),0)),colorffffff;
DRAWTEXTREL(900,820,NUMTOSTRN(DYNAINFO(83),0)),colorffffff;
C0:=INTPART(C*1000)/1000;
B1:=REF(C0,1);B2:=REF(C0,2);
HL:=IF(C0>B1 AND B1>=B2,1,IF(C0<B1 AND B1<=B2,-1,IF(C0>B2 AND B2>B1,2,IF(C0<B2 AND B2<B1,-2,0))));
AA:=IF(REF(HL,1)<>0,B2,IF(HL>0,MIN(B1,B2),MAX(B1,B2)));
DRAWTEXTREL(430,800,敏感价位:+NUMTOSTRN(AA,2)),color0000ff;
{DRAWTEXTREL(20,100,所属板块:+BKNAME);};

  5:今天股市如何来一张图片

  不好,大盘下跌2%

  6:哪个版本通达信可以分时主图

  都可以的