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

以下是通信达主图飞鹰猎庄副图源码(无源码的请下载附件导入)

 通信达主图飞鹰猎庄副图源码

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. MA5:MA(CLOSE,5);   
  2. MA10:MA(CLOSE,10);   
  3. MA20:MA(CLOSE,20);   
  4. MA60:MA(CLOSE,60);   
  5. BB:=REF(INDEXC,1)<REF(INDEXC,2) AND REF(C,2)*0.95>=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05    
  6. AND REF(C,1)<REF(O,1) AND C>O AND C/O>=1.05 AND C>REF(O,1)    
  7. AND REF(VOL,1)<REF(VOL,2);   
  8. STICKLINE(BB,O,C,4,0),COLORRED;   
  9. STICKLINE(BB,O,H,0,0),COLORRED;   
  10. STICKLINE(BB,L,C,0,0),COLORRED;   
  11. DRAWTEXT(BB,L*0.98,'追!'),COLORYELLOW;   
  12. VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-   
  13. 3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);   
  14. VAR2:=8;    
  15. CC:=CROSS(VAR1,VAR2);    
  16. DRAWTEXT(CC,L*0.98,'买!'),COLOR0099FF;   
  17. TYP:=(H+L+C)/3;   
  18. TYP1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))<=20 AND REF(MA(C,21),1)<MA(C,21);   
  19. TJ1:=O<MAX(REF(C,1),REF(O,1));   
  20. TJ2:=REF(C,1)>=MA(C,21) AND L/MA(C,21)>=1.015 AND MA(C,144)>MA(C,250) AND V<MA(V,10) AND MIN(REF(V,2),REF(V,1))>V;   
  21. TJ3:=REF(MA(C,250),90)<REF(MA(C,144),90) AND MA(C,144)>MA(C,250) AND O>MA(C,250);   
  22. TJ4:=MAX(REF(H,10)AND REF(H,9)AND REF(H,8)AND REF(H,7), REF(H,6));   
  23. TOUJI:=TYP1 AND TJ1 AND TJ2 AND REF(C,2)/REF(O,2)<1.06 AND C/O<=1.05 AND HHV(H,5)/LLV(L,30)>=1.65 AND REF(H,5)/REF(L,1)>=1.15 AND REF(C,1)/REF(O,1)<=0.995 AND (L<REF(L,2) OR (REF(H,2)-REF(L,2))/(H-L)>=2) AND O/REF(L,1)<=1.04   
  24. OR TYP1 AND TJ1 AND O/REF(L,1)<1.05 AND REF(L,1)/REF(O,4)<=0.85 AND REF(C,1)/REF(O,1)<=1.03 AND O<REF(C,1) AND HHV(H,5)/LLV(L,35)>1.35 AND V<MA(V,10);   
  25. TOUJI2:=TYP1 AND TJ1 AND TJ2 AND O/REF(L,1)<1.05 AND O/LLV(L,3)<1.1 AND REF(C,1)/REF(0,1)<=1.05 AND HHV(H,4)/LLV(L,16)>=1.35 AND REF(O,4)/REF(C,2)>=1.08 AND REF(C,2)/REF(O,2)<=0.995 AND (REF(L,2)<REF(L,3) OR (REF(H,3)-REF(L,3))/(REF(H,1)-REF(L,1))>=2) AND L<MIN(REF(C,1),REF(O,1))   
  26. OR TYP1 AND TJ1 AND HHV(H,10)/LLV(L,25)>=1.3 AND REF(C,5)<REF(H,5) AND REF(C,4)<REF(C,5) AND REF(C,3)<REF(C,4) AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,2) AND L<REF(L,1) AND MA5/O<1.1;   
  27. DATOUJI:=TYP1 AND TJ3 AND O<REF(C,5) AND O<=REF(C,1) AND REF(H,10)/O>=1.17 AND HHV(H,10)/LLV(L,30)>1.4 AND (MA(V,10)/HHV(V,10)>0.5 AND V/HHV(V,10)>0.2 AND V/HHV(V,10)<0.4 OR REF(V,3)>REF(V,2) AND REF(V,2)>REF(V,1)) AND REF(C,1)/REF(C,2)<=1.02;   
  28. DATOUJI1:=TYP1 AND TJ3 AND O<REF(L,6) AND O<MIN(REF(C,5)AND REF(O,5),5) ;   
  29. DRAWTEXT(TOUJI OR TOUJI2 OR DATOUJI OR DATOUJI1,L*0.98,'△'),COLORYELLOW;   
  30. DRAWTEXT(CROSS(MA(VOL,10),MA(VOL,20)) AND MA(VOL,5)>MA(VOL,10) AND L<MA(C,20) AND C>=MA(C,20),L*0.98,'量托'),COLORWHITE;   
  31. 卖出:=CROSS(90,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);   
  32. DRAWTEXT(卖出,H*1.05,'短卖'),COLORGREEN;   
  33. C3:=REF(C,1);   
  34. 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);   
  35. STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;   
  36. 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);   
  37. STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;   
  38. W1:=C=HHV(C,20);    
  39. W2:=BARSLAST(W1);    
  40. W3:=IF(W2>0,REF(C,W2),REF(C,W2));    
  41. W4:=CROSS(C,REF(W3,1));    
  42. 突破盘整:=W4 AND COUNT(W4,5)=1;    
  43. DRAWICON(突破盘整,L-0.10,1);   

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. 附图:暴涨大牛   
  2. N1:=5;N2:=10;   
  3. LC:=REF(CLOSE,1);   
  4. A0:=(2*C+H+L)/4;   
  5. 均线:=MA(A0,3)>REF(MA(A0,3),1);   
  6. 安全线:2,COLORRED,POINTDOT,LINETHICK4;   
  7. A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;   
  8. K:MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),3),LINETHICK1,COLORF00FF0;   
  9. D:MA(K,3),COLORFF0000,LINETHICK1;   
  10. J:3*K-2*D,LINETHICK1,COLORF00FF0;   
  11. DRAWBAND(K,RGB(155,50,50),D,RGB(0,100,50));   
  12. VAR1:=C-REF(C,1);   
  13. VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);   
  14. MA5:=EMA(C,5);   
  15. MA13:=EMA(C,13);   
  16. UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS   
  17. (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS   
  18. (MA5,MA13))+1),0),COLOR0000FF;   
  19. DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS   
  20. (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS   
  21. (MA13,MA5))+1),0),COLOR00FF00;   
  22. BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND   
  23. REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);   
  24. 底线:0,COLORFF00FF;   
  25. 顶线:10,COLORFF0000;   
  26. STICKLINE(UP,0,0.2,3,0),COLOR0000FF;   
  27. STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00;   
  28. STICKLINE(BT,0,3,2,0),COLOR000088;   
  29. STICKLINE(BT,0,3,1,0),COLOR0000CC;   
  30. STICKLINE(BT,0,3,0.22,0),COLOR0000FF;   
  31. DRAWTEXT(BT,3,'短牛'),COLOR0000FF;   
  32. TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;   
  33. STICKLINE(TJ1,0,2,3,0),COLOR880088;   
  34. STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;   
  35. STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;   
  36. STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;   
  37. DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;   
  38. HR:=HHV(HIGH,55);   
  39. HRY:=LLV(LOW,55);   
  40. HRY11:=HR*HRY;   
  41. HRY33:=SQRT(HRY11);   
  42. TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;   
  43. STICKLINE(TJ2,0,1,5,0),COLOR008888;   
  44. STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;   
  45. STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;   
  46. STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;   
  47. DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;   
  48. ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);   
  49. STICKLINE(ST,10,9,5,0),COLOR008800;   
  50. STICKLINE(ST,10,9,2,0),COLOR00AA00;   
  51. STICKLINE(ST,10,9,1,0),COLOR00CC00;   
  52. STICKLINE(ST,10,9,0.2,0),COLOR00FF00;   
  53. DRAWTEXT(ST,9,'卖'),COLOR00FF00;   
  54. DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);   
  55. DEA:EMA(DIFF,9),COLORFFFF00;   
  56. A11:=BARSLAST(REF(CROSS(DIFF,DEA),1));   
  57. 底背离:=REF(CLOSE,A11+1)>CLOSE AND DIFF>REF(DIFF,A11+1) AND CROSS(DIFF,DEA);   
  58. DRAWTEXT(底背离,-0.6,'底背离'),COLORWHITE;   
  59. A22:=BARSLAST(REF(CROSS(DEA,DIFF),1));   
  60. 顶背离:=REF(CLOSE,A22+1)<CLOSE AND REF(DIFF,A22+1)>DIFF AND CROSS(DEA,DIFF);   
  61. DRAWTEXT(顶背离,11,'顶背离'),COLORWHITE;   

 

{公式在线提供:www.gszx.com.cn}



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