通达信低买高成功率CCI公式优化版

[复制链接]
查看349 | 回复0 | 2022-7-24 09:03:48 | 显示全部楼层 |阅读模式

一.CCI(优化版)指标用法: 优化了底背离, 顶背离, 量能线, 转强, 转弱提示 当CCI中的CCI线下穿到 -100 线下,越低越好成功率更高。
二,均线设置; 30日;60日;120日;250日这几条均线,当哪一天,看到CCI线在-100线下从向下走开始调头向上,而且K线下跌到这几条均线附近,第二天马上买入,不出几天,该股就会上涨,非常高的率。{牛牛指标网提供:www.tdx001.com}
CCI(优化版)
 

复制内容到剪贴板
  1. {参数;N(2,100,14) N1:(1,10,3)}   
  2. [localimg=318,300]1[/localimg]TYP:=(HIGH + LOW + CLOSE)/3;   
  3. CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),LINESTICK,COLORRED,LINETHICK2;   
  4. 跌:IF(CCI<REF(CCI,1),CCI,DRAWNULL),COLORGREEN,LINETHICK2;   
  5. DRAWICON(CROSS(200,CCI),250,27);   
  6. DRAWICON( CROSS(CCI,-200),-250,26);   
  7. 转强:STICKLINE(CCI>0,0,CCI,2,0),COLOR770077;   
  8. STICKLINE(CCI>0,0,CCI,1.5,0),COLOR990099;   
  9. STICKLINE(CCI>0,0,CCI,0.8,0),COLORBB00BB;   
  10. STICKLINE(CCI>0,0,CCI,0.3,0),COLORFF00FF;   
  11. 转弱:STICKLINE(CCI<0,0,CCI,2,0),COLOR888800;   
  12. STICKLINE(CCI<0,0,CCI,1.5,0),COLORAAAA00;   
  13. STICKLINE(CCI<0,0,CCI,0.8,0),COLORDDDD00;   
  14. STICKLINE(CCI<0,0,CCI,0.3,0),COLORFFFF00;   
  15. 弱转强:=STICKLINE(CROSS(CCI,-200) AND CCI>REF(CCI,1),CCI,0,2,0),COLOR00DFDF;   
  16. STICKLINE(弱转强,-150,0,7,0),COLORYELLOW;   
  17. STICKLINE(弱转强,-150,0,4,0),COLOR000099;   
  18. STICKLINE(弱转强,-150,0,2,0),COLOR0000BB;   
  19. STICKLINE(弱转强,-150,0,1,0),COLOR0000DD;   
  20. STICKLINE(弱转强,-210,0,0.9,0),COLOR0000FF;   
  21. DRAWTEXT(弱转强,-210,'买'),COLORYELLOW;   
  22. 强转弱:=STICKLINE(CROSS(200,CCI) AND CCI<REF(CCI,1),0,CCI,2,0),COLORGREEN;   
  23. STICKLINE(强转弱,150,0,7,0)COLORWHITE;   
  24. STICKLINE(强转弱,150,0,4,0),COLOR009900;   
  25. STICKLINE(强转弱,150,0,2,0),COLOR00BB00;   
  26. STICKLINE(强转弱,150,0,1,0),COLOR00DD00;   
  27. STICKLINE(强转弱,210,0,0.9,0),COLOR00FF00;   
  28. DRAWTEXT(强转弱,210,'卖'),COLORGREEN;   
  29. 天顶线:=200,COLORRED;   
  30. 地底线:-200,COLORCYAN;   
  31. 牛熊线:100,POINTDOT,LINETHICK3,COLORWHITE;   
  32. BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;   
  33. BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;   
  34. BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;   
  35. MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;   
  36. MN:=MA(MM,3);   
  37. VAR24:=LLV(LOW,36);   
  38. VAR25:=HHV(HIGH,30);   
  39. VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;   
  40. {底背离:= IF((VAR26<10),-100,-150), COLORYELLOW,LINETHICK1;}   
  41. 底背离:IF(MN<-4 ,-100,-150),COLORYELLOW,LINETHICK1;   
  42. 顶背离: IF((VAR26>90),150,200), COLORGREEN,LINETHICK1;   
  43. 量能:MA(100*(CLOSE- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),N1),COLORYELLOW,LINETHICK1;   

0374057332.png

0374057332.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则