LXCCQJ 、公式描述:理想持仓全源码
-
相关简介:C/C++ Code 复制内容到剪贴板 {公式名:LXCCQJ、公式描述:理想持仓全景-单位[亿]} HS:=vol/capital; TODAY:=DYNAINFO(7)=CLOSEandDYNAINFO(10)=AMOUNT;{判断是否当天} DD1:=BIGORDER(1,3)-BIGORDER(2,3); DD2:= DDEDATA@BIGORDER (1,3)- DDEDATA@BIGORDER (2,3); CD:=IF(TODAY,DD2,DD1); 超
-
文章来源:择股网作者:股海网发布时间:2009-09-20浏览次数:
C/C++ Code复制内容到剪贴板
- {公式名:LXCCQJ 、公式描述:理想持仓全景-单位[亿] }
- HS:=vol/capital;
- TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT; {判断是否当天}
- DD1:=BIGORDER(1,3)-BIGORDER(2,3);
- DD2:="DDEDATA@BIGORDER"(1,3)-"DDEDATA@BIGORDER"(2,3);
- CD:=IF(TODAY,DD2,DD1);
- 超大:=HS*CD*100;
- 超大持仓:= Sum(超大,0);
- 超大净额:=CD*AMOUNT/10000;
- DD3:=BIGORDER(1,2)-BIGORDER(2,2);
- DD4:=("DDEDATA@BIGORDER"(1,2))-("DDEDATA@BIGORDER"(2,2));
- DD:=IF(TODAY,DD4,DD3);
- 主力:=HS*DD*100;
- 主力持仓:=Sum(主力,0);
- 主力净额:=DD*AMOUNT/10000;
- QB持仓:=(主力持仓+超大持仓)-REF((主力持仓+超大持仓),1);
- QB净额:=(主力净额+超大净额)/10000;
- drawtextrel(0,997.5,'增减%→'),COLOR00FFFF;
- drawtextrel(0,998.8,'时 间→'),COLORFFFF00;
- DRAWTEXTREL(10,997.5,NUMTOSTRN((QB净额-REF(QB净额,1))/REF(QB净额,1),2)),COLORGREEN;
- DRAWTEXTREL(20,997.5,NUMTOSTRN((SUM(QB净额,2)-REF(SUM(QB净额,2),1))/REF(SUM(QB净额,2),1),2)),COLORGREEN;
- DRAWTEXTREL(30,997.5,NUMTOSTRN((SUM(QB净额,3)-REF(SUM(QB净额,3),1))/REF(SUM(QB净额,3),1),2)),COLORGREEN;
- DRAWTEXTREL(40,997.5,NUMTOSTRN((SUM(QB净额,5)-REF(SUM(QB净额,5),1))/REF(SUM(QB净额,5),1),2)),COLORGREEN;
- DRAWTEXTREL(50,997.5,NUMTOSTRN((SUM(QB净额,10)-REF(SUM(QB净额,10),1))/REF(SUM(QB净额,10),1),2)),COLORGREEN;
- DRAWTEXTREL(60,997.5,NUMTOSTRN((SUM(QB净额,20)-REF(SUM(QB净额,20),1))/REF(SUM(QB净额,20),1),2)),COLORGREEN;
- DRAWTEXTREL(70,997.5,NUMTOSTRN((SUM(QB净额,30)-REF(SUM(QB净额,30),1))/REF(SUM(QB净额,30),1),2)),COLORGREEN;
- DRAWTEXTREL(80,997.5,NUMTOSTRN((SUM(QB净额,60)-REF(SUM(QB净额,60),1))/REF(SUM(QB净额,60),1),2)),COLORGREEN;
- DRAWTEXTREL(90,997.5,NUMTOSTRN((SUM(QB净额,90)-REF(SUM(QB净额,90),1))/REF(SUM(QB净额,90),1),2)),COLORGREEN;
- DRAWTEXTREL(100,997.5,NUMTOSTRN((SUM(QB净额,120)-REF(SUM(QB净额,120),1))/REF(SUM(QB净额,120),1),2)),COLORGREEN;
- DRAWTEXTREL(110,997.5,NUMTOSTRN((SUM(QB净额,250)-REF(SUM(QB净额,250),1))/REF(SUM(QB净额,250),1),2)),COLORGREEN;
- 一日:(QB净额),COLOR00FF00;
- 二日:(SUM(QB净额,2)),LINETHICK1,COLORFF8800;
- 三日:(SUM(QB净额,3)),LINETHICK1,COLOR00FFFF;
- 五日:(SUM(QB净额,5)),LINETHICK1,COLORFF00FF;
- 十日:(SUM(QB净额,10)),LINETHICK1,COLORRED;
- 二十日:(SUM(QB净额,20)),LINETHICK1,COLOR0066FF;
- 三十日:(SUM(QB净额,30)),LINETHICK1,COLORFFFF00;
- 六十日:(SUM(QB净额,60)),LINETHICK1,COLOR008800;
- 九十日:(SUM(QB净额,90)),LINETHICK1,COLOR0088CC;
- 一百二:(SUM(QB净额,120)),LINETHICK1,COLOR990099;
- 二百五:(SUM(QB净额,250)),LINETHICK1,COLOR999999;
步骤1:先打开理想超赢快速页面工作条;
步骤2:在主图下面点右键选“切分子窗口”“到下侧”;
步骤3:新出的窗口处在“TOP指标”前的小方格内点击鼠左键,打上勾;
步骤4:在主图会出现一个新窗口,在右上角“设”字处点左键,选择“新建指标”把源码复制到里面就好了!
下面是效果图:
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:抄底选股公式
下一篇:顶牛BBD全系列更新通吃率主动率(源码)---L2行情支持