这是大智慧收费版本的主图,主要的特点是,全屏看盘,看看下面的图片就一清二楚了,谢谢!
{全屏看盘主图指标源码,L2收费版;用法:包括(行情.精灵.资金.财务) 一图在手,别无所求}
{画矩形}
DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;
{大智慧L2排序}
DRAWTEXTABS(15,5,' 行情 '),ColorFFff00;
昨收:=DYNAINFO(3);
今开:=DYNAINFO(4);
最低:=DYNAINFO(6);
最高:=DYNAINFO(5);
最新:=DYNAINFO(7);
总手:=DYNAINFO(8);
现手:=DYNAINFO(9);
总额:=DYNAINFO(10);
均价:=DYNAINFO(11);
涨跌:=DYNAINFO(12);
振幅:=DYNAINFO(13);
涨幅:=DYNAINFO(14)*100;
委比:=DYNAINFO(15);
委差:=DYNAINFO(16);
量比:=DYNAINFO(17);
内盘:=DYNAINFO(22);
外盘:=DYNAINFO(23);
涨速:=DYNAINFO(24);
买一:=DYNAINFO(28);
卖一:=DYNAINFO(34);
委买量:=DYNAINFO(89);
委卖量:=DYNAINFO(90);
外内比:=DYNAINFO(23)/DYNAINFO(22)*100;
盘差:=(外盘-内盘);
换手率:=(100*v/capital);
DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00;
DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00;
DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;
DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00;
DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF;
DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00;
DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF;
DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF;
DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00;
DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF;
DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00;
DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff;
DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00;
DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF;
DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000;
DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF;
DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000;
DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00;
DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF;
DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00;
DRAWTEXTABS(130,5,' 精灵 '),ColorFFff00;
买入单数:=DYNAINFO(91);
卖出单数:=DYNAINFO(92);
买卖单数差:=(买入单数-卖出单数);
大笔买入:=DYNAINFO(94);
大笔卖出:=DYNAINFO(97);
大笔差:=(大笔买入-大笔卖出);
特大买入:=DYNAINFO(95);
特大卖出:=DYNAINFO(98);
特大差:=(特大买入-特大卖出);
机构买单吃货数:=DYNAINFO(99);
机构卖单吐货数:=DYNAINFO(100);
机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);
机构单数差:=DYNAINFO(101);
机构吃货数:=DYNAINFO(102);
机构吐货数:=DYNAINFO(103);
机构货数差:=(机构吃货数-机构吐货数);
机构吃货量:=DYNAINFO(104);
机构吐货量:=DYNAINFO(105);
机构货量差:=(机构吃货量-机构吐货量);
机构吃货均额:=DYNAINFO(106);
机构吐货均额:=DYNAINFO(107);
机构均额差:=(机构吃货均额-机构吐货均额);
DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF;
DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00;
DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00;
DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00;
DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00;
DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00;
DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;
DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;
DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00;
DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00;
DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000;
DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF;
DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000;
DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;
DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;
DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF;
DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF;
DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00;
DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3;
DRAWTEXTREL(300,5,' 资金 '),COLORffff00;
zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;
jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;
dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol;
zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol;
shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;
tD:=COUNT(BIGORDER(1,0),0);
myD:=min(tD,30);
主力资金:=ema(zlV,myD)*myD/capital;
超级资金:=ema(jgV,myD)*myD/capital;
大户资金:=ema(dhV,myD)*myD/capital;
中户资金:=ema(zhV,myD)*myD/capital;
小股民资金:=ema(shV,myD)*myD/capital;
大单买:=BIGORDER(1,2)*V/CAPITAL;
大单卖:=BIGORDER(2,2)*V/CAPITAL;
大单动向:=(大单买-大单卖)*100;
涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;
大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200;
DRAWTEXTREL(250,40,'■主力资金:'+主力资金),COLOR00FFff;
DRAWTEXTREL(250,80,'■超级资金:'+超级资金),COLORffFF00;
DRAWTEXTREL(250,120,'■大户资金:'+大户资金),COLOR0000FF;
DRAWTEXTREL(250,160,'■中户资金:'+中户资金),COLORFFff00;
DRAWTEXTREL(250,200,'■小股民资金:'+小股民资金),COLOR00FF00;
DRAWTEXTREL(250,240,'■大单动向:'+大单动向),COLOR00FFff;
DRAWTEXTREL(250,280,'■涨跌动因:'+涨跌动因),COLORFFff00;
DRAWTEXTREL(250,320,'■大单分差:'+大单分差),COLORFFff00;
DRAWTEXTABS(280,205 ,' 财务 '),colorFFFF00;
DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3;
BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;
总股本:=FINANCE2(35)/10000;
DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF;
DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;
每股收益:=FINANCE2(3);
每股市盈率:=DYNAINFO(39);
每股净资产:=FINANCE2(4);
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
每股公积金:=FINANCE2(7);
每股未分配:=FINANCE2(8);
DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;
DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;
DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;
DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;
DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;
DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;
DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;
{}
A3:MA(AMOUNT/(100*VOL),3);
A5:MA(AMOUNT/(100*VOL),5);
A10:MA(AMOUNT/(100*VOL),10);
A20:MA(AMOUNT/(100*VOL),20);
A30:MA(AMOUNT/(100*VOL),30);
A60:MA(AMOUNT/(100*VOL),60);
DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4;
DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;