通达信分时买卖资金指标
提示信号:对于指标线上出现红黄小点的股票要留意一下,这表示主力资金涌入比较积极,说不定你的股票就要涨停了
A1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),-VOL/CAPITAL*100,0)),0);
成交额:=V*C/100,NODRAW;{万元}
A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A3:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);
A4:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A5:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR),((100*A2)/A6),0);
A8:=IF((ISLASTBAR),((100*A3)/A6),0);
A9:=IF((ISLASTBAR),((100*A4)/A6),0);
A10:=IF((ISLASTBAR),((100*A5)/A6),0);
增减仓%:A1;
机构买盘:(A2),LINETHICK4,COLORRED;
机构卖盘:(A3),LINETHICK4,COLORGREEN;
机构进出:机构买盘-机构卖盘,NODRAW;
散户买盘:(A4),COLORYELLOW;
散户卖盘:(A5),COLORWHITE;
Z1:=MAX(A2,A3);
Z2:=MAX(Z1,A4);
Z3:=MAX(Z2,A5);
DRAWTEXT(ISLASTBAR AND C,Z3*4/5,' 机构买盘'),COLORRED;
DRAWTEXT(ISLASTBAR AND C,Z3*3/5,' 机构卖盘'),COLORGREEN;
DRAWTEXT(ISLASTBAR AND C,Z3*2/5,' 散户买盘'),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND C,Z3*1/5,' 散户卖盘'),COLORWHITE;
提示:=((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18;
IF(提示=1,机构买盘*1.05,DRAWNULL),LINETHICK3,COLORYELLOW,CIRCLEDOT;
提示1:=(100*A2)/A6>50;
IF(提示=1,机构买盘*1.10,DRAWNULL),LINETHICK3,COLORRED,CIRCLEDOT;