当前位置: 网站首页 > 股票软件公式 > 大智慧L2公式 > 文章 当前位置: 大智慧L2公式 > 文章

大智慧源码:分时均线,竞价盘口

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

大智慧分时均线:

 {分时均线}

时间:=TIME;
开盘至今:=BARSLAST(时间=93000);
总成交额:=SUM(AMOUNT,0);
总成交量:=SUM(VOL,0);
均价线:IF(开盘至今>=1,总成交额/(总成交量*100),CLOSE),PRECIS2;




竞价盘口 牛人的指标(顶尖财经 股票学院: www.58188.com):

{以下代码,请仿制时参考是否能利用}

 
 
 
委托引用
 
b1:=bidvol(1);
s1:=askvol(1);
b2:bidvol(2);
s2:askvol(2);
ppl:(b1+s1)/2 
 
匹配量
  ---用于分时图
pp:="委托引用.ppl#tick";
wtm:="委托引用.b2#tick";
wtw:="委托引用.s2#tick";
sj:=TIME<(92500);
匹配量:ref(pp,BARSLAST(sj)),PRECIS0,LINETHICK0;
未匹配买量:ref(wtm,BARSLAST(sj)),PRECIS0,LINETHICK0;
未匹配卖量:ref(wtw,BARSLAST(sj)),PRECIS0,LINETHICK0;
未匹配买量换手:(未匹配买量-未匹配卖量)/capital*100;
STICKLINE(c>=ref(c,1)and sj,0,pp,8,0),color000999;
STICKLINE(c<ref(c,1)and sj,0,pp,8,0),COLORCYAN;
VOL,VOLSTICK,PRECIS0;
 
{竞价监控}
MU:=TIME>92000 and TIME<=92600;
A1:=IF(MU,AMOUNT,0)/10000;
A2:=IF(MU,TICKCOUNT,0);
A3:=IF(MU,v,0);
上涨家数:=DYNAINFO(66);
下跌家数:=DYNAINFO(67);
竞价成交额:=SUM(A1,0);
竞价成交笔:=SUM(A2,0);
竞价成交量:=SUM(A3,0);
 
 
MBK21:="竞价盘口.MULK21#tick";
MBK22:="竞价盘口.MULK22#tick";
MBK23:="竞价盘口.MULK23#tick";
MBK24:="竞价盘口.MULK24#tick";
MBK25:="竞价盘口.MULK25#tick";
MBK26:="竞价盘口.MULK26#tick";
WML21:="竞价盘口.MUK21#tick";
WML22:="竞价盘口.MUK22#tick";
WML23:="竞价盘口.MUK23#tick";
WML24:="竞价盘口.MUK24#tick";
WML25:="竞价盘口.MUK25#tick";
WML26:="竞价盘口.MUK26#tick";
WMML21:="竞价盘口.MUKK21#tick";
WMML22:="竞价盘口.MUKK22#tick";
WMML23:="竞价盘口.MUKK23#tick";
WMML24:="竞价盘口.MUKK24#tick";
WMML25:="竞价盘口.MUKK25#tick";
WMML26:="竞价盘口.MUKK26#tick";
 
 
DRAWRECTABS(0,0,580,124,1);
DRAWRECTABS(579,1,550,30,rgb(255,0,0)),colorred;
DRAWTEXTABS(552,2,'竞价'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(552,15,'监控'),colorFFFFFF,LINETHICK1;
{竞价时间}
DRAWTEXTABS(5,3,'9点21分盘口:报价: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(115,3,NUMTOSTRN(MBK21,2)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(5,23,'9点22分盘口:报价: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(115,23,NUMTOSTRN(MBK22,2)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(5,43,'9点23分盘口:报价: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(115,43,NUMTOSTRN(MBK23,2)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(5,63,'9点24分盘口:报价: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(115,63,NUMTOSTRN(MBK24,2)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(5,83,'9点25分盘口:报价: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(115,83,NUMTOSTRN(MBK25,2)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(5,103,'9点26分盘口:报价: '),ColorYellow,LINETHICK1;DRAWTEXTABS(115,103,NUMTOSTRN(MBK26,2)),ColorYellow,LINETHICK1;
{委买}
DRAWTEXTABS(170,3,'委买量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(213,3,NUMTOSTRN(WML21,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(170,23,'委买量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(213,23,NUMTOSTRN(WML22,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(170,43,'委买量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(213,43,NUMTOSTRN(WML23,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(170,63,'委买量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(213,63,NUMTOSTRN(WML24,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(170,83,'委买量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(213,83,NUMTOSTRN(WML25,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(170,103,'委买量: '),ColorYellow,LINETHICK1;DRAWTEXTABS(213,103,NUMTOSTRN(WML26,0)),ColorYellow,LINETHICK1;
{委卖}
DRAWTEXTABS(270,3,'委卖量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(313,3,NUMTOSTRN(WMML21,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(270,23,'委卖量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(313,23,NUMTOSTRN(WMML22,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(270,43,'委卖量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(313,43,NUMTOSTRN(WMML23,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(270,63,'委卖量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(313,63,NUMTOSTRN(WMML24,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(270,83,'委卖量: '),ColorFFFFFF,LINETHICK1;DRAWTEXTABS(313,83,NUMTOSTRN(WMML25,0)),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(270,103,'委卖量: '),ColorYellow,LINETHICK1;DRAWTEXTABS(313,102,NUMTOSTRN(WMML26,0)),ColorYellow,LINETHICK1;
DRAWTEXTABS(370,23,'上涨家数   '+NUMTOSTRN(上涨家数,0)  + '家'),Colorred,LINETHICK1;
DRAWTEXTABS(370,43,'下跌家数   '+NUMTOSTRN(下跌家数,0)  + '家'),Colorgreen,LINETHICK1;
DRAWTEXTABS(370,63,'竞价成交笔   '+NUMTOSTRN(竞价成交笔,0)  + '笔'),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(370,83,'竞价成交量   '+NUMTOSTRN(竞价成交量,0)  + '手'),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(370,103,'竞价成交额   '+NUMTOSTRN(竞价成交额,2)+'万元'),ColorFFFFFF,LINETHICK1;

上一篇:大智慧公式下载:彩量成交,大智慧九转序列

下一篇:大智慧公式下载: 远近高低(4.0版),绝妙短线