大智慧流量分析指标公式
<p>AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));<br />买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2)){,LINETHICK0,COLORRED};<br />
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0- AA*(HIGH-LOW),0-VOL/2)){,LINETHICK0,COLORCYAN};<br />
进出量:=买量+卖量{,COLOR00FFFF,LINETHICK0};<br />
STICKLINE(进出量<0,0,进出量,5,0),COLORFF6600;<br />
STICKLINE(进出量<0,0,进出量,4,0),COLORFF9900;<br />
STICKLINE(进出量<0,0,进出量,2.5,0),COLORFFCC00;<br />
STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;<br />
STICKLINE(进出量>0,0,进出量,5,0),COLOR000099;<br />
STICKLINE(进出量>0,0,进出量,4,0),COLOR0000CC;<br />
STICKLINE(进出量>0,0,进出量,4.5,0),COLOR0000FF;<br />
STICKLINE(进出量>0,0,进出量,1.5,0),COLORCC66FF;<br />
N:=5;<br />
M:=13;<br />
五日内净流入:SUM(进出量,N),LINETHICK2,COLORGREEN;<br />
流入:IF(五日内净流入>REF(五日内净流入,1),五日内净流入,0),COLORRED,LINETHICK2;<br />
连红天:BARSLAST(COUNT(进出量>0,n));<br />
十三日内翻红天:COUNT(进出量>0,M),COLORRED;<br />
走熊天:BARSLAST (COUNT(五日内净流入<0,n)),COLORCYAn;<br />
走牛天:BARSLAST (COUNT(五日内净流入>0,n)),COLORRED;<br />
强势天:BARSLAST (COUNT((五日内净流入>REF(五日内净流入,n))>0 AND 五日内净流入>0,n));<br />
弱势天:BARSLAST (COUNT((五日内净流入<REF(五日内净流入,n))>0 AND 五日内净流入<0,n));</p>
<p></p>
<p> </p>
页:
[1]