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

[大智慧指标] [转载]头上压住你的乌云少了,就容易涨了(源码 副图 贴图)

[大智慧指标] [转载]头上压住你的乌云少了,就容易涨了(源码 副图 贴图)

公式:
  1. hb:=cost(99.9);
  2. lb:=cost(0.1);
  3. b3:=(hb-lb)/50;
  4. b31:=hb-b3;
  5. b32:=hb-2*b3;
  6. b33:=hb-3*b3;
  7. b34:=hb-4*b3;
  8. b35:=hb-5*b3;
  9. b36:=hb-6*b3;
  10. b37:=hb-7*b3;
  11. b38:=hb-8*b3;
  12. b39:=hb-9*b3;
  13. b310:=hb-10*b3;
  14. b311:=hb-11*b3;
  15. b312:=hb-12*b3;
  16. b313:=hb-13*b3;
  17. b314:=hb-14*b3;
  18. b315:=hb-15*b3;
  19. b316:=hb-16*b3;
  20. b317:=hb-17*b3;
  21. b318:=hb-18*b3;
  22. b319:=hb-19*b3;
  23. b320:=hb-20*b3;
  24. b321:=hb-21*b3;
  25. b322:=hb-22*b3;
  26. b323:=hb-23*b3;
  27. b324:=hb-24*b3;
  28. b325:=hb-25*b3;
  29. b326:=hb-26*b3;
  30. b327:=hb-27*b3;
  31. b328:=hb-28*b3;
  32. b329:=hb-29*b3;
  33. b330:=hb-30*b3;
  34. b331:=hb-31*b3;
  35. b332:=hb-32*b3;
  36. b333:=hb-33*b3;
  37. b334:=hb-34*b3;
  38. b335:=hb-35*b3;
  39. b336:=hb-36*b3;
  40. b337:=hb-37*b3;
  41. b338:=hb-38*b3;
  42. b339:=hb-39*b3;
  43. b340:=hb-40*b3;
  44. b341:=hb-41*b3;
  45. b342:=hb-42*b3;
  46. b343:=hb-43*b3;
  47. b344:=hb-44*b3;
  48. b345:=hb-45*b3;
  49. b346:=hb-46*b3;
  50. b347:=hb-47*b3;
  51. b348:=hb-48*b3;
  52. b349:=hb-49*b3;
  53. D1:=winner(hb)*100-winner(b31)*100;
  54. D2:=winner(b31)*100-winner(b32)*100;
  55. D3:=winner(b32)*100-winner(b33)*100;
  56. D4:=winner(b33)*100-winner(b34)*100;
  57. D5:=winner(b34)*100-winner(b35)*100;
  58. D6:=winner(b35)*100-winner(b36)*100;
  59. D7:=winner(b36)*100-winner(b37)*100;
  60. D8:=winner(b37)*100-winner(b38)*100;
  61. D9:=winner(b38)*100-winner(b39)*100;
  62. D10:=winner(b39)*100-winner(b310)*100;
  63. D11:=winner(b310)*100-winner(b311)*100;
  64. a12:=winner(b311)*100-winner(b312)*100;
  65. a13:=winner(b312)*100-winner(b313)*100;
  66. a14:=winner(b313)*100-winner(b314)*100;
  67. a15:=winner(b314)*100-winner(b315)*100;
  68. a16:=winner(b315)*100-winner(b316)*100;
  69. a17:=winner(b316)*100-winner(b317)*100;
  70. a18:=winner(b317)*100-winner(b318)*100;
  71. a19:=winner(b318)*100-winner(b319)*100;
  72. a20:=winner(b319)*100-winner(b320)*100;
  73. a21:=winner(b320)*100-winner(b321)*100;
  74. a22:=winner(b321)*100-winner(b322)*100;
  75. a23:=winner(b322)*100-winner(b323)*100;
  76. a24:=winner(b323)*100-winner(b324)*100;
  77. a25:=winner(b324)*100-winner(b325)*100;
  78. a26:=winner(b325)*100-winner(b326)*100;
  79. a27:=winner(b326)*100-winner(b327)*100;
  80. a28:=winner(b327)*100-winner(b328)*100;
  81. a29:=winner(b328)*100-winner(b329)*100;
  82. a30:=winner(b329)*100-winner(b330)*100;
  83. a31:=winner(b330)*100-winner(b331)*100;
  84. a32:=winner(b331)*100-winner(b332)*100;
  85. a33:=winner(b332)*100-winner(b333)*100;
  86. a34:=winner(b333)*100-winner(b334)*100;
  87. a35:=winner(b334)*100-winner(b335)*100;
  88. a36:=winner(b335)*100-winner(b336)*100;
  89. a37:=winner(b336)*100-winner(b337)*100;
  90. a38:=winner(b337)*100-winner(b338)*100;
  91. a39:=winner(b338)*100-winner(b339)*100;
  92. a40:=winner(b339)*100-winner(b340)*100;
  93. a41:=winner(b340)*100-winner(b341)*100;
  94. a42:=winner(b341)*100-winner(b342)*100;
  95. a43:=winner(b342)*100-winner(b343)*100;
  96. a44:=winner(b343)*100-winner(b344)*100;
  97. a45:=winner(b344)*100-winner(b345)*100;
  98. a46:=winner(b345)*100-winner(b346)*100;
  99. a47:=winner(b346)*100-winner(b347)*100;
  100. a48:=winner(b347)*100-winner(b348)*100;
  101. a49:=winner(b348)*100-winner(b349)*100;
  102. a50:=winner(b349)*100-winner(lb)*100;
  103. STICKLINE( DISPSTATUS=2,hb ,hb ,D1*50 ,0 ),LAYER7,color3E3E37;
  104. STICKLINE( DISPSTATUS=2,b31 ,b31 ,D1*50 ,0 ),LAYER7,color3E3E37;
  105. STICKLINE( DISPSTATUS=2,b32 ,b32 ,D2*50 ,0 ),LAYER7,color3E3E37;
  106. STICKLINE( DISPSTATUS=2,b33 ,b33 ,D3*50 ,0 ),LAYER7,color3E3E37;
  107. STICKLINE( DISPSTATUS=2,b34 ,b34 ,D4*50 ,0 ),LAYER7,color3E3E37;
  108. STICKLINE( DISPSTATUS=2,b35 ,b35 ,D5*50 ,0 ),LAYER7,color3E3E37;
  109. STICKLINE( DISPSTATUS=2,b36 ,b36 ,D6*50 ,0 ),LAYER7,color3E3E37;
  110. STICKLINE( DISPSTATUS=2,b37 ,b37 ,D7*50 ,0 ),LAYER7,color3E3E37;
  111. STICKLINE( DISPSTATUS=2,b38 ,b38 ,D8*50 ,0 ),LAYER7,color3E3E37;
  112. STICKLINE( DISPSTATUS=2,b39 ,b39 ,D9*50 ,0 ),LAYER7,color3E3E37;
  113. STICKLINE( DISPSTATUS=2,b310 ,b310 ,D10*50 ,0 ),LAYER7,color3E3E37;
  114. STICKLINE( DISPSTATUS=2,b311 ,b311 ,D11*50 ,0 ),LAYER7,color3E3E37;
  115. STICKLINE( DISPSTATUS=2,b312 ,b312 ,a12*50 ,0 ),LAYER7,color3E3E37;
  116. STICKLINE( DISPSTATUS=2,b313 ,b313 ,a13*50 ,0 ),LAYER7,color3E3E37;
  117. STICKLINE( DISPSTATUS=2,b314 ,b314 ,a14*50 ,0 ),LAYER7,color3E3E37;
  118. STICKLINE( DISPSTATUS=2,b315 ,b315 ,a15*50 ,0 ),LAYER7,color3E3E37;
  119. STICKLINE( DISPSTATUS=2,b316 ,b316 ,a16*50 ,0 ),LAYER7,color3E3E37;
  120. STICKLINE( DISPSTATUS=2,b317 ,b317 ,a17*50 ,0 ),LAYER7,color3E3E37;
  121. STICKLINE( DISPSTATUS=2,b318 ,b318 ,a18*50 ,0 ),LAYER7,color3E3E37;
  122. STICKLINE( DISPSTATUS=2,b319 ,b319 ,a19*50 ,0 ),LAYER7,color3E3E37;
  123. STICKLINE( DISPSTATUS=2,b320 ,b320 ,a20*50 ,0 ),LAYER7,color3E3E37;
  124. STICKLINE( DISPSTATUS=2,b321 ,b321 ,a21*50 ,0 ),LAYER7,color3E3E37;
  125. STICKLINE( DISPSTATUS=2,b322 ,b322 ,a22*50 ,0 ),LAYER7,color3E3E37;
  126. STICKLINE( DISPSTATUS=2,b323 ,b323 ,a23*50 ,0 ),LAYER7,color3E3E37;
  127. STICKLINE( DISPSTATUS=2,b324 ,b324 ,a24*50 ,0 ),LAYER7,color3E3E37;
  128. STICKLINE( DISPSTATUS=2,b325 ,b325 ,a25*50 ,0 ),LAYER7,color3E3E37;
  129. STICKLINE( DISPSTATUS=2,b326 ,b326 ,a26*50 ,0 ),LAYER7,color3E3E37;
  130. STICKLINE( DISPSTATUS=2,b327 ,b327 ,a27*50 ,0 ),LAYER7,color3E3E37;
  131. STICKLINE( DISPSTATUS=2,b328 ,b328 ,a28*50 ,0 ),LAYER7,color3E3E37;
  132. STICKLINE( DISPSTATUS=2,b329 ,b329 ,a29*50 ,0 ),LAYER7,color3E3E37;
  133. STICKLINE( DISPSTATUS=2,b330 ,b330 ,a30*50 ,0 ),LAYER7,color3E3E37;
  134. STICKLINE( DISPSTATUS=2,b331 ,b331 ,a31*50 ,0 ),LAYER7,color3E3E37;
  135. STICKLINE( DISPSTATUS=2,b332 ,b332 ,a32*50 ,0 ),LAYER7,color3E3E37;
  136. STICKLINE( DISPSTATUS=2,b333 ,b333 ,a33*50 ,0 ),LAYER7,color3E3E37;
  137. STICKLINE( DISPSTATUS=2,b334 ,b334 ,a34*50 ,0 ),LAYER7,color3E3E37;
  138. STICKLINE( DISPSTATUS=2,b335 ,b335 ,a35*50 ,0 ),LAYER7,color3E3E37;
  139. STICKLINE( DISPSTATUS=2,b336 ,b336 ,a36*50 ,0 ),LAYER7,color3E3E37;
  140. STICKLINE( DISPSTATUS=2,b337 ,b337 ,a37*50 ,0 ),LAYER7,color3E3E37;
  141. STICKLINE( DISPSTATUS=2,b338 ,b338 ,a38*50 ,0 ),LAYER7,color3E3E37;
  142. STICKLINE( DISPSTATUS=2,b339 ,b339 ,a39*50 ,0 ),LAYER7,color3E3E37;
  143. STICKLINE( DISPSTATUS=2,b340 ,b340 ,a40*50 ,0 ),LAYER7,color3E3E37;
  144. STICKLINE( DISPSTATUS=2,b341 ,b341 ,a41*50 ,0 ),LAYER7,color3E3E37;
  145. STICKLINE( DISPSTATUS=2,b342 ,b342 ,a42*50 ,0 ),LAYER7,color3E3E37;
  146. STICKLINE( DISPSTATUS=2,b343 ,b343 ,a43*50 ,0 ),LAYER7,color3E3E37;
  147. STICKLINE( DISPSTATUS=2,b344 ,b344 ,a44*50 ,0 ),LAYER7,color3E3E37;
  148. STICKLINE( DISPSTATUS=2,b345 ,b345 ,a45*50 ,0 ),LAYER7,color3E3E37;
  149. STICKLINE( DISPSTATUS=2,b346 ,b346 ,a46*50 ,0 ),LAYER7,color3E3E37;
  150. STICKLINE( DISPSTATUS=2,b347 ,b347 ,a47*50 ,0 ),LAYER7,color3E3E37;
  151. STICKLINE( DISPSTATUS=2,b348 ,b348 ,a48*50 ,0 ),LAYER7,color3E3E37;
  152. STICKLINE( DISPSTATUS=2,b349 ,b349 ,a49*50 ,0 ),LAYER7,color3E3E37;
  153. STICKLINE( DISPSTATUS=2,lb ,lb ,a50*50 ,0 ),LAYER7,color3E3E37;
  154. C,COLOR996666;
复制代码

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

返回列表