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

[大智慧指标] 大智慧生命支撑线指标公式[大智慧公式]

[大智慧指标] 大智慧生命支撑线指标公式[大智慧公式]

  1. 七天线:MA(C,7),colorgray;
  2. 持股线:(EMA(C,17)) ,POINTDOT,LINETHICK4,colorYelLOW;
  3. 生命线:(MA(C,25)) ,LINETHICK2,colorMAgenta;
  4. 支撑线:(MA(C,43)) ,colorCyan;
  5. 止损线:(EMA(C,50)) ,CIRCLEDOT,colorWhite;
  6. 破位线:(MA(C,99)) ,LINETHICK1,Color0099FF;
  7. MTM:=C-ref(C,1);
  8. DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
  9. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  10. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=3 OR CXH=8));
  11. 买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
  12. DRAWTEXT(filter(买=1,5),LOW-1.02,'必涨'), COLORRED;
  13. V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
  14. HY1:=ref(EMA(V1,3),1);
  15. DRAWTEXT(CROSS(CLOSE,HY1),LOW*0.95,'▲'),LINETHICK1,Colorred;
  16. D4:=((SMA(MAX(LOW-ref(LOW,1),0),6,1))/(SMA(ABS(LOW-ref(LOW,1)),6,1)))*(100);
  17. D4<10 AND CLOSE<OPEN;
  18. DRAWTEXT((D4<10 AND CLOSE<OPEN),5,'真底'),COLOR00ffff,LINETHICK3;
  19. T1:=(INDEXC-MA(INDEXC,58))/MA(INDEXC,58)<-0.152;
  20. T2:=(C-EMA(C,58))/EMA(C,58)<-0.19;
  21. 买1:=T2 AND T1;
  22. T3:=IF(DATE<=1090831,1,0);
  23. T4:=(C-MA(C,2))/MA(C,2)*100*T3;
  24. T5:=INDEXC*T3;
  25. T6:=MA(T5,13)*T3;
  26. T7:=T6>1.050*T5*T3;
  27. T8:=(C-ref(C,26))/ref(C,26)*10*T3;
  28. T9:=T7*T3;
  29. T10:=T8<-2.30 AND T3;
  30. T11:=T4<-2.7 AND T3;
  31. T12:=T9 AND T10 AND T11 AND T3;
  32. T13:=CROSS(0.5,T12)*T3;
  33. T14:=CROSS(T13,0.5)*T3;
  34. T15:=BARSLAST(T14=1)*T3;
  35. T16:=T15<=5 AND C<ref(C,T15) AND T3;
  36. 买2:=T13 OR T16;
  37. T17:= (C-MA(C,2))/MA(C,2)*100;
  38. T18:=INDEXC;
  39. T19:=MA(T18,56);
  40. T20:=T18/T19<0.94;
  41. T21:=(C-ref(C,26))/ref(C,26)*10;
  42. T22:=T20;
  43. T23:=T21<-2.55;
  44. T24:=T17<-2.7;
  45. T25:=T22 AND T23 AND T24;
  46. T26:=CROSS(0.5,T25);
  47. T27:=CROSS(T26,0.5);
  48. T28:=BARSLAST(T27=1);
  49. T29:=T28<=5 AND C<1.02*ref(C,T28);
  50. 底4:=T26 OR T29;
  51. T30:= (C-MA(C,2))/MA(C,2)*100;
  52. T31:=INDEXC;
  53. T32:=MA(T31,13);
  54. T33:=T32>1.050*T31;
  55. T34:=(C-ref(C,26))/ref(C,26)*10;
  56. T35:=T33;
  57. T36:=T34<-2.69;
  58. T37:=T30<-3.09;
  59. T38:=T35 AND T36 AND T37;
  60. T39:=CROSS(0.5,T38);
  61. T40:=CROSS(T39,0.5);
  62. T41:=BARSLAST(T40=1);
  63. T42:=T41<=5 AND C<ref(C,T41);
  64. 买3:=COUNT(T39 OR T42,4)=4;
  65. T43:=EMA(((C*1.1-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630))-(C*0.9-LLV(LOW,630))/(HHV(HIGH,630)-LLV(LOW,630)))*80,5);
  66. T44:=INDEXC;
  67. T45:=MA(T44,5);
  68. T46:=MA(T44,20);
  69. T47:=MA(T44,30);
  70. T48:=T45>T44*1.03 AND T46>T44*1.13;
  71. T49:=T48;
  72. 目标:=COUNT(T43<6 AND T49,3)>=3;
  73. 新目标:=买3 OR 目标;
  74. 神抄手IF(((COUNT(买1 AND 底4,6)=6 OR COUNT(买1 AND 买2,4)=4 ORCOUNT(买2 AND 底4,5)=5) OR 新目标) AND DATE<=1090831,6,0),COLORRED;
  75. DRAWTEXT(FILTER(神抄手,5),3,'底买'),COLORYELLOW;
  76. VAR0:=IF(CLOSE > ref(CLOSE,1),88,0);
  77. VAR1:=IF(CLOSE/ref(CLOSE,1) > 1.05 AND HIGH/CLOSE < 1.01 AND VAR0 > 0,91,0);
  78. XG:=VAR1 >90
  79. DRAWTEXT(XG,L*0.9,'抓涨停'),COLORYELLOW;
  80. 短趋势线:=MA(CLOSE,13);
  81. VAR12:=(HIGH - LOW);
  82. VAR3:=ABS((OPEN - CLOSE));
  83. VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
  84. VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
  85. VAR6:=((VAR3 / VAR12) * VOL);
  86. VAR7:=((VAR4 / VAR12) * VOL);
  87. VAR8:=((VAR5 / VAR12) * VOL);
  88. VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
  89. VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
  90. DRAWTEXT((((((VAR6 > (MA(VOL,5) * 2)) AND 短趋势线>ref(短趋势线 ,1) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB)) ,L*0.98,'主力介入'),COLORMAGENTA;{本文由黑马秘籍网整理 }
  91. dd:=MA(H,10)*1.02;
  92. STICKLINE(cross(dd,c),CLOSE,OPEN,8,0),COLOR80FFFF;
  93. DRAWTEXT(CROSS(dd,c),HIGH*1.08,'顶'),LINETHICK1,colorgreen;
  94. a:="LTFunc5@FORLT2";
  95. s1:="LTFunc5@LT_S1";
  96. p1:=LTFunc5@LT_P1;
  97. drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
  98. drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
  99. drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
  100. drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
复制代码


微信截图_20181215102956.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

返回列表