AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
買量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
賣量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
進出量:=買量+賣量,COLOR00FFFF;
STICKLINE(進出量<0,0,進出量,4,0),COLORFF6600;
STICKLINE(進出量<0,0,進出量,3,0),COLORFF9900;
STICKLINE(進出量<0,0,進出量,1.5,0),COLORFFCC00;
STICKLINE(進出量<0,0,進出量,0.5,0),COLORCYAN;
STICKLINE(進出量>0,0,進出量,4,0),COLOR000099;
STICKLINE(進出量>0,0,進出量,3,0),COLOR0000CC;
STICKLINE(進出量>0,0,進出量,1.5,0),COLOR0000FF;
STICKLINE(進出量>0,0,進出量,0.5,0),COLORCC66FF;
N:=5;
M:=13;www.hnnqr.com
N日內凈流入:SUM(進出量,N),LINETHICK2,COLORGREEN;
流入:IF(N日內凈流入>REF(N日內凈流入,1),N日內凈流入,DRAWNULL),COLORRED,LINETHICK2;
連紅天:BARSLASTCOUNT(進出量>0);
M日內翻紅天:COUNT(進出量>0,M),COLORRED;
走熊天:BARSLASTCOUNT(N日內凈流入<0),COLORCYAN;
走牛天:BARSLASTCOUNT(N日內凈流入>0),COLORRED;
強勢天:BARSLASTCOUNT((N日內凈流入>REF(N日內凈流入,1))>0 AND N日內凈流入>0);
弱勢天:BARSLASTCOUNT((N日內凈流入0 AND N日內凈流入<0);
(南方財富網(wǎng)SOUTHMONEY.COM)