大智慧2指标——资金统计(副图).doc

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
大智慧2指标——资金统计(副图)

大智慧2指标——资金统计(副图) input:n(5); k1:=IF(CLOSE=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW); k2:=IF(CLOSE=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE); dt:=VOL*K1/(K1+K2); kt:=VOL-DT; 买量:sum(dt,n),COLORRED; 卖量:-sum(kt,n),COLORGREEN; FILLRGN(买量,0,1,RGB(255,0,0)); FILLRGN(卖量,0,1,RGB(0,128,0)); 进出量:买量+卖量,POINTDOT,COLOR00FFFF; 净量换手:100*进出量/CAPITAL,POINTDOT,COLOR00FF33; STICKLINE(进出量=0,0,进出量,6,1),COLORffaa66; STICKLINE(进出量0,0,进出量,6,1),COLORFFFF00; D5:=100*SUM(DT,5)/CAPITAL; K5:=100*SUM(KT,5)/CAPITAL; J5:=D5-K5; D10:=100*SUM(DT,10)/CAPITAL; K10:=100*SUM(KT,10)/CAPITAL; J10:=D10-K10; D20:=100*SUM(DT,20)/CAPITAL; K20:=100*SUM(KT,20)/CAPITAL; J20:=D20-K20; BL5:=400/MAX(D5,K5); BL10:=400/MAX(D10,K10); BL20:=400/MAX(D20,K20); DRAWRECTREL(0,0,360,999,RGB(50,50,50)); D5B:=999-D5*BL5; K5B:=999-K5*BL5; J5B:=999-ABS(J5)*BL5; D10B:=999-D10*BL10; K10B:=999-K10*BL10; J10B:=999-ABS(J10)*BL10; D20B:=999-D20*BL20; K20B:=999-K20*BL20; J20B:=999-ABS(J20)*BL20; {画直方图} DRAWRECTREL(30,D5B,50,999,RGB(150,0,0)); DRAWRECTREL(50,K5B,70,999,RGB(0,150,150)); DRAWRECTREL(70,J5B,90,999,RGB(150,150,0)); DRAWRECTREL(150,D10B,170,999,RGB(150,0,0)); DRAWRECTREL(170,K10B,190,999,RGB(0,150,150)); DRAWRECTREL(190,J10B,210,999,RGB(150,150,0)); DRAWRECTREL(270,D20B,290,999,RGB(150,0,0)); DRAWRECTREL(290,K20B,310,999,RGB(0,150,150)); DRAWRECTREL(310,J20B,330,999,RGB(150,150,0)); DRAWTEXTREL(90,0,买量), colorddffff; DRAWTEXTREL(180,0,卖量), colorddffff; DRAWTEXTREL(270,0,进出量), colorddffff; DRAWTEXTREL(20,100,今日), color33ffff; DRAWTEXTREL(90,100,NUMTOSTRN(100*DT/CAPITAL,2)), color33ffff; DRAWTEXTREL(180,100,NUMTOSTRN(100*KT/CAPITAL,2)), color33ffff; DRAWTEXTREL(270,100,NUMTOSTRN(100*DT/CAPITAL-100*KT/CAPITAL,2)), color33ffff; DRAWTEXTREL(27,200,5日), colorddffff; DRAWTEXTREL(90,200,NUMTOSTRN(D5,2)), colorddffff; DRAWTEXTREL(180,200,NUMTOSTRN(K5,2)), colorddffff; DRAWTEXTREL(270,200,NUMTOSTRN(J5,2)), colorddffff; DRAWTEXTREL(20,300,10日), color33ffff; DRAWTEXTREL(90,

文档评论(0)

skvdnd51 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档