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

以下是最佳买入点(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. FD5 [最佳买入点]    
  2. LC:=REF(CLOSE,1);   
  3. RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);   
  4. TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);   
  5. HD:=(HIGH - REF(HIGH,1));   
  6. LD:=(REF(LOW,1) - LOW);   
  7. DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);   
  8. DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);   
  9. PDI:=((DMP * 100) / TR1);   
  10. MDI:=((DMM * 100) / TR1);   
  11. ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);   
  12. AV:=(RSI5 + ADX);   
  13. DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);   
  14. WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));   
  15. NEWVOL:=(RSI5 - WR10);   
  16. 最佳买入:=(AV + NEWVOL);   
  17. 买入选股:IF(CROSS(最佳买入,0),4,0),STICK,COLOR00FFFF,LINETHICK2;   
  18. VARA1:=SMA(买入选股,3,1);   
  19. VARA2:=SMA(VARA1,3,1),COLOR0000FF;   
  20. VARA3:=SMA(VARA2,3,1),COLOR00FFFF;   
  21. 建仓买点:IF(CROSS(VARA2,VARA3) AND (VARA2<40),5,0* 10000),COLOR0000FF,LINETHICK1;   
  22. STICKLINE(建仓买点,0,1.5,6,0),COLORFF80FF;   
  23. STICKLINE(建仓买点,0.5,2.8,2,0),COLOR3000FF;   
  24. RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);    
  25. K:=SMA(RSV,3,1);    
  26. D:=SMA(K,3,1);    
  27. J:=3*K-2*D;    
  28. X:=LLV(J,2)=LLV(J,8);    
  29. 最佳买入时机: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;   
  30. STICKLINE(最佳买入时机,0,1,3,0),COLOR009999;   
  31. STICKLINE(最佳买入时机,0,1,2,0),COLOR00DDDD;   
  32. STICKLINE(最佳买入时机,0,1,1,0),COLOR00FFFF;   
  33. 机构建仓: IF(最佳买入<5,-0.5,0),STICK,COLOR00FF00,LINETHICK1;    
  34. 机构建仓日:STICKLINE(机构建仓,0,-1,4,1),COLOR00FF00,LINETHICK5;   
  35. 趋势:3*SMA((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORFF99FF,NODRAW;   
  36. 备钱: IF(趋势<=20,-0.8,0),COLORD0D0D0,STICK,LINETHICK3;   
  37. 快买: IF(趋势<=10,1,0),COLORFF38FF,STICK,LINETHICK3;   
  38. BIAS1:=(C-MA(C,6))/MA(C,6)*100,COLORFFDDCC;   
  39. BIAS2:(C-MA(C,13))/MA(C,13)*100,COLORFFFFFF,LINETHICK1;   
  40. BIAS3:=(C-MA(C,26))/MA(C,26)*100,COLORFFFFFF,LINETHICK1;   
  41. 乖离:(BIAS1+2*BIAS2+3*BIAS3)/6,COLOR00FFFF;   
  42. 乖离超限:MA(乖离,3),COLORFF80FF;   
  43. STICKLINE(CROSS(乖离,乖离超限)  AND 乖离超限<-9,-4,0,1,1),COLORFFFFFF;   
  44. STICKLINE(CROSS(乖离超限,乖离)  AND 乖离>10,6,0,3,0),COLORFF88FF;   
  45. DRAWBAND(MA(乖离,1),RGB(240,120,40),MA(乖离超限,1),RGB(256,200,20));   
  46. 警跌:IF(BIAS2<REF(BIAS2,1),BIAS2,DRAWNULL),COLORFF6128,LINETHICK3;   
  47. 回升:IF(BIAS2>REF(BIAS2,1),BIAS2,DRAWNULL),COLOR00FFFF,LINETHICK3;   
  48. R:SMA(MAX(CLOSE- REF(C,1),0),6,1)/SMA(ABS(CLOSE- REF(C,1)),6,1)*100,COLORFFCCFF,NODRAW;   
  49. R2:SMA(MAX(CLOSE- REF(C,1),0),13,1)/SMA(ABS(CLOSE- REF(C,1)),13,1)*100,COLOR00CCFF,NODRAW;   
  50. STICKLINE(CROSS(R2,R)  AND R2>78,2,0,3,-1),COLOR30FFFF;   
  51. CC:=(C-REF(C,1))/REF(C,1)*100>1.2;   
  52. DD:=L<MA(C,5)*0.921;   
  53. EE:=V<MA(V,5)*1.5;   
  54. 老鼠仓:=(L<(AMOUNT/V)*0.9) AND CC AND DD AND EE,LINETHICK0,COLOR0099FF;   
  55. DRAWTEXT(老鼠仓,-5,'老鼠仓'),COLORFFFFFF;   
  56. 搏击:=IF((CLOSE>REF(CLOSE,1)),88,0);   
  57. VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (搏击>0),91,0),NODRAW;   
  58. DRAWTEXT(FILTER((VAR4AA>90),45),-3,'搏击 '),COLORFFFF00;   
  59. 选底:TROUGHBARS(3,15,1)<4,NODRAW;   
  60. DRAWTEXT(FILTER(选底=1,3),-2,'底部'),COLOR00FF00;   
  61. 头部:=IF((PEAKBARS(3,15,1)<10)=1,2,0);   
  62. 快逃:=IF(头部>REF(头部,1),H,0),COLORWHITE,NODRAW;   
  63. DRAWTEXT(快逃=H,6,'头部'),COLOR0000FF,LINETHICK1;   
  64. STICKLINE(CROSS(乖离,BIAS1)  AND BIAS2>15,乖离,0,1,0),COLOR3300FF;   
  65. DRAWICON(CROSS(乖离,BIAS1*0.382),-1,1),COLORGREEN;   


上一篇:优股龙必杀技    下一篇:高准确率的多周期kdj

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