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

[大智慧指标] [转载]VOL优化(源码、副图)

[大智慧指标] [转载]VOL优化(源码、副图)

  1. m1:=5;m2:=10;m3:=20;
  2. H1:=VOL;

  3. H2:=VOL/CAPITAL*100;
  4. STICKLINE(c>=0,H1,0,100000,0),Color334400;
  5. 量:IF(C>200,VOL/1000000,VOL/100);
  6. 额:AMOUNT/100000000 ;
  7. 振:((H-L)/L)*100;
  8. 量比:VOL/DYNAINFO(38);
  9. 流: CAPITAL/1000000,Linethick0;
  10. 中报: FINANCE2(3)/2,Linethick0,Colorwhite;
  11. 净: FINANCE2(4),Linethick0, COLOR00FF00;
  12. STICKLINE(HOUR>=9  AND HOUR<10 ,0, V/((TIME-93000)/100)*240,4.5,1),COLORWHITE;
  13. STICKLINE(HOUR>=10 AND HOUR<11 ,0, V/((TIME-100000)/100+30)*240,4.5,1),COLORWHITE;
  14. STICKLINE(HOUR>=11 AND HOUR<12 ,0, V/((TIME-110000)/100+90)*240,4.5,1),COLORWHITE;
  15. STICKLINE(HOUR>=13 AND HOUR<=14,0, V/((TIME-130000)/100+120)*240,4.5,1),COLORWHITE;
  16. STICKLINE(HOUR>=14 AND HOUR<=15,0, V/((TIME-140000)/100+180)*240,4.5,1),COLORWHITE;
  17. VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
  18. 主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
  19. 主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
  20. stickline(c>o,0,vol,4.5,0),COLOR0000AA;
  21. stickline(c>o,0,vol,4,0),COLOR0000BB;
  22. stickline(c>o,0,vol,3.5,0),COLOR0000CC;
  23. stickline(c>o,0,vol,3,0),COLOR0000DD;
  24. stickline(c>o,0,vol,2.5,0),COLOR0000EE;
  25. stickline(c>o,0,vol,2,0),COLOR0000FF;
  26. stickline(c>o,0,vol,1.5,0),COLOR0000ff;
  27. STICKLINE(c<o ,0,vol,4.5,0),coloraaaa00;
  28. STICKLINE(c<o ,0,vol,4,0),colorbbbb00;
  29. STICKLINE(c<o ,0,vol,3.5,0),colorcccc00;
  30. STICKLINE(c<o ,0,vol,3,0),colordddd00;
  31. STICKLINE(c<o ,0,vol,2.5,0),coloreeee00;
  32. STICKLINE(c<o ,0,vol,2,0),colorffff00;
  33. STICKLINE(c<o ,0,vol,1,0),colorwhite;
  34. stickline(c=o and c<ref(c,1),0,vol,4.5,0),colorffff00;
  35. stickline(c=o and c>ref(c,1),0,vol,4.5,0),colorred;
  36. Stickline(主动买盘>0,0,主动买盘,4.5,0),colorFF00FF;
  37. 换: VOL/CAPITAL*100;
  38. STICKLINE(换>0 and 换<3,0, 主动买盘,2,0),colorwhite;
  39. STICKLINE(换>=3 and 换<8,0, 主动买盘,2,0),color00FF00;
  40. STICKLINE(换>=3 and 换<8,0, 主动买盘,1,0),colorwhite;
  41. STICKLINE(换>=8,0, 主动买盘, 2,0) ,coloryellow;
  42. STICKLINE(换>=8,0, 主动买盘, 1.3,0) ,colorwhite;
  43. MA5:MA(VOL,5),COLORYELLOW,LINETHICK1;
  44. MA10:MA(VOL,10),COLORWHITE,LINETHICK1;
  45. MA20:MA(VOL,20),COLORFF00FF,LINETHICK1;
  46. u:=CROSS(MA5,MA10);
  47. 倍量:STICKLINE(VOL>REF( VOL,1)*2,0,VOL,4.5,0),COLORred,LINETHICK1;
  48. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,4.5,0),COLOr00aaaa,LINETHICK1;
  49. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,4,0),COLOR00bbbb,LINETHICK1;
  50. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,3.5,0),COLOR00cccc,LINETHICK1;
  51. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,3,0),COLOR00dddd,LINETHICK1;
  52. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,2.5,0),COLOR00eeee,LINETHICK1;
  53. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,2,0),COLOR00eeee,LINETHICK1;
  54. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,1.5,0),COLORyellow,LINETHICK1;
  55. STICKLINE(VOL>REF( VOL,1)*2,0,VOL,1,0),COLORwhite,LINETHICK1;
  56. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,4.5,0),COLOR0000AA,LINETHICK1;
  57. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,4,0),COLOR0000BB,LINETHICK1;
  58. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,3.5,0),COLOR0000CC,LINETHICK1;
  59. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,3,0),COLOR0000DD,LINETHICK1;
  60. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,2.5,0),COLOR0000EE,LINETHICK1;
  61. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,2,0),COLOR0000FF,LINETHICK1;
  62. STICKLINE(VOL>MA(VOL,5)*2,0,VOL,1.5,0),COLOR0000ff,LINETHICK1;
  63. u2:=CROSS(MA10,MA20);
  64. DRAWTEXT(u,H1+5000,'▼'),COLORyellow;
复制代码

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

返回列表