通达信大单净比公式副图源码

N:=6;{参数}

超B:=L2_AMO(0,2)/10000.0,NODRAW;

大B:=L2_AMO(1,2)/10000.0,NODRAW;

超S:=L2_AMO(0,3)/10000.0,NODRAW;

大S:=L2_AMO(1,3)/10000.0,NODRAW;

总成交额:=AMOUNT/10000.0,NODRAW;

DDLR:=(超B+大B)-(超S+大S);

大宗流入:DRAWNULL,COLORWHITE;

IF((超B+大B)-(超S+大S)>=0,(超B+大B)-(超S+大S),DRAWNULL),NODRAW,COLORRED;

IF((超B+大B)-(超S+大S)<0,(超B+大B)-(超S+大S),DRAWNULL),NODRAW,COLORGREEN;

大单净比:100*DDLR/总成交额,COLORYELLOW,LINETHICK2;

人气:COUNT(C>REF(C,1),N)/N*100,NODRAW,COLORLIMAGENTA;

STICKLINE(人气<16,0,-50,2,0),COLORLIBLUE;

STICKLINE(人气>70,0,人气,2,0),COLORRED;

DRAWICON(REF(人气,1)<16,0,7);

ZQ:=BARSLAST(人气<16);{分析家公式网}

DRAWICON(H/REF(C,ZQ)>1.35 AND EVERY(人气=100,3),人气,8);

JJ:=DYNAINFO(15)/DYNAINFO(4)/1000000;

NO1:=(REF(VOL,FROMOPEN+1))#DAY/10000;

竞价额:DYNAINFO(15)/10000,NODRAW,COLORFFFF00;

占昨比:JJ/REF(V,1)*1000000,NODRAW;

首占比:NO1/REF(V,1)*1000000,NODRAW,COLORWHITE;

换手Z:V*10000/FINANCE(46),NODRAW;

流通盘Z:FINANCE(46)/100000000,NODRAW;

涨速:DYNAINFO(24),NODRAW;

量比:DYNAINFO(17),NODRAW,COLORFF00FF;

获利筹码:WINNER(C)*100,NODRAW;

开盘换手:DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100,NODRAW;

开盘量比:DYNAINFO(15)/DYNAINFO(4)/100/DYNAINFO(16),NODRAW;