量:=SUM(V,FROMOPEN);
现:=100*(C-REF(C,1))/REF(C,1);
大买:=SUM(IF(现>0 AND V>=500,V,0),FROMOPEN);
大卖:=SUM(IF(现<0 AND V>=500,V,0),FROMOPEN);
B1:=大买/量*100;
B2:=大卖/量*100;
DRAwrECTREL(600,CONST(100-B1)*1000/100,620,1000,RGB(255,0,0))COLOR000000;
DRAWRECTREL(625,CONST(100-B2)*1000/100,645,1000,RGB(0,255,0))COLOR000000;
DRAWTEXT_FIX(PERIOD=0,0,8,0,STRCAT(STRCAT(‘【大买】’,CON2STR(B1,2)),’%’)),COLOR0000FF;
DRAWTEXT_FIX(PERIOD=0,0.2,8,0,STRCAT(STRCAT(‘【大卖】’,CON2STR(B2,2)),’%’)),COLOR00FF00;
小买:=SUM(IF(现>0 AND V<500,V,0),FROMOPEN);
小卖:=SUM(IF(现<0 AND V<500,V,0),FROMOPEN);
B3:=小买/量*100;
B4:=小卖/量*100;
DRAWRECTREL(650,CONST(100-B3)*1000/100,670,1000,90);
DRAWRECTREL(675,CONST(100-B4)*1000/100,695,1000,RGB(0,255,0));
DRAWTEXT_FIX(PERIOD=0,0.6,8,0,STRCAT(STRCAT(‘【小买】’,CON2STR(B3,2)),’%’)),COLOR0000FF;
DRAWTEXT_FIX(PERIOD=0,0.8,8,0,STRCAT(STRCAT(‘【小卖】’,CON2STR(B4,2)),’%’)),COLOR00FF00;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/176521.html,转载请注明出处。