各位高手!求一个通达信的深股通持股变化的附图指标公式,祝高手顺利,发财!谢谢!
展开全部
{北上资金}
万:=10000;
持股量万:GPJYVALUE(6,1,1)/万,NODRAW;{6--陆股通持股量 持股数量(股),X,1平滑处理}
增减万股:(GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1))/10000,COLORYELLOW;
持股金额(亿):(GPJYVALUE(6,1,1)*CLOSE)/100000000,NODRAW,COLORMAGENTA;
净买入(亿):(GPJYVALUE(6,1,1)*CLOSE-REF(GPJYVALUE(6,1,1),1)*CLOSE)/100000000,NODRAW,COLORWHITE;
{NOTEXT曲线:=GPJYVALUE(6,1,1)*1, COLORFFFF00;
F:=1;
变红:=IF((GPJYVALUE(6,1,1)/FINANCE(7))>0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORRED;
IF((GPJYVALUE(6,1,1)/FINANCE(7))=0,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORWHITE;
IF((GPJYVALUE(6,1,1)/FINANCE(7))>0 AND (GPJYVALUE(6,1,1)/FINANCE(7))<0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORCYAN;}
持股数:GPJYVALUE(6,1,1)/10000, LINETHICK2,COLORLIBLUE,NODRAW;
万股:=DRAWNULL;
占流通比:(GPJYVALUE(6,1,1)/FINANCE(7))*100,NODRAW;
占总股比:(GPJYVALUE(6,1,1)/FINANCE(1))*100,NODRAW;
增减:=GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1);
2000,COLORYELLOW;
IF(增减<0,增减,DRAWNULL),STICK,LINETHICK4,COLORCYAN;
IF(增减=0,增减,DRAWNULL),STICK,LINETHICK4,COLORWHITE;
IF(增减>0,增减,DRAWNULL),STICK,LINETHICK4,COLORRED;
RSV:=(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100;
K:=SMA(RSV,3,1),COLOR5599FF,LINETHICK2;
D:=SMA(K,3,1),COLORWHITE LINETHICK2;
J2:=3*K-2*D,COLORF580F5 LINETHICK1;
日金:=CROSS(K,D);
日死:=CROSS(D,K);
北上资金:GPJYVALUE(6,1,1)*1;
月进累量:MA(北上资金,55),COLORYELLOW;
星期累量:MA(北上资金,5),COLOR0033FF;
万:=10000;
持股量万:GPJYVALUE(6,1,1)/万,NODRAW;{6--陆股通持股量 持股数量(股),X,1平滑处理}
增减万股:(GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1))/10000,COLORYELLOW;
持股金额(亿):(GPJYVALUE(6,1,1)*CLOSE)/100000000,NODRAW,COLORMAGENTA;
净买入(亿):(GPJYVALUE(6,1,1)*CLOSE-REF(GPJYVALUE(6,1,1),1)*CLOSE)/100000000,NODRAW,COLORWHITE;
{NOTEXT曲线:=GPJYVALUE(6,1,1)*1, COLORFFFF00;
F:=1;
变红:=IF((GPJYVALUE(6,1,1)/FINANCE(7))>0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORRED;
IF((GPJYVALUE(6,1,1)/FINANCE(7))=0,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORWHITE;
IF((GPJYVALUE(6,1,1)/FINANCE(7))>0 AND (GPJYVALUE(6,1,1)/FINANCE(7))<0.01,NOTEXT曲线,DRAWNULL),LINETHICK1,COLORCYAN;}
持股数:GPJYVALUE(6,1,1)/10000, LINETHICK2,COLORLIBLUE,NODRAW;
万股:=DRAWNULL;
占流通比:(GPJYVALUE(6,1,1)/FINANCE(7))*100,NODRAW;
占总股比:(GPJYVALUE(6,1,1)/FINANCE(1))*100,NODRAW;
增减:=GPJYVALUE(6,1,1)-REF(GPJYVALUE(6,1,1),1);
2000,COLORYELLOW;
IF(增减<0,增减,DRAWNULL),STICK,LINETHICK4,COLORCYAN;
IF(增减=0,增减,DRAWNULL),STICK,LINETHICK4,COLORWHITE;
IF(增减>0,增减,DRAWNULL),STICK,LINETHICK4,COLORRED;
RSV:=(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100;
K:=SMA(RSV,3,1),COLOR5599FF,LINETHICK2;
D:=SMA(K,3,1),COLORWHITE LINETHICK2;
J2:=3*K-2*D,COLORF580F5 LINETHICK1;
日金:=CROSS(K,D);
日死:=CROSS(D,K);
北上资金:GPJYVALUE(6,1,1)*1;
月进累量:MA(北上资金,55),COLORYELLOW;
星期累量:MA(北上资金,5),COLOR0033FF;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询