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