村广播站站长
2024-11-15 10:31:58
最佳回答
把这段公式代码显示在“大智慧”软件中,就能显示每一只股票的流通盘大小了:{基本信息}drawtextabs(10,4,'股票:'+stklabel+' '+stkname),linethick1,colorwhite;{财务数据}if(finance2(37)/10000>=100) then begindrawtextabs(10,20,'盘类:超大盘(100亿以上),'+finance2(37)/10000+'亿股'),linethick1,colorwhite; end;if(finance2(37)/10000<100 and finance2(37)/10000>=10) then begindrawtextabs(10,20,'盘类:大盘股(10-100亿),'+finance2(37)/10000+'亿股'),linethick1,colorwhite; end;if(finance2(37)/10000<10 and finance2(37)/10000>=5) then begindrawtextabs(10,20,'盘类:中大盘(5-10亿),'+finance2(37)/10000+'亿股'),linethick1,colorwhite; end;if(finance2(37)/10000<5 and finance2(37)/10000>=1) then begindrawtextabs(10,20,'盘类:中小盘(1-5亿),'+finance2(37)/10000+'亿股'),linethick1,colorwhite; end;if(finance2(37)/10000<1) then begindrawtextabs(10,20,'盘类:小盘(1亿以内),'+finance2(37)/10000+'亿股'),linethick1,colorwhite; end;drawtextabs(10,36,'板块/行业:'+bkname),colorwhite,linethick1;年:=ref(year,barscount(c)-1);月:=ref(month,barscount(c)-1);日:=ref(day,barscount(c)-1);市盈率:=dyna**(39);drawtextabs(10,52,'上市日期:'+numtostrn(年,0)+'.'+numtostrn(月,0)+'.'+numtostrn(日,0)+'.'),colorwhite,linethick1;{drawtextabs(140,52,'上市天数:'+barscount(c)),colorwhite,linethick1;}drawtextabs(140,52,'本次除权距今:'+numtostrn(barslast(if(splitbars(0)=1,splitbars(0)+1,0))+1,0)+'天'),colorwhite;每股收益:=finance2(3);每股净资产:=finance2(4);收益率:=finance2(5);{净资产收益率}每股公积金:=finance2(7);每股未分配:=finance2(8);每股市盈率:=dyna**(39);销售毛利率:=finance2(12);主营收入增长:=finance2(11); 净利润增长:=finance2(10);drawtextabs(10,68,'每股收益:'+numtostrn(每股收益,2)+'元 '),linethick1,colorwhite;drawtextabs(140,68,'每股净资产:'+numtostrn(每股净资产,2)+'元 '),linethick1,colorwhite;drawtextabs(10,84,'收 益 率:'+numtostrn(收益率,2)+'% '),linethick1,colorwhite;drawtextabs(140,84,'每股公积金:'+numtostrn(每股公积金,2)+'元 '),linethick1,colorwhite;drawtextabs(10,100,'每股未分配:'+numtostrn(每股未分配,2)+'元 '),linethick1,colorwhite;drawtextabs(140,100,'每股市盈率:'+numtostrn(每股市盈率,2)+'倍 '),linethick1,colorwhite;drawtextabs(10,116,'主营收入同比增长:'+numtostrn(主营收入增长,2)+'% '),linethick1,colorwhite;drawtextabs(10,132,'净利润同比增长:'+numtostrn(净利润增长,2)+'% '),linethick1,colorwhite;{阻力价,支撑价}{gj:=if(c=indexc,(indexc+indexh+indexl+indexo)/4,amount/(v+0.01)/100);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=ref(明日阻力 , 1);今日支撑:=ref(明日支撑 , 1);stickline(d**pstatus=2 ,今日阻力,今日阻力,20,0),colormagenta;stickline(d**pstatus=2 ,今日支撑,今日支撑,20,0),colorgreen;drawtextabs(10,148,'今日支撑:'+numtostrn(今日支撑,2)),linethick1,colorwhite;drawtextabs(140,148,'今日阻力:'+numtostrn(今日阻力,2)),linethick1,colorwhite;};还能显示所属的板块/行业/概念、收益率、收入增长等等很有价值的基本面信息。 20210311