六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 17782 人浏览分享

开启左侧

BBIBOLL终极版【指标 源码 主图 通达信 贴图]

[复制链接]
17782 47
该指标为主图,是一个看盘分析指标。
其功能说明如下:
    1.显示:最大涨幅和当前涨幅
    2.封单比:数值越大当天开板的可能性越小
    3.红色实体K线=涨停板K线 蓝色K线=跌停板K线
    4.买卖信号提示,个股在相对底部--有红色“买”提示,相对顶部-绿色×卖字提示。
    5.高低点显示功能,,更好的查看股价压力和支撑情况。
    6.量能饱和度显示---量的数据化显示,已经相对数据作为量能当日攻击数据显示情况
    7.资金流入流出-----左上角资金情况可以作为相对参考数据
    8. 主力成本与获利卖出:当个股下跌到主力成本线附近--就是个股底部,如果个别跌破圆圈主力成本线---大胆的买,惯性会反弹回去   获利了结线------股价突破该信号时--个股处于相对高位--提醒您--减少仓位。

20180415100006.gif

游客,如果您要查看本帖隐藏内容请回复

上为通达信tne直接导入文件,下面为BBIBOLL终极版公式源代码:
  1. N:=10;
  2. M:=3;
  3. 主力成本:COST(5),COLORRED,CIRCLEDOT,LINETHICK2;
  4. 获利了结: COST(98),COLORRED,CIRCLEDOT,LINETHICK2;
  5. ZLX:STICKLINE(C<O AND REF(C,1)>REF(O,1),REF(C,1),REF(C,1)*0.995,4,0),COLOR00FF00;
  6. DRAWTEXT_FIX(C>0,0.004,0.11,0,DYBLOCK),COLORYELLOW,LINETHICK2;
  7. DRAWTEXT_FIX(C>0,0.06,0.11,0,HYBLOCK),COLORRED,LINETHICK2;
  8. DRAWTEXT_FIX(C>0,0.12,0.11,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;


  9. CV:=CLOSE;
  10. 中轨:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4,COLOR8000FF,LINETHICK2;
  11. 上轨:BBIBOLL+M*STD(BBIBOLL,N);
  12. 下轨:BBIBOLL-M*STD(BBIBOLL,N);
  13. BDGD:=C=HHV(C,13);
  14. GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
  15. SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
  16. 高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;
  17. 突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;
  18. STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF;
  19. DRAWTEXT(突破,LOW,'★'),COLOR00FFFF;
  20. BDDD:=C=LLV(C,13);
  21. DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
  22. 低点:REF(C,DDSJ),COLOR00FF00,POINTDOT;

  23. 【量能饱和】:=IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;
  24. { DRAWRECTREL(100,120,390,160,RGB(0,0,100));
  25. DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));}
  26. DRAWTEXT_FIX(1,0.005,0.90,0,STRCAT(STRCAT('【量能饱和】:      ',CON2STR(【量能饱和】,1)),'   % ')),COLORYELLOW;
  27. 涨跌停封单:=DYNAINFO(58)*C*100;
  28. DRAWTEXT_FIX(1,0.02,0.06,0,'涨跌封单'),DOTLINE,COLORRED;
  29. DRAWNUMBER_FIX(1,0.07,0.06,0,CONST(涨跌停封单)),DOTLINE,COLORRED;
  30. 封单比:=涨跌停封单/FINANCE(7)*100;
  31. DRAWTEXT_FIX(1,0.01,0.85,0,'封 单 比='),COLORGREEN;
  32. DRAWNUMBER_FIX(1,0.07,0.85,0,CONST(封单比)),COLORGREEN;
  33. 总涨幅周期:=350;
  34. 高点位:=REFDATE(HHV(H,总涨幅周期),DATE);
  35. 低点位:=REFDATE(LLV(L,总涨幅周期),DATE);
  36. 低位价:=REF(L,BARSLAST(低点位=L)),COLORGREEN;
  37. 高位价:=REF(H,BARSLAST(高点位=H)),COLORRED,NODRAW;
  38. 曾最大涨幅:=(高位价-低位价)/低位价*100;
  39. 当前涨幅:=(C-低位价)/低位价*100;
  40. ZFA:=CON2STR(CONST(曾最大涨幅),2);
  41. ZFB:=CON2STR(CONST(当前涨幅),2);
  42. ZFC:=STRCAT('【曾最大涨幅】:',ZFA);
  43. ZFD:=STRCAT(ZFC,'%');
  44. ZFE:=STRCAT(ZFD,'【当前总涨幅】:');
  45. ZFF:=STRCAT(ZFE,ZFB);
  46. ZFG:=STRCAT(ZFF,'%');
  47. DRAWTEXT_FIX(ISLASTBAR,0,1,0,'▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'),COLORRED;
  48. DRAWTEXT_FIX(ISLASTBAR,0,1,0,ZFG),COLORYELLOW;

  49. {涨停柱红涨停兰跌停}
  50. C2:=REF(C,1);
  51. 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
  52. STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR0000FF;
  53. STICKLINE(涨停,H,L,0,0),COLOR0000FF;
  54. 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
  55. STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
  56. STICKLINE(跌停,H,L,0,1),COLORGREEN;


  57. VAR3:=LLV(HIGH,240);
  58. VAR4:=100*(CLOSE-VAR3)/VAR3;
  59. VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
  60. VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
  61. VAR7:=0;
  62. VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
  63. VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
  64. VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
  65. VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
  66. VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
  67. VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
  68. VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
  69. VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
  70. VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
  71. VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
  72. VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
  73. VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
  74. 买1:=VAR10;
  75. 买2:=(VAR11+VAR13+VAR15+VAR17);
  76. 卖1:=(VAR12+VAR14+VAR16+VAR18);
  77. B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
  78. DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'↖买'),COLORRED;
  79. S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
  80. DRAWTEXT(卖1>0,HIGH*1.02,'卖'),COLORGREEN;

  81.   {参考决策主图}
  82. AVX:=(((((IF(C>MA(C,5),10,(0-10))+IF(MA(C,5)>MA(C,10),10,(0-10)))+IF(C>MA(C,10),10,(0-10)))+IF(MA(C,5)>MA(C,20),10,(0-10)))+IF((C>MA(C,20)),10,(0-10)))+IF
  83.        (MA(C,20)>REF(MA(C,20),1),10,(0-10)));
  84. DSLX:=(C/INDEXC);
  85. DSLX1:=MA(DSLX,5);
  86. TJTS1:=BARSTATUS=2 AND C<200;
  87. TJTS2:=BARSTATUS=2 AND C>200;
  88. V1:=MA(V,3);
  89. V2:=MA(V,8);
  90. K2:=HHV(H*0.99,BARSLAST(BARSTATUS=1));
  91. DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.65,1,0,'量能稳定,有走强迹象,根据指数线性关系布局分批介入.     '),COLORRED,LINETHICK1;
  92. DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<V2)) AND (DSLX>=DSLX1)),0.65,1,0,'走势趋强,量能不足,根据指数线性关系布局分批买入.     '),COLORRED,LINETHICK1;
  93. DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1>V2)) AND (DSLX<DSLX1)),0.65,1,0,'量价配合良好,没有明显走强,根据指数线性关系考虑进入与否.     '),COLORYELLOW,LINETHICK1;
  94. DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<=V2)) AND (DSLX<DSLX1)),0.65,1,0,'形态尚可,量能不足,未完全走强,根据指数线性关系考虑是否进入.     '),COLORGREEN,LINETHICK1;
  95. DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.65,1,0,'形态变坏,减持或者卖出观望.     '),COLORGREEN,LINETHICK2;
  96. DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX>=DSLX1)),0.65,1,0,'明显缩量走势,根据指数线性关系减持或清仓,等待机会.     '),COLORWHITE,LINETHICK1;
  97. DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX<DSLX1)),0.65,1,0,'走势偏弱,谨慎操作.     '),COLORGREEN,LINETHICK1;
  98. DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX<DSLX1)),0.65,1,0,'缩量下跌,走势偏弱,离场观望.     '),COLORGREEN,LINETHICK1;
  99. DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.65,1,0,'强势明显,量能充足,注意前期平台和指数影响.     '),COLORRED,LINETHICK1;
  100. DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.65,1,0,'强势依然,量能转弱,高抛低吸做好布局.      '),COLORCYAN,LINETHICK2;
  101. DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.65,1,0,'具备上涨潜力,根据线性关系操作.     '),COLORCYAN,LINETHICK2;
  102. DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.65,1,0,'走势趋弱,量能不足,减持筹码.     '),COLORCYAN,LINETHICK2;
  103. DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.65,1,0,'形态不佳,注意量能变化,跟踪分析确认.     '),LINETHICK2;
  104. DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.65,1,0,'走势虽弱,关注线性关系和量能变化,确认业绩、题材.     '),COLORYELLOW,LINETHICK2;
  105. DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.65,1,0,'有走强迹象,上涨压力大,根据大盘情况操作.     '),COLORYELLOW,LINETHICK2;
  106. DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.65,1,0,'走势太弱,整理后关注量能和信号提示.     '),LINETHICK2,COLORYELLOW;
  107. DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.65,1,0,'量能稳定,有明显走强迹象,可以考虑布局.     '),COLORWHITE,LINETHICK2;
  108. DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.65,1,0,'如前期经过一轮下跌,此时为最佳买点,但前期有过一段涨幅则介入需谨慎.     '),COLORWHITE,LINETHICK2;
  109. DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.65,1,0,'虽然走势趋强,量能还显不足,根据线性关系操作.     '),COLORWHITE,LINETHICK2;
  110. DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.65,1,0,' 可以谨慎布局,控制仓位,一旦量能放大可以重仓买入.     '),COLORWHITE,LINETHICK2;
  111. DRAWTEXT_FIX(TJTS2 AND (CROSS(1,AVX) AND (V1>=V2)),0.65,1,0,'大盘形态走坏,减仓或者抛光.     '),COLORGREEN,LINETHICK2;
  112. DRAWTEXT_FIX(TJTS2 AND (CROSS(1,AVX) AND (V1<V2)),0.65,1,0,'弱势缩量调整,清仓观望,寻找可布局股票.     '),COLORWHITE,LINETHICK2;
  113. DRAWTEXT_FIX(TJTS2 AND (((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)),0.65,1,0,'走势良好,量能稳定,可以继续持有强势股.     '),COLORWHITE,LINETHICK2;
  114. DRAWTEXT_FIX(TJTS2 AND (((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)),0.65,1,0,'形态良好,量能稍显不足,线性关系顶部背离,随时准备清仓.     '),COLORWHITE,LINETHICK2;
  115. DRAWTEXT_FIX(TJTS2 AND (((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)),0.65,1,0,'趋势不明,注意量能和线性关系变化,减少操作.     '),LINETHICK2,COLORWHITE;
  116. DRAWTEXT_FIX(TJTS2 AND (((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)),0.65,1,0,'趋势向下,量能萎缩,关注线性关系变化,减少操作.     '),LINETHICK2,COLORWHITE;


  117. {资金监控}
  118. 总额:=AMOUNT;
  119. 买A:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
  120. 买%:=买A/AMOUNT*100;
  121. 流入:=AMOUNT*买%/10000000000;
  122. 流出:=AMOUNT/100000000-流入;
  123. 净流:=(流入-流出);
  124. 总额3:=SUM(AMOUNT,3);
  125. 流入3:=SUM(流入,3);
  126. 流出3:=SUM(流出,3);
  127. 净流3:=SUM(流入-流出,3);
  128. 总额5:=SUM(AMOUNT,5);
  129. 流入5:=SUM(流入,5);
  130. 流出5:=SUM(流出,5);
  131. 净流5:=SUM(流入-流出,5);
  132. 总额10:=SUM(AMOUNT,10);
  133. 流入10:=SUM(流入,10);
  134. 流出10:=SUM(流出,10);
  135. 净流10:=SUM(流入-流出,10);
  136. 画:=CONST(FINDHIGH(总额10,0,190,1));
  137. DRAWTEXT_FIX(1,0,0,0,'净流(亿):'),COLORMAGENTA,LINETHICK1;
  138. DRAWTEXT_FIX(1,0,0.05,0,'1日'),COLORMAGENTA,LINETHICK1;
  139. DRAWTEXT_FIX(1,0,0.15,0,'3日'),COLORMAGENTA,LINETHICK1;
  140. DRAWTEXT_FIX(1,0,0.25,0,'5日'),COLORMAGENTA,LINETHICK1;
  141. DRAWTEXT_FIX(1,0,0.35,0,'10日'),COLORMAGENTA,LINETHICK1;
  142. DRAWNUMBER_FIX(1,0.05,0.05,0,CONST((净流))),COLORYELLOW;
  143. DRAWNUMBER_FIX(1,0.05,0.15,0,CONST((净流3))),COLORYELLOW;
  144. DRAWNUMBER_FIX(1,0.05,0.25,0,CONST((净流5))),COLORYELLOW;
  145. DRAWNUMBER_FIX(1,0.05,0.35,0,CONST((净流10))),COLORYELLOW;
复制代码




评分

参与人数 1 +200 收起 理由
晴空醉 + 200 很给力!

查看全部评分

举报 使用道具

回复

评论 47

老股童  高级股民  发表于 2022-5-12 06:16:34 | 显示全部楼层
感谢楼主分享!!!

举报 使用道具

回复 支持 1 反对 0
狼牙  初级股民  发表于 2018-6-22 19:49:22 | 显示全部楼层
不错的指标,谢谢分享!!!

举报 使用道具

回复 支持 1 反对 0
艺术黑帮  初涉股海  发表于 2022-5-17 07:53:40 | 显示全部楼层
感谢分享,指标虽老,但很经典。

举报 使用道具

回复 支持 反对
宇快  中级股民  发表于 2022-5-13 20:03:02 | 显示全部楼层
感觉很不错的

举报 使用道具

回复 支持 反对
一念心灵  初级股民  发表于 2022-5-12 08:44:25 | 显示全部楼层
不错的指标,谢谢分享!

举报 使用道具

回复 支持 反对
沸腾  中级股民  发表于 2022-5-12 08:26:41 | 显示全部楼层
感谢楼主分享!!!

举报 使用道具

回复 支持 反对
追风到  中级股民  发表于 2022-5-11 21:57:34 | 显示全部楼层
感谢楼主分享!!!

举报 使用道具

回复 支持 反对
沉默之鹰  论坛游民  发表于 2020-10-11 07:53:14 | 显示全部楼层
这个指标好,感谢楼主分享!!!

举报 使用道具

回复 支持 反对
昕迪陈  中级股民  发表于 2020-10-2 12:11:09 | 显示全部楼层
感谢楼主分享

举报 使用道具

回复 支持 反对
稻草一样  中级股民  发表于 2020-5-21 16:29:39 | 显示全部楼层
谢谢分享,支持

举报 使用道具

回复 支持 反对

0

关注

12

粉丝

17

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-24 02:31 , Processed in 0.197306 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.