当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧level-2公式——操盘手《新主图》

  • 相关简介:C/C++ Code 复制内容到剪贴板 DRAWGBKLAST(v1,STRIP(RGB(00,0,0),RGB(90,90,90),0)); {DRAWGBK(DATE900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));} 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,18)*20+C,52); BU:=cross(买线,卖线); SEL:=cross(卖线,买线); drawtext(bu,LOW, 'B' ),

  • 文章来源:择股网作者:股海网发布时间:2009-09-01浏览次数:下载次数:83收藏:

 

C/C++ Code复制内容到剪贴板
  1. DRAWGBKLAST(v>1,STRIP(RGB(00,0,0),RGB(90,90,90),0));   
  2.   
  3. {DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));}    
  4. 买线:=EMA(C,2);    
  5. 卖线:=EMA(SLOPE(C,18)*20+C,52);      
  6. BU:=cross(买线,卖线);    
  7. SEL:=cross(卖线,买线);    
  8. drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3;    
  9. DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3;    
  10. DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;    
  11. drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3;    
  12. stickline(买线>=卖线,low,high,0.1,1),colorred;    
  13. stickline(买线>=卖线,close,open,8,1),colorred;    
  14. stickline(买线<卖线,low,high,0.1,1),color00ff00;    
  15. stickline(买线<卖线,close,open,8,1),color00ff00;    
  16. stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;    
  17. 指导线: MA(CLOSE,3),linethick1,ColorFFffFF;    
  18. 年线: MA(CLOSE,18),linethick1,Color00FFFF;    
  19. 生命线: MA(CLOSE,288),linethick1,Color0055FF;   
  20. DRAWTEXT(cross(指导线,年线),年线,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff;    
  21. DRAWTEXT(cross(年线,指导线),年线,' ̄ ̄'),ALIGN1,Color00ffff;   
  22.   
  23. RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   
  24. K:=SMA(RSV,3,1);   
  25. D:=SMA(K,3,1);   
  26. J:=3*K-2*D;   
  27. G:=95;   
  28. DRAWTEXT(cross(J,D),L*0.999,''),Color00ffff,linethick4;   
  29. DRAWTEXT(cross(J,D),L,''),Color00ffff;   
  30. DRAWTEXT(cross(J,G),H*1.005,''),Colorffff00,linethick4;   
  31. DRAWTEXT(cross(J,G),H,''),Colorffff00;   
  32. dp:=if(c=INDEXC,0,1);   
  33. gj:=AMOUNT/v/100;   
  34. 明日阻力:=l+(gj-l)+(c-l);   
  35. 明日支撑:=l+(c-gj);   
  36. 今日阻力:=REF(明日阻力 , 1);   
  37. 今日支撑:=REF(明日支撑 , 1);   
  38. STICKLINE(DISPSTATUS=2 and dp=1 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;   
  39. STICKLINE(DISPSTATUS=2 and dp=1  and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;   
  40. STICKLINE(DISPSTATUS=2 and dp=1  and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;   
  41. STICKLINE(DISPSTATUS=2 and dp=1  and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;   
  42. if DISPSTATUS=2 then a:=BARPOS;   
  43. if DISPSTATUS=1 then b:=BARPOS;   
  44. d:=a-b;   
  45. e:=hhv(h,d);   
  46. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2, e*1.08,'-----------------------------------'),ColorFFFFFF,ALIGN2;   
  47. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c>=今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+'                    '),ColorFF00FF,ALIGN2;   
  48. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c<今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+'                    '),ColorFF0000,ALIGN2;   
  49. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c>=今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color0000FF,ALIGN2;   
  50. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c<今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color00FF00,ALIGN2;   
  51. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2, e*1.04,'-----------------------------------'),ColorFFFFFF,ALIGN2;   
  52. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c>=明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+'                    '),Color00FFFF,ALIGN2;   
  53. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c<明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+'                    '),Color00FFFF,ALIGN2;   
  54. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c>=明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;   
  55. DRAWTEXT(c>0 and dp=1  and DISPSTATUS=2 and c<明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;   
  56. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v>ref(v,1) and ma(v,5)>ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日,且有继续增大趋势'),Color8285FF,ALIGN2;   
  57. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v<ref(v,1) and ma(v,5)>ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,但有放大迹象'),Color8285FF,ALIGN2;   
  58. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;   
  59. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;   
  60. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;   
  61. DRAWTEXT(c>0 and dp=1   and DISPSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;    
  62.   
  63. DRAWTEXTREL(20,30,'操盘手BS'),LINETHICK6,Coloryellow;   
  64. DRAWTEXTREL(200,30,STKLABEL+' '+STKNAME),LINETHICK6,ColorFFFF80;   
  65.   
  66. if DISPSTATUS=2 then begin;   
  67. var100:='所属板块:';   
  68. if inblock('电力')=1 then var100:=var100+' 电力';   
  69. if inblock('电脑')=1 then var100:=var100+' 电脑';   
  70. if inblock('电器')=1 then var100:=var100+' 电器';   
  71. if inblock('电子信息')=1 then var100:=var100+' 电子信息';   
  72. if inblock('房地产')=1 then var100:=var100+' 房地产';   
  73. if inblock('纺织服装')=1 then var100:=var100+' 纺织服装';   
  74. if inblock('钢铁')=1 then var100:=var100+' 钢铁';   
  75. if inblock('工程建筑')=1 then var100:=var100+' 工程建筑';   
  76. if inblock('供水供气')=1 then var100:=var100+' 供水供气';   
  77. if inblock('化工')=1 then var100:=var100+' 化工';   
  78. if inblock('化纤')=1 then var100:=var100+' 化纤';   
  79. if inblock('机械')=1 then var100:=var100+' 机械';   
  80. if inblock('建材')=1 then var100:=var100+' 建材';   
  81. if inblock('交通工具')=1 then var100:=var100+' 交通工具';   
  82. if inblock('交通设施')=1 then var100:=var100+' 交通设施';   
  83. if inblock('教育传媒')=1 then var100:=var100+' 教育传媒';   
  84. if inblock('金融')=1 then var100:=var100+' 金融';   
  85. if inblock('旅游酒店')=1 then var100:=var100+' 旅游酒店';   
  86. if inblock('煤炭石油')=1 then var100:=var100+' 煤炭石油';   
  87. if inblock('酿酒食品')=1 then var100:=var100+' 酿酒食品';   
  88. if inblock('农林牧渔')=1 then var100:=var100+' 农林牧渔';   
  89. if inblock('其他行业')=1 then var100:=var100+' 其他行业';   
  90. if inblock('汽车')=1 then var100:=var100+' 汽车';   
  91. if inblock('汽配')=1 then var100:=var100+' 汽配';   
  92. if inblock('商业连锁')=1 then var100:=var100+' 商业连锁';   
  93. if inblock('石化')=1 then var100:=var100+' 石化';   
  94. if inblock('通信')=1 then var100:=var100+' 通信';   
  95. if inblock('外贸')=1 then var100:=var100+' 外贸';   
  96. if inblock('医药')=1 then var100:=var100+' 医药';   
  97. if inblock('仪电仪表')=1 then var100:=var100+' 仪电仪表';   
  98. if inblock('有色金属')=1 then var100:=var100+' 有色金属';   
  99. if inblock('运输物流')=1 then var100:=var100+' 运输物流';   
  100. if inblock('造纸印刷')=1 then var100:=var100+' 造纸印刷';   
  101. if inblock('安徽')=1 then var100:=var100+' 安徽';   
  102. if inblock('北京')=1 then var100:=var100+' 北京';   
  103. if inblock('福建')=1 then var100:=var100+' 福建';   
  104. if inblock('甘肃')=1 then var100:=var100+' 甘肃';   
  105. if inblock('广东')=1 then var100:=var100+' 广东';   
  106. if inblock('广西')=1 then var100:=var100+' 广西';   
  107. if inblock('贵州')=1 then var100:=var100+' 贵州';   
  108. if inblock('海南')=1 then var100:=var100+' 海南';   
  109. if inblock('河北')=1 then var100:=var100+' 河北';   
  110. if inblock('河南')=1 then var100:=var100+' 河南';   
  111. if inblock('黑龙江')=1 then var100:=var100+' 黑龙江';   
  112. if inblock('湖北')=1 then var100:=var100+' 湖北';   
  113. if inblock('湖南')=1 then var100:=var100+' 湖南';   
  114. if inblock('吉林')=1 then var100:=var100+' 吉林';   
  115. if inblock('江苏')=1 then var100:=var100+' 江苏';   
  116. if inblock('江西')=1 then var100:=var100+' 江西';   
  117. if inblock('辽宁')=1 then var100:=var100+' 辽宁';   
  118. if inblock('内蒙古')=1 then var100:=var100+' 内蒙古';   
  119. if inblock('宁夏')=1 then var100:=var100+' 宁夏';   
  120. if inblock('青海')=1 then var100:=var100+' 青海';   
  121. if inblock('山东')=1 then var100:=var100+' 山东';   
  122. if inblock('山西')=1 then var100:=var100+' 山西';   
  123. if inblock('陕西')=1 then var100:=var100+' 陕西';   
  124. if inblock('上海')=1 then var100:=var100+' 上海';   
  125. if inblock('深圳')=1 then var100:=var100+' 深圳';   
  126. if inblock('四川')=1 then var100:=var100+' 四川';   
  127. if inblock('天津')=1 then var100:=var100+' 天津';   
  128. if inblock('***')=1 then var100:=var100+' ***';   
  129. if inblock('新疆')=1 then var100:=var100+' 新疆';   
  130. if inblock('云南')=1 then var100:=var100+' 云南';   
  131. if inblock('浙江')=1 then var100:=var100+' 浙江';   
  132. if inblock('重庆')=1 then var100:=var100+' 重庆';   
  133. if inblock('3G')=1 then var100:=var100+' 3G';   
  134. if inblock('H股')=1 then var100:=var100+' H股';   
  135. if inblock('QFII持股')=1 then var100:=var100+' QFII持股';   
  136. if inblock('ST')=1 then var100:=var100+' ST';   
  137. if inblock('奥运')=1 then var100:=var100+' 奥运';   
  138. if inblock('创投')=1 then var100:=var100+' 创投';   
  139. if inblock('次新股')=1 then var100:=var100+' 次新股';   
  140. if inblock('大盘')=1 then var100:=var100+' 大盘';   
  141. if inblock('股权改革')=1 then var100:=var100+' 股权改革';   
  142. if inblock('股权投资')=1 then var100:=var100+' 股权投资';   
  143. end;   
  144.   
  145. DRAWTEXTREL(20,190,var100),color00ffff;    

 

下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
本地下载 (免费下载)
问题反馈

大智慧level-2公式——操盘手《新主图》

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2009-09-01
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.