主力籌碼:=IF(C<0,0,EMA(WINNER(CLOSE)*70,3)); 散戶籌碼:=IF(C<0,0,EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3)); 散戶持倉(cāng):IF(C<0,0,散戶籌碼/(主力籌碼+散戶籌碼)*100),COLORGREEN,NODRAW; 主力持倉(cāng):IF(C<0,0,主力籌碼/(主力籌碼+散戶籌碼)*100),COLORRED,NODRAW; 散戶資金:=IF(C<0,0,EMA(散戶持倉(cāng),89)); 主力資金:=IF(C<0,0,EMA(主力持倉(cāng),89)); 資金流入強(qiáng)度:IF(C<0,0,INTPART(主力持倉(cāng)-主力資金)),NODRAW,COLOR0000FF; SH8:=IF(C<0,0,EMA(散戶持倉(cāng),8)); STICKLINE(CLOSE>0,散戶持倉(cāng),主力持倉(cāng),1,0),COLORGRAY; STICKLINE(散戶資金>REF(散戶資金,1),散戶持倉(cāng),散戶資金,1,0),COLORWHITE; STICKLINE(CLOSE>0,主力持倉(cāng),0,1,0),COLORBROWN; STICKLINE(主力持倉(cāng)>75,主力持倉(cāng),0,1,0),COLORRED; STICKLINE(主力資金>REF(主力資金,1),主力持倉(cāng),主力資金,1,0),COLORLIMAGENTA; STICKLINE(散戶持倉(cāng)>=90,主力持倉(cāng),0,1,0),COLORGREEN; STICKLINE(REF(散戶持倉(cāng),1)>90 AND 散戶持倉(cāng)<90,0,散戶持倉(cāng),1,0),COLORYELLOW; 主力介入:REF(散戶持倉(cāng),1)>90 AND 散戶持倉(cāng)<90,NODRAW; 籌碼總量:IF(C<0,0,MA(主力籌碼+散戶籌碼,13)),NODRAW; 籌碼綠:IF(CLOSE>0,籌碼總量,DRAWNULL),COLORGREEN,LINETHICK2; 籌碼紅:IF(籌碼總量>REF(籌碼總量,1),籌碼總量,DRAWNULL),COLORRED,LINETHICK2; 資金流入:IF(主力資金>REF(主力資金,1),主力持倉(cāng),DRAWNULL),COLORMAGENTA,NODRAW; DRAWTEXT(籌碼總量>REF(籌碼總量,1) AND SH8<REF(SH8,1) AND ISLASTBAR,籌碼總量,'←增量資金'); 選股:COUNT(主力介入=1,3) AND 籌碼紅 AND 資金流入,NODRAW,COLORYELLOW; |
|