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

以下是五里头大师作品:股市灯塔 有图有源码有选股公式(无源码的请下载附件导入)

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. N1:=5;N2:=10;   
  2. STICKLINE(C>0,0,10,15,0),COLOR781816;   
  3. LC:=REF(CLOSE,1);   
  4. RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;   
  5. RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;   
  6. VAR1:=C-REF(C,1);   
  7. VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);   
  8. MA5:=EMA(C,5);   
  9. MA13:=EMA(C,13);   
  10. UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS   
  11. (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS   
  12. (MA5,MA13))+1),0),COLOR0000FF;   
  13. DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS   
  14. (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS   
  15. (MA13,MA5))+1),0),COLOR00FF00;   
  16. BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND   
  17. REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);   
  18. 0,COLORFF00FF;   
  19. 10,COLORFF0000;   
  20. STICKLINE(UP,0,0.2,3,0),COLOR0000FF;   
  21. STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00;   
  22. STICKLINE(BT,0,3,2,0),COLOR000088;   
  23. STICKLINE(BT,0,3,1,0),COLOR0000CC;   
  24. STICKLINE(BT,0,3,0.22,0),COLOR0000FF;   
  25. DRAWTEXT(BT,3,'短牛'),COLOR0000FF;   
  26. TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;   
  27. STICKLINE(TJ1,0,2,3,0),COLOR880088;   
  28. STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;   
  29. STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;   
  30. STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;   
  31. DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;   
  32. HR:=HHV(HIGH,55);   
  33. HRY:=LLV(LOW,55);   
  34. HRY11:=HR*HRY;   
  35. HRY33:=SQRT(HRY11);   
  36. TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;   
  37. STICKLINE(TJ2,0,1,5,0),COLOR008888;   
  38. STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;   
  39. STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;   
  40. STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;   
  41. DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;   
  42. ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);   
  43. STICKLINE(ST,10,9,5,0),COLOR008800;   
  44. STICKLINE(ST,10,9,2,0),COLOR00AA00;   
  45. STICKLINE(ST,10,9,1,0),COLOR00CC00;   
  46. STICKLINE(ST,10,9,0.2,0),COLOR00FF00;   
  47. DRAWTEXT(ST,9,'卖'),COLOR00FF00;   
  48. DRAWTEXT(CURRBARSCOUNT=89,9.5,'★本指标适合抄底及波段特征明显个股,暴跌  
  49. 途中慎用!!'),COLOR0000FF;   
  50. DRAWTEXT(CURRBARSCOUNT=89,8.7,'★大牛:长线大牛股,目标翻倍;  
  51. 中短牛:15天目标10%-20%!!'),COLOR0078FF;   
  52. DRAWTEXT(CURRBARSCOUNT=89,8.0,'★以上信号结合RSI低位时用更加可靠,盘整市中信号偏多!!'),COLOR00FF00;   
  53. DRAWTEXT(CURRBARSCOUNT=89,7.3,'★当大牛\中牛\短牛同一天出现时,  
  54. 果断买入!!'),COLOR00FFFF;   

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 选股原码:   
  2. 1、灯塔(大牛)   
  3. A7:=C-REF(C,1);   
  4. A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);   
  5. RMA:=EMA(CLOSE,7);   
  6. NMA:=EMA(CLOSE,19);   
  7. UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS   
  8. (NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS   
  9. (RMA,NMA))+1),0),COLOR0000FF;   
  10. DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS   
  11. (RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS   
  12. (NMA,RMA))+1),0),COLOR00FF00;   
  13. {BT:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND   
  14. REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);}   
  15. HR:=HHV(HIGH,55);   
  16. HRY:=LLV(LOW,55);   
  17. HRY11:=HR*HRY;   
  18. HRY33:=SQRT(HRY11);   
  19. TJ:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;   
  20. XG:TJ;   

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 2、灯塔:短线牛   
  2. A7:=C-REF(C,1);   
  3. A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);   
  4. RMA:=EMA(CLOSE,7);   
  5. NMA:=EMA(CLOSE,19);   
  6. UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS   
  7. (NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS   
  8. (RMA,NMA))+1),0),COLOR0000FF;   
  9. DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS   
  10. (RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS   
  11. (NMA,RMA))+1),0),COLOR00FF00;   
  12. BT:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND   
  13. REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);   
  14. XG:BT;   

五里头大师作品:股市灯塔 有图有源码有选股公式


上一篇:筹码穿透率    下一篇:稳赢

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