成交量:=vol,VOLSTICK;
MA5:=MA(VOL,5);
MA10:=MA(VOL,10);
MA20:=MA(VOL,20),LINETHICK0;
MA35:=MA(VOL,35),LINETHICK0;
AAA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*0.8,LINETHICK0;
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL/2))*0.9,LINETHICK0;
主力净量:=(主买-主卖),LINETHICK0;
O0:0;
总量:100,LINETHICK0;
主买占%:主买/成交量*100,COLORRED,LINETHICK0;
主卖占%:主卖/成交量*100,COLOR00FF00,LINETHICK0;
比差:=主买占%-主卖占%;
STICKLINE(CURRBARSCOUNT=1 AND 100>0,100,0,2,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND 主卖占%>0,主卖占%,0,1.8,0),COLORBLUE;
STICKLINE(CURRBARSCOUNT=1 AND 主买占%>0,主买占%,0,1,0),COLORRED;
DRAWICON(CURRBARSCOUNT=1 AND 5>0,0,97);
DRAWTEXT(CURRBARSCOUNT=1,主买占%+5,’____主买’),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,主卖占%+5,’____主卖’),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,102,’总量’),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=1,22,’—-20′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,32,’—-30′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,42,’—-40′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,52,’—-50′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,62,’—-60′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,72,’—-70′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,82,’—-80′),COLORFFFFFF;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。