亿操盘

亿操盘 首页 大智慧公式 查看内容

大智慧精品指标:分时龙虎榜-大智慧公式-合作炒股

2018-10-15 15:25| 发布者: yicaopan| 查看: 867| 评论: 0|原作者: [db:作者]|来自: [db:来源]

1、首先导入引用公式,然后导入主公式源码
2、导入源码有困难的朋友、可以下载公式文件、直接导入。

 

C/C++ Code复制内容到剪贴板
  1. zq:=DATATYPE;   
  2. r:=OPENMINUTES(TIME);   
  3. zs:=ref(c,r);   
  4. zsr:=DYNAINFO(3);   
  5. j:=SUM(C*V,SUMBARS(VOL,CAPITAL))/SUM(V,SUMBARS(VOL,CAPITAL));   
  6. jj:=SUM(C*V,0)/SUM(V,0);   
  7. jj1:=SUM(C*V,r)/SUM(V,r);   
  8. jja:=if(zq=6,jj,if(zq=1,jj1,jj));   
  9. zsa:=if(zq=6,zsr,if(zq=1,zs,zsr));   
  10. cr:=if(zq=6,c>0,if(zq=1,r>1,c>0));   
  11. PARTLINE(cr,zsa),COLORGRAY,POINTDOT;   
  12. dk:=(SMA(C,2,1)-SMA(C,6,1))*2.1;   
  13. STICKLINE(dk>0and jja>0 ,zsa,ZSa+dk,0.1,0),Color5050FF;   
  14. STICKLINE(dk<=0and jja>0 ,zsa,ZSa+dk,0.1,0),ColorCyan;   
  15.   
  16. if datatype>=0 then exit;   
  17. rc:=DYNAINFO(3);   
  18. q:=datacount;   
  19. hh:=DYNAINFO(5);   
  20. LL:=DYNAINFO(6);   
  21. f:=max(hh-rc,rc-LL);   
  22. ff:=f/rc*100;   
  23. q1h:=if(ff<1,0.9898*rc,rc-f*1.02);   
  24. q1l:=if(ff<1,0.9798*rc,rc-2*f*1.016);   
  25. FILLRGN(1,q1h,q1l),colorblack;   
  26. R:=INDEXC;   
  27. Rh:=hhv(r,0);   
  28. RL:=LLv(r,0);   
  29. Rb:=(q1h-q1l)/(RH[q]-RL[q]);   
  30. Ry:=(q1h+q1l-rb*(RH[q]+RL[q]))/2;   
  31. r*rb+ry,COLORFFCCbb;   
  32. q2h:=if(ff<1,0.9797*rc,rc-2*f*1.016);   
  33. q2l:=if(ff<1,0.9697*rc,rc-3*f*1.011);   
  34. FILLRGN(1,q2h,q2l),colorblack;   
  35. a1:="macd.diff";   
  36. a2:="macd.dea";   
  37. a3:="macd.macd";   
  38. mh:=hhv(max(a1,a3),0);   
  39. mL:=LLv(min(a3,a1),0);   
  40. mb:=(q2h-q2l)/(mH[q]-mL[q]);   
  41. my:=(q2h+q2l-mb*(mH[q]+mL[q]))/2;   
  42. diff:a1*mb+my,COLORWHITE;   
  43. dea:a2*mb+my,COLORYELLOW;   
  44. macd:=a3*mb+my;   
  45. STICKLINE(FILTER(CROSS(diff,dea) and dea<my,13),dea-0.005,diff+0.05,10,0),COLOR0000FF;   
  46. STICKLINE(macd>my,my,macd,1,1),COLORRED;   
  47. STICKLINE(macd<my,my,macd,1,1),COLORCYAN;   
  48. rc:=DYNAINFO( 3);   
  49. s2:=sma(c,2,1);   
  50. s6:=sma(c,6,1);   
  51. dk:=2*(s2-s6);   
  52. STICKLINE(dk>0,rc,rc+dk,0,1),COLORRED;   
  53. STICKLINE(dk<0,rc,rc+dk,0,1),COLORCYAN;   
  54.   
  55. k1:=hhv(h,0);   
  56. k2:=llv(l,0);   
  57. k3:=barslast(OPENMINUTES(TIME)<=240);   
  58. t1:=barslast(OPENMINUTES(TIME)<=60);   
  59. DRAWSL(OPENMINUTES(TIME)>=60,ref(k1,t1),0,k3,2),LINEDOT;   
  60. DRAWSL(OPENMINUTES(TIME)>=60,ref(k2,t1),0,k3,2),LINEDOT;   
  61. DRAWICON(OPENMINUTES(TIME)>60 and cross(c,ref(k1,t1)+0.001),ref(k1,t1),1);   
  62. 流通:=FINANCE(7)/10000,LINETHICK;   
  63. qj1:=CAPITAL/2500; qj2:=CAPITAL/8000; qj3:=CAPITAL/16000; qj4:=CAPITAL/33000; qj5:=CAPITAL/80000; qj6:=CAPITAL/150000; qj7:=CAPITAL/200000; qj8:=CAPITAL/400000;   
  64. XS:=IF(流通<1.0,qj1,IF(流通>=1.0 AND 流通<5.0,qj2,IF(流通>=5.0 AND 流通<10,qj3,IF(流通>=10 AND 流通<20,qj4,IF(流通>=20 AND 流通<50,qj5,IF(流通>=50 AND 流通<100,qj6,IF(流通>=100 AND 流通<300,qj7,IF(流通>=300,qj8,0))))))));   
  65. 门限:=XS;   
  66. 特门限:=XS*2.67;   
  67. 委买:=BIDVOL(1)+BIDVOL(2)+BIDVOL(3);   
  68. 委卖:=ASKVOL(1)+ASKVOL(2)+ASKVOL(3);   
  69. 委买总量:=SUM(委买,0);   
  70. 委卖总量:=SUM(委卖,0);   
  71. www1:=SUM(BUYVOL,0)-SUM(SELLVOL,0);   
  72. 买卖存量:=REF(www1,1)+www1;   
  73. 总成交A:=DYNAINFO(8)*100;   
  74. 总J:=总成交A*DYNAINFO(7);   
  75. 特大买入:=stkindi('','引用.特大买入',0,0);   
  76. 特大卖出:=stkindi('','引用.特大卖出',0,0);   
  77. 大单买入:=stkindi('','引用.大单买入',0,0);   
  78. 大单卖出:=stkindi('','引用.大单卖出',0,0);   
  79. 大买金额:=stkindi('','引用.大买金',0,0);   
  80. 大卖金额:=stkindi('','引用.大卖金',0,0);   
  81. 小单买入:=stkindi('','引用.小单买入',0,0);   
  82. 小单卖出:=stkindi('','引用.小单卖出',0,0);   
  83. 特买均:=stkindi('','引用.特买金',0,0);   
  84. 特卖均:=stkindi('','引用.特卖金',0,0);   
  85. 大买均:=stkindi('','引用.大买金',0,0);   
  86. 大卖均:=stkindi('','引用.大卖金',0,0);   
  87. 小买均:=stkindi('','引用.小买金',0,0);   
  88. 小卖均:=stkindi('','引用.小卖金',0,0);   
  89. 买入:=stkindi('','盘口.买入',0,0);   
  90. 卖出:=stkindi('','盘口.卖出',0,0);   
  91. 委买:=DYNAINFO(20);   
  92. 委卖:=DYNAINFO(21);   
  93. 小撤买:=stkindi('','盘口.撤买',0,0);   
  94. 小撤卖:=stkindi('','盘口.撤卖',0,0);   
  95. 大撤买:=stkindi('','盘口.大撤买',0,0);   
  96. 大撤卖:=stkindi('','盘口.大撤卖',0,0);   
  97. 总撤买:=stkindi('','盘口.总撤买单',0,0);   
  98. 总撤卖:=stkindi('','盘口.总撤卖单',0,0);   
  99. 上扫:=stkindi('','盘口.上扫',0,0);   
  100. 下扫:=stkindi('','盘口.下扫',0,0);   
  101. 大上扫:=stkindi('','盘口.大上扫',0,0);   
  102. 大下扫:=stkindi('','盘口.大下扫',0,0);   
  103. 总上扫:=stkindi('','盘口.总上扫',0,0);   
  104. 总下扫:=stkindi('','盘口.总下扫',0,0);   
  105. 对敲买:=stkindi('','盘口.对敲买',0,0);   
  106. 对敲卖:=stkindi('','盘口.对敲卖',0,0);   
  107. 大对买:=stkindi('','盘口.大对敲买',0,0);   
  108. 大对卖:=stkindi('','盘口.大对敲卖',0,0);   
  109. 总敲买:=stkindi('','盘口.总敲买',0,0);   
  110. 总敲卖:=stkindi('','盘口.总敲卖',0,0);   
  111. 大单净值:=stkindi('','引用.大单净值',0,0);   
  112. 隐性买单:=stkindi('','引用.隐性买单',0,0);   
  113. 隐性卖单:=stkindi('','引用.隐性卖单',0,0);   
  114. 隐买金:=stkindi('','引用.隐买金',0,0);   
  115. 隐卖金:=stkindi('','引用.隐卖金',0,0);   
  116. 隐买均:=隐买金/隐性买单;   
  117. 隐卖均:=隐卖金/隐性卖单;   
  118. 特买均价:=特买均/特大买入;   
  119. 特卖均价:=特卖均/特大卖出;   
  120. 大买均价:=大买均/大单买入;   
  121. 大卖均价:=大卖均/大单卖出;   
  122. 小买均价:=小买均/小单买入;   
  123. 小卖均价:=小卖均/小单卖出;   
  124. 大单标准:=(门限*100*C)/10000;   
  125. 特单标准:=(特门限*100*C)/10000;   
  126. 每笔均额:=AMOUNT/DYNAINFO(51);   
  127. 大单笔数:=COUNT((大单买入+大单卖出+特大买入+特大卖出),0);   
  128. 人均持股:=(FINANCE(7)/FINANCE(50))*10000;   
  129. 主力买卖比:=(大买金额/大卖金额);   
  130. 资金大单进量:=特大买入+大单买入;   
  131. 资金大单出量:=特大卖出+大单卖出;   
  132. 筹码量差:=资金大单进量-资金大单出量;   
  133. 总成交:=(特大买入+特大卖出+大单买入+大单卖出+小单买入+小单卖出+总敲买+总敲卖+总上扫+总下扫);   
  134. 散户跟风系数:=(小单买入/总成交)*100;   
  135. DRAWTEXTEX(c,1,20,20,'机构买:'+NUMTOSTR(特大买入,0)),LINETHICK2,Color00FFFF;   
  136. DRAWTEXTEX(c,1,200,20,'占:'+NUMTOSTR(FLOOR(特大买入/总成交*100),0)+'%'),Color00FFFF;   
  137. DRAWTEXTEX(c,1,20,80,'机构卖:'+NUMTOSTR(特大卖出,0)),Color00FF00;   
  138. DRAWTEXTEX(c,1,200,80,'占:'+NUMTOSTR(FLOOR(特大卖出/总成交*100),0)+'%'),Color00FF00;   
  139. DRAWTEXTEX(c,1,20,140,'大户买:'+NUMTOSTR(大单买入,0)),Color0000FF;   
  140. DRAWTEXTEX(c,1,20,200,'大户卖:'+NUMTOSTR(大单卖出,0)),Color00FF00;   
  141. DRAWTEXTEX(c,1,20,260,'散户买:'+NUMTOSTR(小单买入,0)),ColorFF00FF;   
  142. DRAWTEXTEX(c,1,20,320,'散户卖:'+NUMTOSTR(小单卖出,0)),ColorFFFFAF;   
  143. DRAWTEXTEX(c,1,20,380,'特大标准:'+NUMTOSTR(特单标准,2)+'万元/单笔'),ColorFFFF00;   
  144.   
  145. DRAWTEXTEX(c,1,200,140,'占:'+NUMTOSTR(FLOOR(大单买入/总成交*100),0)+'%'),Color0000FF;   
  146. DRAWTEXTEX(c,1,200,200,'占:'+NUMTOSTR(FLOOR(大单卖出/总成交*100),0)+'%'),Color00FF00;   
  147. DRAWTEXTEX(c,1,200,260,'占:'+NUMTOSTR(FLOOR(小单买入/总成交*100),0)+'%'),ColorFF00FF;   
  148. DRAWTEXTEX(c,1,200,320,'占:'+NUMTOSTR(FLOOR(小单卖出/总成交*100),0)+'%'),ColorFFFFAF;   
  149.   
  150. DRAWTEXTEX(c,1,300,20,'机构买:'+NUMTOSTR(特买均价,2)),Color00FFFF;   
  151. DRAWTEXTEX(c,1,300,80,'机构卖:'+NUMTOSTR(特卖均价,2)),Color00FF00;   
  152. DRAWTEXTEX(c,1,300,140,'大户买:'+NUMTOSTR(大买均价,2)),Color0000FF;   
  153. DRAWTEXTEX(c,1,300,200,'大户卖:'+NUMTOSTR(大卖均价,2)),Color00FF00;   
  154. DRAWTEXTEX(c,1,300,260,'散户买:'+NUMTOSTR(小买均价,2)),ColorFF00FF;   
  155. DRAWTEXTEX(c,1,300,320,'散户卖:'+NUMTOSTR(小卖均价,2)),ColorFFFFAF;   
  156. DRAWTEXTEX(c,1,390,380,'大单标准:'+NUMTOSTR(大单标准,2)+'万元/单笔'),ColorFFFF00;   
  157.   
  158. DRAWTEXTEX(c,1,770,1150,'机构净量:'+NUMTOSTR((特大买入-特大卖出),0)),Color00FFFF;   
  159. DRAWTEXTEX(c,1,770,1210,'大户净量:'+NUMTOSTR((大单买入-大单卖出),0)),Color00FF00;   
  160. DRAWTEXTEX(c,1,770,1270,'大单买卖比:'+NUMTOSTR(主力买卖比,1)),Color0000FF;   
  161. DRAWTEXTEX(c,1,770,1330,'大单笔数:'+NUMTOSTR(大单笔数,0)),Color00FF00;   
  162. DRAWTEXTEX(c,1,770,1390,'笔均额:'+NUMTOSTR(每笔均额,0)),ColorFF00FF;   
  163. DRAWTEXTEX(c,1,770,1450,'人均持股:'+NUMTOSTR(人均持股,0)+''),ColorFFFF00;   
  164. DRAWTEXTEX(c,1,720,380,'散户跟风系数:'+NUMTOSTR(FLOOR(散户跟风系数),2)+'%'),ColorFFFF00;   
  165. DRAWTEXTEX(c,1,20,1150,'买入:'+NUMTOSTR(买入,0)),Color0000FF;   
  166. DRAWTEXTEX(c,1,20,1210,'卖出:'+NUMTOSTR(卖出,0)),Color00FF00;   
  167. DRAWTEXTEX(c,1,20,1270,'当前委买:'+NUMTOSTR(委买,2)),Color0000FF;   
  168. DRAWTEXTEX(c,1,20,1330,'当前委卖:'+NUMTOSTR(委卖,2)),Color00FF00;   
  169. DRAWTEXTEX(c,1,20,1390,'平均委买:'+NUMTOSTR((DYNAINFO(28)+DYNAINFO(28)+DYNAINFO(28))/3,2)),Color00FF00;   
  170. DRAWTEXTEX(c,1,20,1450,'平均委卖:'+NUMTOSTR((DYNAINFO(34)+DYNAINFO(35)+DYNAINFO(36))/3,2)),Color00FF00;   
  171.   
  172. DRAWTEXTEX(c,1,220,1150,'小单撤买:'+NUMTOSTR(小撤买,0)),ColorFFFFAF;   
  173. DRAWTEXTEX(c,1,400,1150,''+NUMTOSTR(FLOOR(小撤买/(总撤买+总撤卖)*100),0)+' %'),ColorFFFFAF;   
  174. DRAWTEXTEX(c,1,220,1210,'小单撤卖:'+NUMTOSTR(小撤卖,0)),ColorFFFFAF;   
  175. DRAWTEXTEX(c,1,400,1210,''+NUMTOSTR(FLOOR(小撤卖/(总撤买+总撤卖)*100),0)+' %'),ColorFFFFAF;   
  176. DRAWTEXTEX(c,1,220,1270,'大单撤买:'+NUMTOSTR(大撤买,0)),ColorFFFFAF;   
  177. DRAWTEXTEX(c,1,400,1270,''+NUMTOSTR(FLOOR(大撤买/(总撤买+总撤卖)*100),0)+' %'),ColorFFFFAF;   
  178. DRAWTEXTEX(c,1,220,1330,'大单撤卖:'+NUMTOSTR(大撤卖,0)),ColorFFFFAF;   
  179. DRAWTEXTEX(c,1,400,1330,''+NUMTOSTR(FLOOR(大撤卖/(总撤买+总撤卖)*100),0)+' %'),ColorFFFFAF;   
  180. DRAWTEXTEX(c,1,220,1390,'总撤买单:'+NUMTOSTR(总撤买,0)),Color0000FF;   
  181. DRAWTEXTEX(c,1,220,1450,'总撤卖单:'+NUMTOSTR(总撤卖,0)),Color00FF00;   
  182.   
  183. DRAWTEXTEX(c,1,480,20,'总对敲买:'+NUMTOSTR(总敲买,0)),Color00FFFF;   
  184. DRAWTEXTEX(c,1,480,80,'总对敲卖:'+NUMTOSTR(总敲卖,0)),Color00FF00;   
  185. DRAWTEXTEX(c,1,480,140,'小对敲买:'+NUMTOSTR(对敲买,0)),Color0000FF;   
  186. DRAWTEXTEX(c,1,670,140,''+NUMTOSTR(FLOOR(对敲买/总成交*100),0)+' %'),Color0000FF;   
  187. DRAWTEXTEX(c,1,480,200,'小对敲卖:'+NUMTOSTR(对敲卖,0)),Color00FF00;   
  188. DRAWTEXTEX(c,1,670,200,''+NUMTOSTR(FLOOR(对敲卖/总成交*100),0)+' %'),Color00FF00;   
  189. DRAWTEXTEX(C,1,480,260,'大对敲买:'+NUMTOSTR(大对买,0)+''),ColorFF00FF;   
  190. DRAWTEXTEX(c,1,670,260,''+NUMTOSTR(FLOOR(大对买/总成交*100),0)+' %'),ColorFF00FF;   
  191. DRAWTEXTEX(C,1,480,320,'大对敲卖:'+NUMTOSTR(大对卖,0)+''),ColorFFFFAF;   
  192. DRAWTEXTEX(c,1,670,320,''+NUMTOSTR(FLOOR(大对卖/总成交*100),0)+' %'),ColorFFFFAF;   
  193.   
  194. DRAWTEXTEX(c,1,490,1150,'进场筹码  :'+NUMTOSTR(资金大单进量,0)),Color00FFFF;   
  195. DRAWTEXTEX(c,1,490,1210,'出场筹码  :'+NUMTOSTR(资金大单出量,0)),Color00FF00;   
  196. DRAWTEXTEX(c,1,490,1270,'筹码量差  :'+NUMTOSTR(筹码量差,0)),Color0000FF;   
  197. DRAWTEXTEX(c,1,490,1330,'当前上五档:'+NUMTOSTR(委买总量,0)),Color00FF00;   
  198. DRAWTEXTEX(c,1,490,1390,'当前下五档:'+NUMTOSTR(委卖总量,0)),ColorFF00FF;   
  199. DRAWTEXTEX(c,1,490,1450,'五档买卖差:'+NUMTOSTR(买卖存量,0)),ColorFFFF00;   
  200.   
  201. DRAWTEXTEX(c,1,740,20,'上扫总计:'+NUMTOSTR(总上扫,0)),Color00FFFF;   
  202. DRAWTEXTEX(c,1,740,80,'下扫总计:'+NUMTOSTR(总下扫,0)),Color00FF00;   
  203. DRAWTEXTEX(c,1,740,140,'上扫单  :'+NUMTOSTR(上扫,0)),Color0000FF;   
  204. DRAWTEXTEX(c,1,940,140,''+NUMTOSTR(FLOOR(上扫/总成交*100),0)+' %'),Color0000FF;   
  205. DRAWTEXTEX(c,1,740,200,'下扫单  :'+NUMTOSTR(下扫,0)),Color00FF00;   
  206. DRAWTEXTEX(c,1,940,200,''+NUMTOSTR(FLOOR(下扫/总成交*100),0)+' %'),Color00FF00;   
  207. DRAWTEXTEX(c,1,740,260,'上扫大单:'+NUMTOSTR(大上扫,0)),ColorFF00FF;   
  208. DRAWTEXTEX(c,1,940,260,''+NUMTOSTR(FLOOR(大上扫/总成交*100),0)+' %'),ColorFF00FF;   
  209. DRAWTEXTEX(c,1,740,320,'下扫大单:'+NUMTOSTR(大下扫,0)),ColorFFFFAF;   
  210. DRAWTEXTEX(c,1,940,320,''+NUMTOSTR(FLOOR(大下扫/总成交*100),0)+' %'),ColorFFFFAF;   
  211. //   

下载链接:(下载本站资源请点击下面进入下载页“蓝色图标”)
大智慧精品指标:分时龙虎榜下载

鲜花

握手

雷人

路过

鸡蛋

亿操盘

Copyright © 2001-2019 91yicaopan.   All Rights Reserved.

Powered by 亿操盘 ( 辽ICP备15002194号-1 )

返回顶部

点击这里给我发消息

客户微信:

yi_caopan

在线客服