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

大智慧老鼠出洞主图指标源码 晒公式、源码[大智慧公式]

大智慧老鼠出洞主图指标源码 晒公式、源码[大智慧公式]

相关标签: 老鼠出洞 、 老鼠出洞歇后语 、 梦见老鼠出洞 、 诱惑老鼠出洞的方法 、 老鼠什么时候出洞 、 新款老鼠出洞 、 十二国记老鼠喜欢女主 、 老鼠不喜欢什么味道 、 加密算法源码 、



老鼠出洞(主图)不喜欢加密,晒源码

会用是个宝,不会用再好也是根草,自己琢磨吧!


  1. input: n(4,1,255),m(13,1,255);
  2. aa:=ref(h,n)=hhv(h,2*n+1);
  3. aaa:=filter(aa,n);
  4. bb:=backset(aaa,n+1);
  5. cc1:=filter(bb,n);
  6. cc:=cc1 or BARSTATUS=2;
  7. aa2:=ref(l,n)=llv(l,2*n+1);
  8. aaa2:=filter(aa2,n);
  9. bb2:=backset(aaa2,n+1);
  10. cc22:=filter(bb2,n);
  11. cc2:=cc22 and not(cc1);
  12. ea:=backset(cc,ref(barslast(cc2),1)+1);
  13. eb:=ea>ref(ea,1);
  14. ee:=backset(eb,2);
  15. ff1:=ee>ref(ee,1);
  16. ee2:=backset(ff1 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2);
  17. CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
  18. WARNING('http://www.cxh99.com',CURRENTTIME>180000 and CXH=5);
  19. DRAWTEXTREL(10 ,10 ,'');
  20. ff2:=ee2>ref(ee2,1);
  21. ee3:=backset(ff2 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2);
  22. ff3:=ee3>ref(ee3,1);
  23. js:=if(cc,count(cc2,ref(barslast(cc),1)+1),0);
  24. g1:=if(js=1 and cc,barslast(ff1),0);
  25. ga:=if(cc and ref(l,barslast(ff1))>=ref(l,barslast(ff2)),barslast(ff2),barslast(ff1));
  26. g2:=if(js=2 and cc,ga,0);
  27. g3:=if(js>=3 and cc,if(cc and ref(l,ga)>=ref(l,barslast(ff3)),barslast(ff3),ga),0); {本文来至CXH99.COM}
  28. gg:=g1+g2+g3;
  29. ja:=backset(cc,gg);
  30. jb:=ja>ref(ja,1);
  31. jj:=backset(jb,2);
  32. ld:=jj>ref(jj,1);
  33. ld1:=ld or BARSTATUS=2;
  34. hea:=backset(ld1,ref(barslast(cc),1)+1);
  35. heb:=hea>ref(hea,1);
  36. hee:=backset(heb,2);
  37. hff1:=hee>ref(hee,1);
  38. hee2:=backset(hff1 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2);
  39. hff2:=hee2>ref(hee2,1);
  40. hee3:=backset(hff2 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2);
  41. hff3:=hee3>ref(hee3,1);
  42. hjs:=if(ld1,count(cc1,ref(barslast(ld1),1)+1),0);
  43. hg1:=if(hjs=1 and ld1,barslast(hff1),0);
  44. hga:=if(ld1 and ref(h,barslast(hff1))<=ref(h,barslast(hff2)),barslast(hff2),barslast(hff1));
  45. hg2:=if(hjs=2 and ld1,hga,0);
  46. hg3:=if(hjs>=3 and ld1,if(ld1 and ref(h,hga)<=ref(h,barslast(hff3)),barslast(hff3),hga),0);
  47. hgg:=hg1+hg2+hg3;
  48. hja:=backset(ld1,hgg);
  49. hjb:=hja>ref(hja,1);
  50. hjj:=backset(hjb,2);
  51. hd:=hjj>ref(hjj,1);
  52. x1:=backset(BARSTATUS=2,barslast(ld)+1);
  53. x2:=x1>ref(x1,1);
  54. y1:=backset(BARSTATUS=2,barslast(hd)+1);
  55. y2:=y1>ref(y1,1);
  56. z1:=if(barslast(x2)<barslast(y2),x2,y2);
  57. z2:=if(barslast(x2)<barslast(y2),l,h);
  58. drawline(z1,z2,BARSTATUS=2,c,0),pointdot,colorff9900;
  59. uu:=backset(BARSTATUS=2,barslast(ld)+1);
  60. vv:=uu>ref(uu,1);
  61. ww:=backset(vv,ref(barslast(ld),1)+2);
  62. xx:=ww>ref(ww,1);
  63. drawline(xx,l,vv,l,1),color00ffff;
  64. uu2:=backset(BARSTATUS=2,barslast(hd)+1);
  65. vv2:=uu2>ref(uu2,1);
  66. ww2:=backset(vv2,ref(barslast(hd),1)+2);
  67. xx2:=ww2>ref(ww2,1);
  68. drawline(xx2,h,vv2,h,1),color00ffff;
  69. drawicon(hd and xx2,h*1.01,10),ALIGN1;
  70. drawicon(ld and xx,l*1.01,9),ALIGN1;
  71. 高1:ref(h,barslast(vv2)),pointdot,color99ff66;
  72. 高2:ref(h,barslast(xx2)),pointdot,colorff66ff;
  73. 低1:ref(l,barslast(vv)),pointdot,color99ff66;
  74. 低2:ref(l,barslast(xx)),pointdot,colorff66ff;
  75. ok:=ema(o,60);
  76. cg:=ema(c,60);
  77. pdu:=if(ok>ref(ok,1) and cg>ref(cg,1),1,0);
  78. pdd:=if(ok<ref(ok,1) and cg<ref(cg,1),1,0);
  79. pdm:=if(pdu=0 and pdu=0,1,0);
  80. z1:=ma(c,m);
  81. zx:=ref(z1,m/2+1);
  82. 顶选:cross(c,zx),LINETHICK0;
  83. life:=(ema(c,60)+ema(c,90))/2;
  84. var1:=(2*c+h+l)/4;
  85. snook:=ema(var1,99)*0.91;
  86. a1:=(c-ref(c,1))/ref(c,1)*100;
  87. ma5:=barslast(a1>3);
  88. ma20:=if(ma5>0,1,0);

  89. drawicon(cross(c,zx),l*0.99,4),ALIGN1;
  90. drawicon(cross(zx,c),h*1.01,5),ALIGN1;
  91. by20:=ma(c,5);
  92. k1:=llv(l,barslast(DISPSTATUS=1)+1);
  93. k2:=hhv(h,barslast(DISPSTATUS=1)+1);
  94. 招财猫:ma(c,20),color00ffff;
  95. 鼠变异:if(by20>招财猫,招财猫,by20),color808080;
  96. 选股:cross(c,zx) and c>zx and ma20=0 ,LINETHICK0;
  97. partline(鼠变异,鼠变异>ref(鼠变异,1) and 鼠变异=招财猫),LINETHICK2,colorff66ff;
  98. partline(鼠变异,鼠变异>ref(鼠变异,1) and 鼠变异=招财猫 and pdu=1),LINETHICK2,color0000ff;
  99. partline(鼠变异,鼠变异>ref(鼠变异,1) and 鼠变异<>招财猫),color00ff00;
  100. t1:=c>zx and c>=life;
  101. t2:=c>zx and c>snook and c<life;
  102. t3:=c>zx and c<=snook;
  103. t4:=c<=zx;
  104. t5:=鼠变异>ref(鼠变异,1) and 鼠变异<>招财猫 ;
  105. t6:=鼠变异>ref(鼠变异,1) and 鼠变异=招财猫 and pdu<>1;
  106. t7:=鼠变异>ref(鼠变异,1) and 鼠变异=招财猫 and pdu=1;
  107. t8:=c>zx and ma20=0 ;
  108. eee:=t1+t2+t3+t4+t5+t6+t7+t8 ;
  109. e:=(k2-k1)/(eee+4) ;
  110. DRAWTEXT(C>0 and t1>0 and BARSTATUS=2,k2-e,'老鼠出洞了,'),color0000ff;
  111. DRAWTEXT(C>0 and t1>0 and BARSTATUS=2,k2-e*2,'逮住它!'),color0000ff;
  112. DRAWTEXT(C>0 and t2>0 and BARSTATUS=2,k2-e,'老鼠玩猫猫,'),colorff7700;
  113. DRAWTEXT(C>0 and t2>0 and BARSTATUS=2,k2-e*2,'守着它!'),colorff7700;
  114. DRAWTEXT(C>0 and t3>0 and BARSTATUS=2,k2-e,'老鼠露尾巴,'),color00ff00;
  115. DRAWTEXT(C>0 and t3>0 and BARSTATUS=2,k2-e*2,'动作快!'),color00ff00;
  116. DRAWTEXT(C>0 and t4>0 and BARSTATUS=2,k2-e,'老鼠没有了,'),color808080;
  117. DRAWTEXT(C>0 and t4>0 and BARSTATUS=2,k2-e*2,'打个盹!'),color808080;
  118. DRAWTEXT(C>0 and t5>0 and BARSTATUS=2,k2-e*3,'发现鼠迹!'),color00ff00;
  119. DRAWTEXT(C>0 and t6>0 and BARSTATUS=2,k2-e*3,'瞬间鼠影!'),colorff66ff;
  120. DRAWTEXT(C>0 and t7>0 and BARSTATUS=2,k2-e*3,'恶鼠难遁!'),color0000ff;
  121. DRAWTEXT(C>0 and t8>0 and BARSTATUS=2,k2-e*4,'老鼠去哪里,'),color00ffff;
  122. DRAWTEXT(C>0 and t8>0 and BARSTATUS=2,k2-e*5,'思考哦!'),color00ffff;
复制代码


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

微信截图_20181224132221.png
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

返回列表