公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 大智慧公式 > 正文 → 正文

金钱吊吊(源码)

发布时间:2010/6/24 7:49:21  浏览次数:

 

C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
  1. DRAWGBKLAST(DATE>900101,STRIP(RGB(5,125,5),RGB(5,25,5),0));   
  2. VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;   
  3. A1: (EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4,COLORff9900;   
  4. A2: EMA(A1,2),COLORff9900;   
  5. A3: EMA(A2,2),COLORff9900;   
  6. A4: EMA(A3,2),COLORff9900;   
  7. A5: EMA(A4,2),COLORff9900;   
  8. A6: EMA(A5,2),COLORff9900;   
  9. A7: EMA(A6,2),COLORff9900;   
  10. PARTLINE(A1,A1>REF(A1,1)),COLOR0ffff0;   
  11. PARTLINE(A2,A2>REF(A2,1)),COLOR0ffff0;   
  12. PARTLINE(A3,A3>REF(A3,1)),COLOR0ffff0;   
  13. PARTLINE(A4,A1>REF(A4,1)),COLOR0ffff0;   
  14. PARTLINE(A5,A1>REF(A5,1)),COLOR0ffff0;   
  15. PARTLINE(A6,A6>REF(A6,1)),COLOR0ffff0;   
  16. PARTLINE(A7,A7>REF(A7,1)),COLOR0ffff0;   
  17. 安全线: EMA(CLOSE,55), CIRCLEDOT;   
  18. {买卖指标}   
  19. AA05:MA(C,5),linethick0;   
  20. MM5:=(c-AA05)/AA05*100;   
  21. BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;   
  22. NN5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);   
  23. NNNN5:ema((NN5-ref(NN5,1)),3),linethick0;   
  24. AA10:MA(C,10),linethick0;   
  25. AA20:=MA(c,20);   
  26. BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;   
  27. AA30:MA(C,30),linethick0;   
  28. MM30:(c-AA30)/AA30*100,linethick0;   
  29. Var1:=(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) and AA30>ref(AA30,1);    
  30. Var2:=(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) and AA30<ref(AA30,1);    
  31. BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;   
  32. 强势:=filter(BB30>30 and BB10>45 and cross(BB05,60),10);   
  33. 加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1)  and MM30>ref(MM30,1) and AA10>ref(AA10,1)   
  34. and NNNN5>ref(NN5,1) and NN5>ref(NN5,1)  ,10) ;   
  35. 清仓:=filter(count(cross(30,BB05),5)>=1 and (c>AA30 or O>AA30) and AA05<ref(aa05,1)  and MM30<ref(MM30,1) and AA10<ref(AA10,1),10);   
  36. JC:=cross(0,MM5) and MM30<ref(MM30,1) and AA10>ref(AA10,1) ;   
  37. 减仓:=filter(JC,10);   
  38. MR:=count(cross(MM30,0),3)>=1 and MM30>ref(MM30,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30;   
  39. 买入:=filter(MR,10);   
  40. DRAWTEXT((买入),low*0.945,'⊙'),linethick2,ALIGN1,COLORYELLOW;   
  41. DRAWTEXT((买入),low*0.965,'⊙'),linethick2,ALIGN1,COLORYELLOW;   
  42. DRAWTEXT((买入),low*0.985,'⊙'),linethick2,ALIGN1,COLORYELLOW;    
  43. drawtext(减仓,high*1.06,'◇'),ALIGN2,linethick3,colorcyan;   
  44. drawtext(减仓,high*1.05,'◇'),ALIGN1,linethick3,colorcyan;   
  45. drawtext(减仓,high*1.059,'◇'),ALIGN0,linethick3,colorcyan;   
  46. DRAWTEXT((加仓),low*0.985,'⊙'),linethick2,ALIGN1,colorWhite;   
  47. DRAWTEXT((加仓),low*0.965,'⊙'),linethick2,ALIGN1,colorWhite;    
  48. DRAWTEXT((加仓),low*0.945,'⊙'),linethick2,ALIGN1,colorWhite;   
  49. DRAWTEXT((强势),low*0.985,'⊙'),linethick2,ALIGN1,COLORred;    
  50. DRAWTEXT((强势),low*0.965,'⊙'),linethick2,ALIGN1,COLORred;   
  51. {看色买卖}   
  52. STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;    
  53. STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;   
  54. STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;    
  55. STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;   
  56. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORFF7700;   
  57. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORFF9900;   
  58. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORFFBB00;   
  59. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORFFCC00;   
  60. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFFDD00;   
  61. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00;   
  62. STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;   
  63. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;   
  64. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;   
  65. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;   
  66. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;   
  67. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;   
  68. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;   
  69. STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF;   
  70. VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF (C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2) =HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3) =HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);   
  71. 红持:var9Q,color0000ff,LINETHICK0;   
  72. STICKLINE(VAR9Q,C,(O+C)/2,7,0),COLOR000055;   
  73. STICKLINE(VAR9Q,C,(O+C)/2,6,0),COLOR000066;   
  74. STICKLINE(VAR9Q,C,(O+C)/2,5,0),COLOR000077;   
  75. STICKLINE(VAR9Q,C,(O+C)/2,4,0),COLOR000099;   
  76. STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR0000BB;   
  77. STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;   
  78. STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;   
  79. VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);   
  80. 粉变:varaQ,colorff99ff,LINETHICK0;   
  81. STICKLINE(VARAQ,C,(O+C)/2,7,0),COLORFF11FF;   
  82. STICKLINE(VARAQ,C,(O+C)/2,6,0),COLORFF33FF;   
  83. STICKLINE(VARAQ,C,(O+C)/2,5,0),COLORFF55FF;   
  84. STICKLINE(VARAQ,C,(O+C)/2,4,0),COLORFF77FF;   
  85. STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF99FF;   
  86. STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;   
  87. STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;   
  88. VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3))  OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND  REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND  C<REF(C,1) AND C<REF(C,2);   
  89. 灰跌:varbQ,color888888,LINETHICK0;   
  90. STICKLINE(VARBQ,C,(O+C)/2,7,0),COLOR333333;   
  91. STICKLINE(VARBQ,C,(O+C)/2,6,0),COLOR555555;   
  92. STICKLINE(VARBQ,C,(O+C)/2,5,0),COLOR777777;   
  93. STICKLINE(VARBQ,C,(O+C)/2,4,0),COLOR999999;   
  94. STICKLINE(VARBQ,C,(O+C)/2,3,0),COLORBBBBBB;   
  95. STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;   
  96. STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;   
  97. VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4)  AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);   
  98. 绿买:varcQ,color00ff00,LINETHICK0;   
  99. STICKLINE(VARCQ,O,(O+C)/2,7,0),COLOR003300;   
  100. STICKLINE(VARCQ,O,(O+C)/2,6,0),COLOR005500;   
  101. STICKLINE(VARCQ,O,(O+C)/2,5,0),COLOR007700;   
  102. STICKLINE(VARCQ,O,(O+C)/2,4,0),COLOR009900;   
  103. STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR00BB00;   
  104. STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;   
  105. STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;   
  106. VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4)  AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF (C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);   
  107. 蓝抛:vardQ,colorff9900,LINETHICK0;   
  108. STICKLINE(VARDQ,O,(O+C)/2,7,0),COLORFF1100;   
  109. STICKLINE(VARDQ,O,(O+C)/2,6,0),COLORFF3300;   
  110. STICKLINE(VARDQ,O,(O+C)/2,5,0),COLORFF5500;   
  111. STICKLINE(VARDQ,O,(O+C)/2,4,0),COLORFF7700;   
  112. STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF9900;   
  113. STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;   
  114. STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;   

金钱吊吊(源码)

资源下载链接   资源大小:2KB

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