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

[大智慧指标] 资金进场加仓指标源码[大智慧公式]

[大智慧指标] 资金进场加仓指标源码[大智慧公式]

  1. VarF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
  2. Var19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
  3. Var20:=VarF<REF(Var19,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
  4. DRAWTEXT(Var20 AND COUNT(Var20,30)=1,15,'有大资金进 关注!'),linethick1,COLORff00ff;aa:=WINNER(CLOSE+CLOSE*15/100)*100;
  5. bb:=WINNER(CLOSE+CLOSE*0/100)*100;
  6. cc:=aa-bb;
  7. dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
  8. ee:=cc<3 and dd<0.5 and OPEN<>LOW;
  9. a1:=DYNAINFO(6);
  10. a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));
  11. a3:=VOL/WINNER(LOW);
  12. a4:=REF(HHV(CLOSE,120),1);
  13. a5:=REF(LLV(CLOSE,120),1);
  14. a6:=100*(CLOSE-a5)/(a4-a5);
  15. a7:=a2>0 or a2=1;
  16. a8:=a7 and a3/REF(a3,3)>=3 and a6<80;
  17. a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);
  18. a10:=a8 and a9;
  19. a11:=IF(FILTER(a8,3),5,0);
  20. a12:=IF(FILTER(a10,3) or ee,10,0);
  21. 资金进场日:IF(a11,8,0),LINETHICK0;
  22. STICKLINE(a12,0,15,5,0),colorff00ff;
  23. 资金加仓日:IF(a12,88,0),LINETHICK0;
  24. STICKLINE(a12,0,15,5,0),colorff00ff;
  25. STICKLINE(a11,0,5,5,0),colorff7700;
  26. STICKLINE(a11,0,5,4.5,0),colorff8800;
  27. STICKLINE(a11,0,5,4,0),colorff9900;
  28. STICKLINE(a11,0,5,3.5,0),colorffaa00;
  29. STICKLINE(a11,0,5,3,0),colorffbb00;
  30. STICKLINE(a11,0,5,2.5,0),colorffcc00;
  31. STICKLINE(a11,0,5,2,0),colorffdd00;
  32. STICKLINE(a11,0,5,1,0),colorffee00;
  33. STICKLINE(a12,0,15,4.5,0),color102099;
  34. STICKLINE(a12,0,15,4,0),color1020aa;
  35. STICKLINE(a12,0,15,3.5,0),color1020bb;
  36. STICKLINE(a12,0,15,3,0),color1020cc;
  37. STICKLINE(a12,0,15,2.5,0),color1020dd;
  38. STICKLINE(a12,0,15,2,0),color1020ee;
  39. STICKLINE(a12,0,15,1,0),color1020ff;
  40. DRAWTEXT(a11,8,'资金进场');
  41. DRAWTEXT(a12,17,'资金加仓');Var1:=(CLOSE*2+HIGH+LOW)/4*10;
  42. Var2:=EMA(Var1,13)-EMA(Var1,34);
  43. Var3:=EMA(Var2,5);
  44. Var4:=2*(Var2-Var3)*5.5;
  45. 主力: var4,COLORred,LINETHICK2 ;
  46. 0,colorwhite;
  47. Var5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
  48. Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);
  49. Var7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
  50. Var8:=(INDEXC*2+INDEXH+INDEXL)/4;
  51. Var9:=EMA(Var8,13)-EMA(Var8,34);
  52. VarA:=EMA(Var9,3);
  53. VarB:=(Var9-VarA)/2;
  54. 大盘资金: VarB,colorgreen,linethick2;
  55. VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
  56. Var10:=(HIGH+LOW+CLOSE)/3;
  57. Var11:=(Var10-MA(Var10,14))/(0.015*AVEDEV(Var10,14));
  58. Var12:=(Var10-MA(Var10,70))/(0.015*AVEDEV(Var10,70));
  59. Var13:=IF(Var11>=150 AND Var11<200 AND Var12>=150 AND Var12<200,10,0);
  60. Var14:=IF(Var11<=-150 AND Var11>-200 AND Var12<=-150 AND Var12>-200,-10,Var13);
  61. Var15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;
  62. Var16:=100-ABS(Var15);
  63. Var17:=IF(Var16<90,Var16,100);
  64. Var1A:=IF(VarE>0,VarE,0);
  65. Var1B:=IF(Var12>=200 AND Var11>=150,15,IF(Var12<=-200 AND Var11<=-150,-15,Var14))+60;
  66. Var1C:=Var1A>48 AND Var1B>60 AND Var17<100;
  67. DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货.缩量(低位)则洗.'),linethick1,COLORffcc66;
  68. t1:= Var20 AND COUNT(Var20,30)=1;
  69. t:=count(a8,30)>=3 and count(a10,30)>=3;
  70. t1 ;DRAWTEXTREL(10,880,'WWW.CXH99.COM'),coloryellow;
  71. DRAWTEXTREL(999,999,'<span style="display:none;"><a  data-cke-saved-href=" http://www.cxh99.com" href=" http://www.cxh99.com" title="大智慧程序化交易">大智慧程序化交易</a></span>');
复制代码

微信截图_20181211101240.png

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   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

返回列表