: | : | :期货量化学习 | :期货量化 |
返回列表 发帖

[大智慧指标] 大智慧快线慢线+绝佳买点+黑马起步精品指标组图公式源码[大智慧公式]

[大智慧指标] 大智慧快线慢线+绝佳买点+黑马起步精品指标组图公式源码[大智慧公式]

  1. 快线:EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK2,COLORRED;
  2. 慢线:EMA(ref(快线,1),3),LINETHICK2,COLOR00FFFF;
  3. 总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK2,COLORBLUE;
  4. VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
  5. VAR85:= 100-ABS(VAR84);
  6. 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);
  7. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  8. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=2 OR CXH=7));
  9. DRAWTEXTREL(10 ,10 ,'');
  10. 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);
  11. VAR88:= 100-VAR87;
  12. VAR89:= 100-VAR86;
  13. VAR92:= MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
  14. 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);
  15. 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);
  16. VAR95:= VAR93<ref(VAR94,1) AND VOL>ref(VOL,1) AND CLOSE>ref(CLOSE,1);
  17. VARA:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
  18. VARB:= SMA(VARA,3,1);
  19. VARC:= SMA(VARB,3,1);
  20. 探索:= EMA(3*VARB-2*VARC,3);
  21. 主力:= (-1)*(EMA(VAR89,1)-50)+50;
  22. Z1:= MA(主力,9);
  23. VARD:= (-1)*(EMA(VAR89,1)-50)+50;
  24. VARE:= (-1)*(EMA(VAR89,12)-50)+50;
  25. LCC:= ref(CLOSE,1);
  26. RSI1:= SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;
  27. 苦海:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);
  28. ZS:= MA(探索,3);
  29. ZM:= MA(MA(探索,3),3);
  30. 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);
  31. 黑马线:= EMA(A11,5);
  32. A12:= (黑马线-ref(黑马线,1))/ref(黑马线,1)*100;
  33. A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
  34. 趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);
  35. A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
  36. N:= 3;
  37. VAR1:= ref((LOW+OPEN+CLOSE+HIGH)/4,1);
  38. VAR2:= SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
  39. VAR3:= EMA(VAR2,10); {本文来至程序化交易网 cxh99.com}
  40. VAR4:= LLV(LOW,33);
  41. VAR5:= EMA(IF(LOW<=VAR4,VAR3,0),5);
  42. VAR6:= ref(CLOSE,1);
  43. VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
  44. VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
  45. VAR9:= CLOSE>(ref(HIGH,1)+ref(LOW,1))/2;
  46. VAR10:= VAR8 AND VAR9;
  47. VAR11:= (2*CLOSE+HIGH+LOW)/4;
  48. VAR12:= LLV(LOW,13);
  49. VAR13:= HHV(HIGH,13);
  50. VAR14:= LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;
  51. VAR15:= CLOSE>(ref(HIGH,1)+ref(LOW,1))/2;
  52. VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);
  53. 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;
  54. VAR19:= MA(CLOSE,13);
  55. VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);
  56. VAR21:= LLV(LOW,75);
  57. VAR22:= HHV(HIGH,75);
  58. VAR23:= (VAR22-VAR21)/100;
  59. VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);
  60. VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);
  61. VAR26:= 3*VAR24-2*SMA(VAR24,15,1);
  62. VAR27:= MA(HHV(HIGH,485),17);
  63. VAR28:= MA(HHV(HIGH,222),17);
  64. VAR29:= MA(HHV(HIGH,96),17);
  65. VAR30:= MA(LLV(LOW,485),17);
  66. VAR31:= MA(LLV(LOW,222),17);
  67. VAR32:= MA(LLV(LOW,96),17);
  68. VAR33:= MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR28*0.558+VAR29*0.558)/6,17);
  69. VAR34:= MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28*0.55+VAR29*0.65)/6,17);
  70. VAR35:= MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0.68+VAR29*0.68)/6,17);
  71. VAR36:= LLV(LOW,30);
  72. VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);
  73. VAR38:= VAR37;
  74. VAR39:= LOW;
  75. VAR40:= ref(LOW,1);
  76. VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100;
  77. VAR42:= MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);
  78. VAR43:= HHV(VAR42,30);
  79. VAR45:= 3*VAR25-2*SMA(VAR25,15,1);
  80. VAR46:= 100-VAR45;
  81. VAR49:= ref(LOW,1)*0.9;
  82. VAR50:= LOW*0.9;
  83. VAR53:= CLOSE-ref(CLOSE,1);
  84. VAR54:= MAX(VAR53,0);
  85. VAR55:= ABS(VAR53);
  86. VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;
  87. VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;
  88. VAR58:= BARSCOUNT(CLOSE);
  89. VAR59:= SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;
  90. VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
  91. VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
  92. VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);
  93. VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
  94. VAR64:= SMA(VAR63,4,1);
  95. VAR65:= SMA(VAR64,3,1);
  96. VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;
  97. VAR68:= (HIGH+LOW+CLOSE)/3;
  98. VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));
  99. VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));
  100. VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 AND VAR70<200,10,0);
  101. VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) AND VAR70>(-200),-10,VAR71);
  102. VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
  103. VAR74:= REVERSE(VAR73);
  104. VAR75:= SMA(VAR73,3,1);
  105. 绝佳买点:=MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0),N);
  106. 跑:= FILTER(ref(黑马线,1)>90 AND A12<0,7);
  107. 买线:= EMA(CLOSE,2);
  108. 卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
  109. 指數位置:= 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);
  110. 抄底:= CROSS(指數位置,10) AND DATE<=10280531;
  111. A1:= VOL=HHV(VOL,120);
  112. A2:= CLOSE/OPEN>1.05;
  113. TJ:= A1 AND A2;
  114. 龙:= VAR10;
  115. 买4:= VAR14;
  116. AA1:= AMOUNT/VOL;
  117. BB1:= LOW<AA1*0.9;
  118. CC1:= (CLOSE-ref(CLOSE,1))/ref(CLOSE,1)*100>1.2;
  119. DD1:= LOW<MA(CLOSE,5)*0.921;
  120. EE1:= VOL<MA(VOL,5)*1.5;
  121. FF1:= BB1 AND CC1 AND DD1 AND EE1;
  122. 买3:= FILTER(FF1,3) AND DATE<=10280530;
  123. 二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);
  124. RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
  125. K:= SMA(RSV,3,1);
  126. D:= SMA(K,3,1);
  127. J:= 3*K-2*D;
  128. X:= LLV(J,2)=LLV(J,8);
  129. 买1:= CROSS(J,ref(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3;
  130. 长期底部:= LLV(HIGH,30);
  131. 上:= SMA(LOW,5,2)*0.96;
  132. 短期底部:= LLV(HIGH,30)*0.93;
  133. LC:= ref(CLOSE,1);
  134. RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
  135. 大顶:= VAR17>20 AND (VAR17<ref(VAR17,1));
  136. VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;
  137. MAN:= SMA(HIGH,21,2)*1.05;
  138. 短底2:= EMA(VAR76,5);
  139. 支撑:= HHV(短底2,60);
  140. VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
  141. VAR78:= SMA(VAR77,5,1);
  142. VAR79:= SMA(VAR78,8,1);
  143. VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;
  144. VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;
  145. VAR82:= IF(CLOSE>1000,VAR80,VAR81);
  146. 黑马起步:= VAR82;
  147. 逃:= FILTER(HIGH>支撑 AND CLOSE<支撑 AND CLOSE/OPEN>0-1.06 AND CLOSE<OPEN,5);
  148. 逃命:= 黑马起步>0;
  149. 选逃:= FILTER(逃命 OR 逃 OR CROSS(84,RSI) OR 大顶,3);
  150. 上线:= SMA(CLOSE,6.5,1);
  151. 下线:= SMA(CLOSE,13.5,1);
  152. 散户:= SMA(VAR75,3,1);
  153. 新庄:= SMA(散户,3,1);
  154. 高抛:= CROSS(新庄,散户) AND 新庄>75;
  155. 买:= CROSS(买线,卖线);
  156. 卖:= CROSS(卖线,买线);
  157. 大黑马:= CROSS(趋势线3,0) AND 黑马线<40;
  158. 大买:= FILTER(绝佳买点>30000,5); {文章来至程序化交易网 cxh99.com}
  159. 选底:= FILTER(LOW<=上 AND HIGH>=短期底部 AND CLOSE>=长期底部 AND CLOSE/OPEN>1.03,3);
  160. 稳赚10买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0;
  161. 大资金进场:= VAR95 AND COUNT(VAR95,30)=1;
  162. STICKLINE(买线>=卖线 ,LOW,HIGH,1,0),COLOR0000FF;
  163. STICKLINE(买线>=卖线 ,CLOSE,OPEN,4.5,0),COLOR0000AA;
  164. STICKLINE(买线>=卖线 ,CLOSE,OPEN,4,0),COLOR0000CC;
  165. STICKLINE(买线>=卖线 ,CLOSE,OPEN,3,0),COLOR0000CC;
  166. STICKLINE(买线>=卖线 ,CLOSE,OPEN,2,0),COLOR0000EE;
  167. STICKLINE(买线<卖线 ,CLOSE,OPEN,4.5,0),COLORAAAA00;
  168. STICKLINE(买线<卖线 ,CLOSE,OPEN,4,0),COLORBBBB00;
  169. STICKLINE(买线<卖线 ,CLOSE,OPEN,3,0),COLORCCCC00;
  170. STICKLINE(买线<卖线 ,CLOSE,OPEN,2,0),COLOREEEE00;
  171. STICKLINE(买线<卖线 ,LOW,HIGH,1,0),COLORFFFF00;
  172. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
  173. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
  174. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
  175. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00; {本文来至程序化交易网 cxh99.com}
  176. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
  177. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
  178. STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
  179. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
  180. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
  181. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
  182. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
  183. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
  184. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
  185. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
  186. STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
  187. STICKLINE(CLOSE>OPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
  188. STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
  189. STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
  190. STICKLINE(OPEN>CLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
  191. 选买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 ;
  192. STICKLINE(选买,CLOSE,HHV(HIGH,90)*0.94,0.3,0),COLORFF0000;
  193. DRAWTEXT(选买,HHV(HIGH,90)*1,'稳赚'),COLORFF0000;
  194. DRAWTEXT(选买,HHV(HIGH,90)*0.97,'10%买'),COLORFF0000;
  195. DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;
  196. DRAWTEXT(买,LOW*0.996,'买'),COLOR0000FF;
  197. DRAWTEXT(卖,HIGH*1,'卖'),COLOR00FFFF;
  198. DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLOR008000;
  199. DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLOR008000;
  200. DRAWTEXT(跑,HIGH*1.02,'跑'),COLOR00FFFF;
  201. DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;
  202. DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF;
  203. DRAWTEXT(大买,LOW*0.96,'大买'),COLOR0000FF;
  204. DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;
复制代码

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   1.本站发布源码(包括函数、指标、策略等)均属开放源码,用意在于让使用者学习程序化语法撰写,使用者可以任意修改语法內容并调整参数。仅限用于个人学习使用,请勿转载、滥用,严禁私自连接实盘账户交易
  2.本站发布资讯(包括文章、视频、历史记录、教材、评论、资讯、交易方案等)均系转载自网络主流媒体,内容仅为作者当日个人观点,本网转载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。本网不对该类信息或数据做任何保证。不对您构成任何投资建议,不能依靠信息而取代自身独立判断,不对因使用本篇文章所诉信息或观点等导致的损失承担任何责任。
  3.本站发布资源(包括书籍、杂志、文档、软件等)均从互联网搜索而来,仅供个人免费交流学习,不可用作商业用途,本站不对显示的内容承担任何责任。请在下载后24小时内删除。如果喜欢,请购买正版,谢谢合作!
  4.龙听期货论坛原创文章属本网版权作品,转载须注明来源“龙听期货论坛”,违者本网将保留追究其相关法律责任的权力。本论坛除发布原创文章外,亦致力于优秀财经文章的交流分享,部分文章推送时若未能及时与原作者取得联系并涉及版权问题时,请及时联系删除。联系方式:http://www.qhlt.cn/thread-262-1-1.html
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

这么复杂................

TOP

返回列表