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

[大智慧指标] 大智慧绝密抄底指标源码[大智慧公式]

[大智慧指标] 大智慧绝密抄底指标源码[大智慧公式]

  1. VAR1:=HHV(HIGH,9)-LLV(LOW,9);
  2. VAR2:=HHV(HIGH,9)-CLOSE;
  3. VAR3:=CLOSE-LLV(LOW,9);
  4. VAR4:=((VAR2)/(VAR1))*(100)-70;
  5. VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
  6. VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
  7. VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
  8. VAR8:=LLV(LOW,34);
  9. VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
  10. VAR10:=IF((VAR9>100),VAR9-100,0);
  11. VAR11:=HHV(HIGH,34);
  12. B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);
  13. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  14. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
  15. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,6,0 ),COLOR00AA00;
  16. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,4.6,0 ),COLOR00BB11;
  17. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,4.4,0 ),COLOR00CC22;
  18. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,3.3,0 ),COLOR00DD33;
  19. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,2.2,0 ),COLOR00EE44;
  20. STICKLINE(EMA(B1,5)>B1,EMA(B1,5),B1,1.1,0 ),COLOR00FF55;
  21. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),6 ,0 ),COLOR0000aa;
  22. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),4.6 ,0 ),COLOR0011bb;
  23. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),4.4,0 ),COLOr0022cc;
  24. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),3.3 ,0 ),COLOR0033dd;
  25. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),2.2 ,0 ),COLOR0044ee;
  26. STICKLINE(B1>EMA(B1,5),B1,EMA(B1,5),1.1 ,0 ),COLOR0055ff;
  27. 领先:EMA(B1,5),COLORCYAN;
  28. 生命线:EMA(VARD,1),COLORYELLOW;
  29. V1:=MA(C,5)=HHV(MA(C,5),20);
  30. V2:=MA(C,5)>MA(C,10);
  31. V3:=MA(V,5)>MA(V,40)*1.01;
  32. V4:=COUNT(MA(C,1)>ref(C,1),2)=2;
  33. VV:=V1 AND V2 AND V3 AND V4;
  34. A1:=EMA(CLOSE,8);
  35. A2:=EMA(A1,20);
  36. A3:=CROSS(A1,A2);
  37. A4:=A1<EMA(CLOSE,120);
  38. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,6,0),Color00A8FF;
  39. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,4.6,0),Color00B0FF;
  40. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,4.4,0),Color00B5FF;
  41. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,3.3,0),Color00BCFF;
  42. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,2.2,0),Color00D3FF;
  43. STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1.1,0),Color00FFFF;
  44. A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
  45. SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1) ;
  46. 安全位:=20;
  47. LOW">低位转强:IF(CROSS(A5,安全位),50,0),STICK,COLORMAGENTA,LINETHICK2;
  48. 开始拉升:IF(CROSS(VARC,生命线) AND VARC>VARD AND VARC<55 AND C>O,50,0),
  49. ColorC800FF,POINTDOT;
  50. A6:=LLV(C,500)=LLV(C,5) AND C/ref(C,1)>(1+9.8/100);
  51. 极地上涨:IF(A6,领先,0),COLORGREEN,LINETHICK2;
  52. STICKLINE(开始拉升>0,15,开始拉升*1.01,3,0),COLORBLUE;
  53. STICKLINE((开始拉升>0 AND 开始拉升<400) OR (极地上涨>0 AND 极地上涨<400)
  54. OR (低位转强>0 AND 低位转强<400) OR (低位转强>0),30,开始拉升,3,0),COLORRED;
  55. STICKLINE(开始拉升>0,15,开始拉升*0.6,9,0),COLORBLUE;
  56. STICKLINE(开始拉升>0,15,开始拉升*0.4,9,0),COLOR00FF00;
  57. STICKLINE(开始拉升>0,15,开始拉升*0.2,9,0),COLOR0099CC;
  58. STICKLINE(低位转强>0,15,低位转强*1.01,3,0),COLORMAGENTA;
  59. STICKLINE((低位转强>0)OR(极地上涨>0),15,低位转强*0.4,9,0),COLORYELLOW;
  60. STICKLINE(低位转强>0,15,低位转强*0.2,9,0),COLORFFCC66;
  61. STICKLINE(极地上涨>0,15,极地上涨*1.01,3,0),COLORYELLOW;
  62. 帆起:SMA(MAX((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1),0),2,1)/SMA(ABS((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1)),2,1)*100/MA(SMA(MAX((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1),0),2,1)/SMA(ABS((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4-ref((3*SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,20,1),15,1))/4,1)),2,1)*100,10)*23,LINETHICK7,COLORCYAN;
复制代码

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

返回列表