大智慧level2版成交量优化

1、首先必须是具有level2数据的版本,例如大智慧365
 2、公式编辑--打开VOL公式---清空后复制txt内的代码

 真实成交量万手:VOL/10000,PRECIS4,COLORYELLOW,LINETHICK0;
估算成交量万手:VOL/10000*240/TRADETIME(1),PRECIS4,COLORWHITE,LINETHICK0;
换手率:VOL/CAPITAL*100,PRECIS2,COLORYELLOW,LINETHICK0;
 STICKLINE(VOL,0,VOL,8,1),COLORYELLOW;
 STICKLINE(VOL*240/TRADETIME(1),VOL*240/TRADETIME(1),VOL*240/TRADETIME(1),10,1),COLORWHITE;{估算量柱}

STICKLINE(BIGORDER(1,1),0,BIGORDER(1,1)*VOL,4,-400),COLORYELLOW;
 STICKLINE(BIGORDER(2,1),0,BIGORDER(2,1)*VOL,4,500),COLORBLUE;
 STICKLINE(BIGORDER(1,2),0,BIGORDER(1,2)*VOL,4,-400),COLORRED,LAYER0;
 STICKLINE(BIGORDER(2,2),0,BIGORDER(2,2)*VOL,4,500),COLORGREEN,LAYER0;


目前流通率:DYNAINFO(57)/DYNAINFO(56)*100,PRECIS2,COLORYELLOW,LINETHICK0;
 {限售解禁}
限售解禁股:=Selfstring('解禁');
XXSJJOffset:= 0;
 YXSJJOffset:= 0;
 XSJJlineHeight:= 15;
 XSJJpos1:= strFIND(限售解禁股, ';', 1);
 XSJJpos2:= strFIND(限售解禁股, ';', XSJJpos1 + 1);
 XSJJpos3:= strFIND(限售解禁股, ';', XSJJpos2 + 1);
 XSJJpos4:= strFIND(限售解禁股, ';', XSJJpos3 + 1);
 XSJJpos5:= strFIND(限售解禁股, ';', XSJJpos4 + 1);
 XSJJpos6:= strFIND(限售解禁股, ';', XSJJpos5 + 1);
 XSJJpos7:= strFIND(限售解禁股, ';', XSJJpos6 + 1);
 XSJJpos8:= strFIND(限售解禁股, ';', XSJJpos7 + 1);
 XSJJpos9:= strFIND(限售解禁股, ';', XSJJpos8 + 1);
 XSJJpos10:= strFIND(限售解禁股, ';', XSJJpos9 + 1);
 XSJJstr1:= strMID(限售解禁股, 1 , XSJJpos1-1);
 XSJJstr2:= strMID(限售解禁股, XSJJpos1 + 1, XSJJpos2 - XSJJpos1 - 1);
 XSJJstr3:= strMID(限售解禁股, XSJJpos2 + 1, XSJJpos3 - XSJJpos2 - 1);
 XSJJstr4:= strMID(限售解禁股, XSJJpos3 + 1, XSJJpos4 - XSJJpos3 - 1);
 XSJJstr5:= strMID(限售解禁股, XSJJpos4 + 1, XSJJpos5 - XSJJpos4 - 1);
 XSJJstr6:= strMID(限售解禁股, XSJJpos5 + 1, XSJJpos6 - XSJJpos5 - 1);
 XSJJstr7:= strMID(限售解禁股, XSJJpos6 + 1, XSJJpos7 - XSJJpos6 - 1);
 XSJJstr8:= strMID(限售解禁股, XSJJpos7 + 1, XSJJpos8 - XSJJpos7 - 1);
 XSJJstr9:= strMID(限售解禁股, XSJJpos8 + 1, XSJJpos9 - XSJJpos8 - 1);
 XSJJstr10:= strMID(限售解禁股, XSJJpos9 + 1, XSJJpos10 - XSJJpos9 - 1);
 IF XSJJpos1 THEN DRAWTEXTABS(XXSJJOffset, YXSJJOffset, XSJJstr1), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 THEN DRAWTEXTABS(XXSJJOffset, YXSJJOffset + XSJJlineHeight, XSJJstr2), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 THEN DRAWTEXTABS(XXSJJOffset+170, YXSJJOffset, XSJJstr3), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 THEN DRAWTEXTABS(XXSJJOffset+170, YXSJJOffset + XSJJlineHeight, XSJJstr4), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 THEN DRAWTEXTABS(XXSJJOffset+340, YXSJJOffset, XSJJstr5), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 AND XSJJpos6 THEN DRAWTEXTABS(XXSJJOffset+340, YXSJJOffset + XSJJlineHeight, XSJJstr6), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 AND XSJJpos6 AND XSJJpos7 THEN DRAWTEXTABS(XXSJJOffset+510, YXSJJOffset, XSJJstr7), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 AND XSJJpos6 AND XSJJpos7 AND XSJJpos8 THEN DRAWTEXTABS(XXSJJOffset+510, YXSJJOffset + XSJJlineHeight, XSJJstr8), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 AND XSJJpos6 AND XSJJpos7 AND XSJJpos8 AND XSJJpos9 THEN DRAWTEXTABS(XXSJJOffset+680, YXSJJOffset, XSJJstr9), ColorYELLOW;
 IF XSJJpos1 AND XSJJpos2 AND XSJJpos3 AND XSJJpos4 AND XSJJpos5 AND XSJJpos6 AND XSJJpos7 AND XSJJpos8 AND XSJJpos9 AND XSJJpos10 THEN DRAWTEXTABS(XXSJJOffset+680, YXSJJOffset + XSJJlineHeight, XSJJstr10), ColorYELLOW;


 


 3、将附件导入自定义数据,名称为“解禁”

 

效果说明:
 红色柱表示大单买,绿色代表大单卖,黄柱代表中单买,蓝柱代表中单卖,上面的横行白线为盘中预测当天成交量
 另附解禁股信息




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图