当前位置:→ 公式网 > 通达信公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是阶段底部出击(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. LC:=REF(CLOSE,1);   
  2. RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);   
  3. TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);   
  4. HD:=(HIGH - REF(HIGH,1));   
  5. LD:=(REF(LOW,1) - LOW);   
  6. DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);   
  7. DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);   
  8. PDI:=((DMP * 100) / TR1);   
  9. MDI:=((DMM * 100) / TR1);   
  10. ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);   
  11. AV:=(RSI5 + ADX);   
  12. DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);   
  13. 0,COLORFF00FF;   
  14. WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));   
  15. NEWVOL:=(RSI5 - WR10);   
  16. 阶段底部:=(AV + NEWVOL);   
  17. STICKLINE((阶段底部 < 0),0,-10,0.8,1),LINETHICK6,COLORYELLOW;   
  18. 趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;   
  19. STICKLINE(CROSS(阶段底部,0),0,-10,0.8,1),LINETHICK6,COLORRED;   
  20. STICKLINE((趋势线 >230 ),100,90,0.3,1),LINETHICK6,COLORGREEN;   
  21.   
  22. LOWV:=LLV(LOW,9);   
  23. HIGHV:=HHV(HIGH,9);   
  24. RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);   
  25. K:EMA(RSV,3);   
  26. D:MA(K,3);   
  27. STICKLINE(K>D , K,D ,2.5,0),COLORRED,LINETHICK2;   
  28. STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK2;   
  29. 逃顶线:90,COLORGREEN;   
  30. 中轴线: 30,COLORRED;   
  31. 抄底线:10,COLORGREEN;   
  32. DRAWICON(CROSS(K,D),12,1)COLORRED;   
  33. DRAWICON(CROSS(D,K),88,2)COLORGREEN;   
  34. 阶段底部警戒:阶段底部 < 0,LINETHICK0,COLORYELLOW;   
  35. 阶段底部出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;   
  36. K2:=EMA(C,5),COLORFFFF00;   
  37. K3:=EMA(C,10),COLORFFFF00;   
  38. K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;   
  39. K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;   
  40. STICKLINE(CROSS(K8,0),0,10.10,8,0) ,COLORRED;   
  41. K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;   
  42. K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;   
  43. K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;   
  44. K4:=IF(K8>REF(K8,11) AND K3<REF(K3,11) ,1,0 ),COLORYELLOW;   
  45. 底部:STICKLINE((K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),5,0,8,0),COLORYELLOW;   
  46. V1:=EMA(CLOSE,5)-EMA(CLOSE,340);   
  47. V2:=EMA(V1,144);   
  48. V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORGREEN;   
  49. 卖出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORFF9900;   
  50. 每周10%买入:IF(CROSS(V3,5) AND V1<V2,20,0)+10,COLORGREEN;   
  51. DRAWTEXT(CROSS(V3,5) AND V1<V2,25,'买入'),COLORGREEN;   
  52. RSI:=((SMA(MAX(CLOSE - LC,0),4.1,1))/(SMA(ABS(CLOSE - LC),4.1,1)))*(100);   
  53. 瞄准底部:(CROSS(RSI,11))*(100),COLORRED;   
  54. DRAWTEXT(瞄准底部,98,'瞄准底部'),COLOR66FFCC;   
  55. 趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))   
  56. /(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);   
  57. 趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)   
  58. *(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));   
  59. 探底:IF((趋势<=5),15,0),COLORFF00FF;   
  60. N:=5;   
  61. VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-   
  62. 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;   
  63. VAR2:8,COLORGREEN,LINETHICK0;   
  64. 上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;   
  65. 专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;   
  66. DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;   
  67. CROSS(趋势线,10) AND 趋势线>=REF(MA(趋势线,10),1);   
  68. A1:=REF(CLOSE,2);   
  69. A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;   
  70. 波段介入:IF(A2<19,35,0),COLORWHITE;  



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识