M:=10;
N:=3;
vol,VOLSTICK;
MA6:MA(VOL,6);
MA36:MA(VOL,36);
VAR1:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,1,0),COLORWHITE;
STICKLINE(主买>0,0,主买,1,0),COLORLIRED;
买卖差:=(主买+主卖);
买卖比:ABS(主买/主卖);
N日内净流入:SUM (买卖差,N), LINETHICK2,COLORGREEN;
流入:IF (N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL),COLORMAGENTA,LINETHICK2;
M日内翻红天数:=COUNT(买卖差>0,M);
连红天数:=BArslASTCOUNT(买卖差>0);

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