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

顶极买卖副图源码

发布时间:2009/11/8 9:23:01  浏览次数:

 

C/C++ Code复制内容到剪贴板
  1. VARQ1:= REF((LOW+OPEN+CLOSE+HIGH)/4,1);   
  2. VARQ2:=SMA(ABS(LOW-VARQ1),13,1)/SMA(MAX(LOW-VARQ1,0),10,1);   
  3. VARQ3:= EMA(VARQ2,10);   
  4. VARQ4:= LLV(LOW,33);   
  5. 主力提示: IF(EMA(IF(LOW<=VARQ4,VARQ3,0),3)*4-18>=120,120,EMA(IF(LOW<=VARQ4,VARQ3,0),3)*4-18),LINETHICK0,COLORFF0000;   
  6. STICKLINE(主力提示=120 ,-18,120,0.1,0),COLORFF0000;   
  7. STICKLINE(主力提示>REF(主力提示,1),-18,主力提示,0.1,0),LINETHICK0,COLORFF0000;   
  8. MAV:= (CLOSE*2+HIGH+LOW)/4*10;   
  9. SK:= EMA(MAV,13)-EMA(MAV,34);   
  10. SD:= EMA(SK,5);   
  11. B:= 2*(SK-SD)*5.5;   
  12. 拉升资金: IF(IF(B>=0,B,-18)>120,120,IF(B>=0,B,-18)),LINETHICK2,COLORFF00FF;   
  13. 大盘A:= (HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;   
  14. 大盘MAV:= (INDEXC*2+INDEXH+INDEXL)/4;   
  15. 大盘SK:= EMA(大盘MAV,13)-EMA(大盘MAV,34);   
  16. 大盘SD:= EMA(大盘SK,3);   
  17. 大盘B:= (大盘SK-大盘SD)/2;   
  18. 主力资金: IF(IF(大盘B>=0,大盘B,-18)>120,120,IF(大盘B>=0,大盘B,-18)),LINETHICK2,COLOR0000FF;   
  19. VAR96:= (CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;   
  20. VAR97:= SMA(VAR96,4,1);   
  21. VAR98:= SMA(VAR97,2,1);   
  22. 主力建仓: IF(VAR98<8.5 AND VAR97<11,120,-18),LINETHICK2,COLOR0000FF;   
  23. AA:= MA(WINNER(CLOSE*0.95)*100,3);   
  24. VAR83:= 1/WINNER(CLOSE);   
  25. VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;   
  26. VAR85:= 100-ABS(VAR84);   
  27. VAR86:= 3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);   
  28. VAR87:= 3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);   
  29. VAR88:= 100-VAR87;   
  30. VAR89:= 100-VAR86;   
  31. VAR90:= MA(WINNER(CLOSE*0.95)*100,3);   
  32. VAR91:= IF(VAR83>5,IF(VAR83<100,VAR83,VAR85-10),0);   
  33. VAR92:= MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;   
  34. VAR93:= 100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);   
  35. VAR94:= 100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);   
  36. VAR95:= VAR93<REF(VAR94,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);   
  37. AAE:= WINNER(CLOSE+CLOSE*15/100)*100;   
  38. BBE:= WINNER(CLOSE+CLOSE*0/100)*100;   
  39. CCE:= AAE-BBE;   
  40. DDE:= (WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;   
  41. EEE:= CCE<3 AND DDE<0.5 AND OPEN<>LOW;   
  42. A11:= 3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);   
  43. 黑马线:= EMA(A11,5);   
  44. A12:= (黑马线-REF(黑马线,1))/REF(黑马线,1)*100;   
  45. A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;   
  46. 趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);   
  47. A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;   
  48. N:= 3;   
  49. VAR1:= REF((LOW+OPEN+CLOSE+HIGH)/4,1);   
  50. VAR2:= SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);   
  51. VAR3:= EMA(VAR2,10);   
  52. VAR4:= LLV(LOW,33);   
  53. VAR5:= EMA(IF(LOW<=VAR4,VAR3,0),5);   
  54. VAR6:= REF(CLOSE,1);   
  55. VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;   
  56. VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;   
  57. VAR9:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;   
  58. VAR10:= VAR8 AND VAR9;   
  59. VAR11:= (2*CLOSE+HIGH+LOW)/4;   
  60. VAR12:= LLV(LOW,13);   
  61. VAR13:= HHV(HIGH,13);   
  62. VAR14:= LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;   
  63. VAR15:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;   
  64. VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);   
  65. VAR17:= ((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;   
  66. VAR18:= 1/WINNER(CLOSE);   
  67. VAR19:= MA(CLOSE,13);   
  68. VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);   
  69. VAR21:= LLV(LOW,75);   
  70. VAR22:= HHV(HIGH,75);   
  71. VAR23:= (VAR22-VAR21)/100;   
  72. VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);   
  73. VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);   
  74. VAR26:= 3*VAR24-2*SMA(VAR24,15,1);   
  75. VAR27:= MA(HHV(HIGH,485),17);   
  76. VAR28:= MA(HHV(HIGH,222),17);   
  77. VAR29:= MA(HHV(HIGH,96),17);   
  78. VAR30:= MA(LLV(LOW,485),17);   
  79. VAR31:= MA(LLV(LOW,222),17);   
  80. VAR32:= MA(LLV(LOW,96),17);   
  81. VAR33:= MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR28*0.558+VAR29*0.558)/6,17);   
  82. VAR34:= MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28*0.55+VAR29*0.65)/6,17);   
  83. VAR35:= MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0.68+VAR29*0.68)/6,17);   
  84. VAR36:= LLV(LOW,30);   
  85. VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);   
  86. VAR38:= VAR37;   
  87. VAR39:= LOW;   
  88. VAR40:= REF(LOW,1);   
  89. VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100;   
  90. VAR42:= MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);   
  91. VAR43:= HHV(VAR42,30);   
  92. VAR45:= 3*VAR25-2*SMA(VAR25,15,1);   
  93. VAR46:= 100-VAR45;   
  94. VAR49:= REF(LOW,1)*0.9;   
  95. VAR50:= LOW*0.9;   
  96. VAR51:= (VAR50*VOL+VAR49*(CAPITAL-VOL))/CAPITAL;   
  97. VAR52:= EMA(VAR51,30);   
  98. VAR53:= CLOSE-REF(CLOSE,1);   
  99. VAR54:= MAX(VAR53,0);   
  100. VAR55:= ABS(VAR53);   
  101. VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;   
  102. VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;   
  103. VAR58:= BARSCOUNT(CLOSE);   
  104. VAR59:= SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;   
  105. VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;   
  106. VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;   
  107. VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);   
  108. VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;   
  109. VAR64:= SMA(VAR63,4,1);   
  110. VAR65:= SMA(VAR64,3,1);   
  111. VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;   
  112. VAR67:= VAR59<=25 AND VAR60<(-95) AND VAR66>20 AND VAR62<(-30) AND VAR65<30 AND VAR52-CLOSE>=(-0.25) AND VAR56<22 AND VAR57<28 AND VAR58>50;   
  113. VAR68:= (HIGH+LOW+CLOSE)/3;   
  114. VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));   
  115. VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));   
  116. VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 AND VAR70<200,10,0);   
  117. VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) AND VAR70>(-200),-10,VAR71);   
  118. VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;   
  119. VAR74:= REVERSE(VAR73);   
  120. VAR75:= SMA(VAR73,3,1);   
  121. 绝佳买点:=MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0),N);   
  122. 跑:= FILTER(REF(黑马线,1)>90 AND A12<0,7);   
  123. 买线:= EMA(CLOSE,2);   
  124. 卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);   
  125. 指數位置:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);   
  126. 抄底:= CROSS(指數位置,10);   
  127. A1:= VOL=HHV(VOL,120);   
  128. A2:= CLOSE/OPEN>1.05;   
  129. TJ:= A1 AND A2;   
  130. 龙:= VAR10;   
  131. 买4:= VAR14;   
  132. AA1:= AMOUNT/VOL;   
  133. BB1:= LOW<AA1*0.9;   
  134. CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;   
  135. DD1:= LOW<MA(CLOSE,5)*0.921;   
  136. EE1:= VOL<MA(VOL,5)*1.5;   
  137. FF1:= BB1 AND CC1 AND DD1 AND EE1;   
  138. 买3:= FILTER(FF1,3);   
  139. 二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);   
  140. RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  141. K:= SMA(RSV,3,1);   
  142. D:= SMA(K,3,1);   
  143. J:= 3*K-2*D;   
  144. X:= LLV(J,2)=LLV(J,8);   
  145. 买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3 ;   
  146. 长期底部:= LLV(HIGH,30);   
  147. 上:= SMA(LOW,5,2)*0.96;   
  148. 短期底部:= LLV(HIGH,30)*0.93;   
  149. LC:= REF(CLOSE,1);   
  150. RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;   
  151. 大顶:= FILTER(VAR17>20 AND FILTER(VAR17<REF(VAR17,1),5),5);   
  152. VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;   
  153. MAN:= SMA(HIGH,21,2)*1.05;   
  154. 短底2:= EMA(VAR76,5);   
  155. 支撑:= HHV(短底2,60);   
  156. VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;   
  157. VAR78:= SMA(VAR77,5,1);   
  158. VAR79:= SMA(VAR78,8,1);   
  159. VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;   
  160. VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;   
  161. VAR82:= IF(CLOSE>1000,VAR80,VAR81);   
  162. 黑马起步:= VAR82;   
  163. 逃:= FILTER(HIGH>支撑 AND CLOSE<支撑 AND CLOSE/OPEN>0-1.06 AND CLOSE<OPEN,5);   
  164. 逃命:= 黑马起步>0;   
  165. 选逃:= FILTER(逃命 OR 逃 OR CROSS(84,RSI) OR 大顶,3);   
  166.   
  167. 散户:= SMA(VAR75,3,1);   
  168. 新庄:= SMA(散户,3,1);   
  169. 高抛:= CROSS(新庄,散户) AND 新庄>75;   
  170. 买: CROSS(买线,卖线),LINETHICK0,COLOR000000;   
  171. 卖: CROSS(卖线,买线),LINETHICK0,COLOR000000;   
  172. 大黑马: CROSS(趋势线3,0) AND 黑马线<40 ,LINETHICK0,COLOR000000;   
  173. 黑马: CROSS(A11,黑马线) AND 黑马线<A5 AND 黑马线>REF(黑马线,1),LINETHICK0,COLOR000000;   
  174. 大买: FILTER(绝佳买点>30000,5),LINETHICK0,COLOR000000;   
  175. 选底: FILTER(LOW<=上 AND HIGH>=短期底部 AND CLOSE>=长期底部 AND CLOSE/OPEN>1.03,3),LINETHICK0,COLOR000000;   
  176. 稳赚10买: FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0,LINETHICK0,COLOR000000;   
  177. 大资金进场: VAR95 AND COUNT(VAR95,30)=1,LINETHICK0,COLOR000000;   
  178. 做空:= 高抛+选逃+卖+跑;   
  179. 选拉升股: 买 AND 拉升资金>0 OR 拉升资金>0 AND COUNT(买,5)>=1 AND COUNT(做空,BARSLAST(买))=0 AND REF(拉升资金>0 AND COUNT(买,5)>=1 AND COUNT(做空,BARSLAST(买))=0,1)=0,LINETHICK0,COLOR000000;   
  180. 选暴涨股: 买 AND COUNT(主力建仓=120,10)>=1 AND COUNT(做空,BARSLAST(买))=0 OR 买 AND 拉升资金>0 AND (COUNT(主力提示>80,7)>=1 OR COUNT(大黑马+大买+大资金进场+选底,7)>=1),LINETHICK0,COLOR000000;   
  181. 选超级暴涨股: 选暴涨股 AND COUNT(主力建仓=120,10)>=1,LINETHICK0,COLOR000000;   
  182. STICKLINE(买,0,50,7,0),COLOR102099;   
  183. STICKLINE(买,0,50,6,0),COLOR1020AA;   
  184. STICKLINE(买,0,50,5,0),COLOR1020BB;   
  185. STICKLINE(买,0,50,4,0),COLOR1020CC;   
  186. STICKLINE(买,0,50,3,0),COLOR1020DD;   
  187. STICKLINE(买,0,50,2,0),COLOR1020EE;   
  188. STICKLINE(买,0,50,1,0),COLOR1020FF;   
  189. STICKLINE(卖,50,100,7,0),COLORFF7700;   
  190. STICKLINE(卖,50,100,6,0),COLORFF8800;   
  191. STICKLINE(卖,50,100,5,0),COLORFF9900;   
  192. STICKLINE(卖,50,100,4,0),COLORFFAA00;   
  193. STICKLINE(卖,50,100,3,0),COLORFFBB00;   
  194. STICKLINE(卖,50,100,2,0),COLORFFCC00;   
  195. STICKLINE(卖,50,100,1,0),COLORFFDD00;   
  196. STICKLINE(VAR95 AND COUNT(VAR95,30)=1,50,85,5,0),COLORFF0000;   
  197. STICKLINE(大黑马,50,90,5,0),COLORFF0000;   
  198. STICKLINE(大买,50,30,3,0),COLOR0000FF;   
  199. STICKLINE(选逃,50,65,3,0),COLORFF0000;   
  200. STICKLINE(选底,50,80,3,0),COLOR399C71;   
  201. STICKLINE(稳赚10买,50,65,3,0),COLORFF0000;   
  202. STICKLINE(高抛,50,75,3,0),COLORFF0000;   
  203. STICKLINE(跑,50,65,3,0),COLORFF0000;   
  204. DRAWTEXT(选拉升股,50,'▲'),COLOR00FFFF;   
  205. DRAWTEXT(选暴涨股,60,'★'),COLOR00FFFF;   
  206. DRAWTEXT(选超级暴涨股,70,'●'),COLOR00FFFF;   
  207. DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,110,'大资金'),COLORFFFFFF;   
  208. DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,100,'进场'),COLORFFFFFF;   
  209. DRAWTEXT(跑,70,'跑'),COLOR008000;   
  210. DRAWTEXT(大黑马,105,'大黑马'),COLORFFFFFF;   
  211. DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,90,'抛'),COLOR008000;   
  212. DRAWTEXT(稳赚10买,80,'赚10'),COLORFFFFFF;   
  213. DRAWTEXT(稳赚10买,67,'%买'),COLORFFFFFF;   
  214. DRAWTEXT(IF(选底,100,0),92,'底'),COLORFFFFFF;   
  215. DRAWTEXT(选逃,80,'逃'),COLOR008000;   
  216. DRAWTEXT(大买,30,'大买'),COLORFFFFFF;   
  217. DRAWTEXT(买,-2,'买'),COLOR0000FF;   
  218. DRAWTEXT(卖,117,'卖'),COLOR00FFFF;   
  219. 50,LINETHICK1,COLOR00FFFF;   

 

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

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