您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

level2版成交量优化[大智慧公式]

相关标签:大智慧level-2 破解版 、 大智慧超赢版 level-2 、 大智慧官网 level2 、 level 2 大智慧 软件 、 大智慧level2破解版 、 大智慧成交量指标公式 、 大智慧level2公式 、 成交量粘k线 公式指标 、 通达信成交量指标公式 、 大智慧如何添加成交量的柱 、

 

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、将附件导入自定义数据,名称为“解禁”效果说明:
红色柱表示大单买,绿色代表大单卖,黄柱代表中单买,蓝柱代表中单卖,上面的横行白线为盘中预测当天成交量
另附解禁股信息CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容