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

以下是主进顶底图(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN;   
  2. STICKLINE(趋势>50,趋势,50,4,0),COLOR32329B;   
  3. STICKLINE(50>趋势,趋势,50,4,0),COLOR326400;   
  4. IF(趋势>50, 趋势,DRAWNULL), COLORRED;   
  5. RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;   
  6. K:=SMA(RSV,3,1);   
  7. D:=SMA(K,3,1);   
  8. TYP:=(HIGH+LOW+CLOSE)/3;   
  9. CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));   
  10. DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);   
  11. DEA:=EMA(DIFF,6);   
  12. MACD:=2*(DIFF-DEA);   
  13. 转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);   
  14. STICKLINE(转点=1,50,50,6,0),COLORYELLOW;   
  15. STICKLINE(转点=0,50,50,6,0),COLORCYAN;   
  16. 顶部:90,COLORYELLOW;   
  17. 底部:10,COLORCYAN;   
  18. 判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;   
  19. IF( 趋势>判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;   
  20. IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;   
  21. DRAWICON(CROSS(趋势,判断),判断,1);   
  22. DRAWICON(CROSS(趋势,顶部),顶部,2);   
  23. LC:= REF(CLOSE,1);   
  24. RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;   
  25. VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;   
  26. VAR2:=SMA(VAR1,9,1)+100;   
  27. VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  28. VAR4:=SMA(VAR3,3,1);   
  29. VAR5:=SMA(VAR4,3,1)+100;   
  30. VAR6:=VAR5-VAR2;   
  31. 短线1: IF(VAR6>45,VAR6-45,0),COLORA6B8C1;   
  32. VAR2Q:=REF(LOW,1);   
  33. VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;   
  34. VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);   
  35. VAR5Q:=LLV(LOW,30);   
  36. VAR6Q:=HHV(VAR4Q,30);   
  37. VAR7Q:=IF(MA(CLOSE,58),1,0);   
  38. VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;   
  39.   
  40. VR2:=REF(LOW,1);   
  41. VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;   
  42. VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);   
  43. VR5:=LLV(LOW,30);   
  44. VR6:=HHV(VR4,30);   
  45. VR7:=IF(MA(CLOSE,58),1,0);   
  46. VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;   
  47. VR9:=IF(VR8>100,100,VR8);   
  48. 主力进场:STICKLINE(VR9>-150,0,VR9,3,0), , COLORFF00FF;   
  49. 洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,NODRAW;   
  50. STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;   
  51.   
  52. 短线获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,25,2,0),COLORYELLOW;   
  53. VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;   
  54. VARK2:=REVERSE(VARK1);   
  55. VARK3:=SMA(VARK1,3,1);   
  56.   
  57.   
  58.   
  59.   
  60. 逃顶:=CROSS(82,RSI);   
  61. STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;   
  62. STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;   
  63. STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;   
  64. STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;   
  65. D1:=(C+L+H)/3; {股票公式WWW.88GS.COM}   
  66. D2:=EMA(D1,6);    
  67. D3:=EMA(D2,5);   
  68. BBUY:=CROSS(D2,D3);   
  69. 风险区:80,COLORFF85FF;   
  70. 安全区:20,COLORYELLOW,POINTDOT;   
  71. 天线:100,COLORFFFF00;   
  72. 强弱线:50,COLORGREEN,POINTDOT;   
  73. DRAWICON(BBUY,(LOW *1),1);   
  74. VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;   
  75. DRAWICON(CROSS(82,VARR1),HIGH,15);   
  76. DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;   
  77.   
  78. MAV:=(2*C+H+L)/4;   
  79. VAR9:=LLV(LOW,34);   
  80. VAR7:=HHV(HIGH,34);   
  81. SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);   
  82. SD: EMA(0.667*REF(SK,1)+0.333*SK,2);   
  83. 高抛:80, POINTDOT;   
  84. 低吸:20, POINTDOT;   
  85. 强弱分界:50, POINTDOT;   
  86. DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;  

 



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