通达信公式:港资+融资指标(港资占流通比 港资日买入 融资买入 融资占比曲线 )
{港资+融资指标}
{(港资占流通比 港资日买入 融资买入 融资占比曲线 )}
{港资占流通比}
持股量(万):GPJYVALUE(6,1,1)/10000,NODRAW,COLORCYAN;
占总股比(%):(GPJYVALUE(6,1,1)/FINANCE(1))*100,NODRAW;
占流通比(%):(GPJYVALUE(6,1,1)/FINANCE(7))*100,LINETHICK2,COLORRED;
增减万股(万):(GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1))/10000,NODRAW,COLORGREEN;
持股金额(亿):(GPJYVALUE(6,1,1)*CLOSE)/100000000,NODRAW,COLORMAGENTA;
净买入(亿):(GPJYVALUE(6,1,1)*CLOSE-REF(GPJYVALUE(6,1,1),1)*CLOSE)/100000000,NODRAW,COLORWHITE;
{港资日买入}
BSZJ:=(GPJYVALUE(6,1,1)*CLOSE-REF(GPJYVALUE(6,1,1),1)*CLOSE)/100000000;
STICKLINE(BSZJ>=0,BSZJ,0,2.5,0),COLORRED;
STICKLINE(BSZJ<0,BSZJ,0,2.5,0),COLORGREEN;
持股量(万):GPJYVALUE(6,1,1)/10000,NODRAW,COLORCYAN;
增减万股(万):(GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1))/10000,NODRAW;
净买入(亿):(GPJYVALUE(6,1,1)*CLOSE-REF(GPJYVALUE(6,1,1),1)*CLOSE)/100000000,NODRAW;
三日买入(亿):(GPJYONE(7,1,0,0)+GPJYONE(7,1,0,1)+GPJYONE(7,1,0,2))/10000,NODRAW,COLORYELLOW;
{融资买入}
BSZJ:=(GPJYVALUE(3,1,1)-REF(GPJYVALUE(3,1,1),1))/10000;
STICKLINE(BSZJ>=0,BSZJ,0,2.5,0),COLORRED;
STICKLINE(BSZJ<0,BSZJ,0,2.5,0),COLORGREEN;
融资余额(亿):GPJYVALUE(3,1,1)/10000,NODRAW,COLORRED;
净买卖额(万):(GPJYVALUE(3,1,1)-REF(GPJYVALUE(3,1,1),1)),NODRAW,COLORCYAN;
{融资占比曲线}
融资余额(亿):GPJYVALUE(3,1,1)/10000,LINETHICK2,COLORRED;
融券余量(万):GPJYVALUE(3,2,1)/10000,NODRAW,COLORMAGENTA;
融券余额(万):(GPJYVALUE(3,2,1)*CLOSE)/10000,NODRAW,COLORLIMAGENTA;
占流通比(%):((GPJYVALUE(3,1,1)*10000)/FINANCE(40))*100,NODRAW,COLORGREEN;
净买卖额(万):(GPJYVALUE(3,1,1)-REF(GPJYVALUE(3,1,1),1)),NODRAW,COLORCYAN;