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

彩云追月主图指标公式指标公式公式[大智慧公式]

彩云追月主图指标公式指标公式公式[大智慧公式]

  1. X:=BARSLAST(DISPSTATUS=1)+1;
  2. DRAWTEXTABS(500,5,'['+STKLABEL+']'+ STKNAME+':【可视:'+X+'天,】'),Color0077FF,LINETHICK7,LAYER0;
  3. 现价: if (DYNAINFO(4)=0,C,DYNAINFO(7)),color0077FF,POINTDOT;
  4. KC:=(2*C+H+L+O)/5;
  5. CB:=MEMA(KC,5);
  6. Xl:=slope(CB,3)>0;
  7. PARTLINE(CB,Xl-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK3,LAYER0;
  8. 动向流:CB,colorFF8DAD;
  9. ma(动向流,30), colorFF1111,LINETHICK4;
  10. ma(动向流,29) ,colorFF2222,LINETHICK3;
  11. ma(动向流,28) ,colorFF3333,LINETHICK2;;
  12. ma(动向流,27) ,colorFF4444;
  13. ma(动向流,26) ,colorFF5555;
  14. ma(动向流,25) ,colorFF6666;
  15. ma(动向流,24) ,colorFF7777;
  16. ma(动向流,23) ,colorFF8888;
  17. ma(动向流,22) ,colorFF9999;
  18. ma(动向流,21) ,colorFFaaaa;
  19. ma(动向流,20), colorFFbbbb,LINETHICK3;
  20. ma(动向流,19) ,colorFFcccc;
  21. ma(动向流,18), colorFFdddd;
  22. ma(动向流,17), colorFFeeee;
  23. ma(动向流,16) ,colorffffFF;
  24. ma(动向流,15) ,colorEEEEFF;
  25. ma(动向流,14) ,colorddddFF;
  26. ma(动向流,13), colorccccFF;
  27. ma(动向流,12) ,colorbbbbFF;
  28. ma(动向流,11) ,coloraaaaFF;
  29. ma(动向流,10) ,color9999FF,LINETHICK3;
  30. ma(动向流,9) ,color8888FF;
  31. ma(动向流,8), color7777FF;
  32. ma(动向流,7) ,color6666FF;
  33. ma(动向流,6) ,color5555FF;
  34. ma(动向流,5) ,color4444FF;
  35. ma(动向流,4) ,color3333FF;
  36. ma(动向流,3) ,color2222FF;
  37. ma(动向流,2) ,color1111FF,LINETHICK2;
  38. close, colorblue,linethick0;
  39. var1:=(SMA(HIGH,20,2) * 1.05);
  40. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
  41. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
  42. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
  43. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
  44. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
  45. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
  46. STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
  47. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;
  48. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;
  49. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;
  50. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;
  51. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;
  52. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;
  53. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;
  54. STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;
  55. STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;
  56. STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;
  57. STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
  58. STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;
  59. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;
  60. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;
  61. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;
  62. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;
  63. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;
  64. STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < var1)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;

  65. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),OPEN,LOW,0.7,0),colorFF76FF;
  66. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,HIGH,0.7,0),colorFF76FF;
  67. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,9,0),colorFF00FF;
  68. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,6,0),colorFF62FF;
  69. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,4,0),colorFF76FF;
  70. STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > var1)) AND (CLOSE < var1)),CLOSE,OPEN,2,0),colorFFA8FF;
  71. STICKLINE(l>ref(h,1),l,ref(h,1),50,1),COLORRED;
  72. STICKLINE(h<ref(l,1),h,ref(l,1),50,1),colorgreen;
  73. DRAWGBKLAST(c>0,STRIP(RGB(0,0,0),RGB(0,130,130),0));
复制代码

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

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

返回列表