大智慧基本财务主图指标公式,大智慧成本均线主图指标公式
admin888
|大智慧基本财务主图指标公式,大智慧成本均线主图指标公式
大智慧基本财务主图指标公式
INPUT:M(0,0,2),N(130,0,999),P(130,1,999),F(1,0,1), R(1,0,1);
MA5:MA(CLOSE,5),Precis2;
MA10:MA(CLOSE,10),Precis2;
MA20:MA(CLOSE,20),Precis2;
MA30:MA(CLOSE,30),Precis2;
MA60:MA(CLOSE,60),Precis2,Linethick2;
MA120:MA(CLOSE,120),Precis2,Linethick2,colorgray;
MA240:MA(CLOSE,240),Precis2,Linethick2,colorgreen;
DRAWTEXTABS(500,30,'主题投资:'+SelfString('主题投资库')),LINETHICK2,colorWHITE;
IF(M=1) THEN BEGINDRAWRECTABS(0,0,380,140,RGB(1,1,1)),COLOR010101,LAYER4;END;
DRAWTEXTABS(0,10,'【板块】'+BKNAME),COLORYELLOW;
DRAWTEXTABS(5,25,'报告期 '+FINANCE2(1)),COLOR0000FF;
DRAWTEXTABS(100,25,'总股 '+NUMTOSTRN(FINANCE2(35)/10000,2)+'亿'),COLOR0000FF;
DRAWTEXTABS(5,40,'流通股 '+NUMTOSTRN(FINANCE2(37)/10000,2)+'亿' ),COLOR0000FF;
DRAWTEXTABS(100,40,'市值 '+NUMTOSTRN(DYNAINFO(57)/100000000,2)+'亿' ),COLOR0000FF;
DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;
DRAWTEXTABS(5,55,'股收益 '+NUMTOSTRN(FINANCE2(3),2)+'元'),COLORFFFF00;
DRAWTEXTABS(100,55,'净利 '+NUMTOSTRN(FINANCE2(10),2)+'%'),COLORFFFF00;
DRAWTEXTABS(5,70,'股资产 '+NUMTOSTRN(FINANCE2(4),2)+'元'),COLORFFFF00;
DRAWTEXTABS(100,70,'收益 '+NUMTOSTRN(FINANCE2(5),2)+'%'),COLORFFFF00;
DRAWTEXTABS(5,85,'市盈率 '+NUMTOSTRN(DYNAINFO(39),2)+'%'),COLORFFFF00;
DRAWTEXTABS(100,85,'净率 '+NUMTOSTRN(DYNAINFO(58),2)+'%'),COLORFFFF00;
DRAWTEXTABS(195,25,'股东数 '+NUMTOSTRN(PFFIN(4253,0),0)+'户'),COLOR00FF00;
DRAWTEXTABS(295,25,'增减 '+NUMTOSTRN(PFFIN(4253,0)/PFFIN(4253,1)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,40,'人均持 '+NUMTOSTRN(PFFIN(4254,0),0)+'股'),COLOR00FF00;
DRAWTEXTABS(295,40,'增减 '+NUMTOSTRN(PFFIN(4254,0)/PFFIN(4254,1)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,55,'前10占 '+NUMTOSTRN(PFFIN(4252,0),2)+'%'),COLOR00FF00;
DRAWTEXTABS(295,55,'增减 '+NUMTOSTRN(PFFIN(4252,0)/PFFIN(4252,1)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,70,'散户持 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/10000,0)+'万'),COLOR00FF00;
DRAWTEXTABS(295,70,'增减 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/
(PFFIN(3003,1)-PFFIN(3003,1)*PFFIN(4252,1)/100)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,85,'散户均 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/(PFFIN(4253,0)-10),0)+'股'),COLOR00FF00;
DRAWTEXTABS(295,85,'增减 '+NUMTOSTRN(((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/(PFFIN(4253,0)-10))/
((PFFIN(3003,1)-PFFIN(3003,1)*PFFIN(4252,1)/100)/(PFFIN(4253,1)-10))*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,40,'人均持 '+NUMTOSTRN(PFFIN(4254,0),0)+'股'),COLOR00FF00;
DRAWTEXTABS(295,40,'增减 '+NUMTOSTRN(PFFIN(4254,0)/PFFIN(4254,1)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,55,'前10占 '+NUMTOSTRN(PFFIN(4252,0),2)+'%'),COLOR00FF00;
DRAWTEXTABS(295,55,'增减 '+NUMTOSTRN(PFFIN(4252,0)/PFFIN(4252,1)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(195,70,'散户持 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/10000,0)+'万'),COLOR00FF00;
DRAWTEXTABS(295,70,'增减 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/
(PFFIN(3003,1)-PFFIN(3003,1)*PFFIN(4252,1)/100)*100-100,2)+'%'),COLOR00FF00;
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
DRAWTEXTABS(195,85,'散户均 '+NUMTOSTRN((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/(PFFIN(4253,0)-10),0)+'股'),COLOR00FF00;
DRAWTEXTABS(295,85,'增减 '+NUMTOSTRN(((PFFIN(3003,0)-PFFIN(3003,0)*PFFIN(4252,0)/100)/(PFFIN(4253,0)-10))/
((PFFIN(3003,1)-PFFIN(3003,1)*PFFIN(4252,1)/100)/(PFFIN(4253,1)-10))*100-100,2)+'%'),COLOR00FF00;
var100:='【自选】';
IF INBLOCK('自选股')=1THEN BEGIN var100:=var100+'已选!';END
ELSE BEGIN var100:=var100+'未选。';END;
DRAWTEXTABS(5,100, var100),COLORRED;
DRAWTEXTABS(100,100,'权重 '+IF(selfdata('300权重')>=0,selfdata('300权重'),0)+'%'),COLOR0000FF;
大智慧成本均线主图指标公式
CYC1:CYC(5),Color00FFFF,LINETHICK2,LAYER0;
CYC2:CYC(13),Color0000FF,LAYER0;
CYC3:CYC(34),Color00FF80,LAYER0;
CYC4:MAXCYC,ColorFF8000,LAYER0;
CBSX1:CYC1*(1+0.08),DOTLINE,Color525252,LAYER0;
CBSX2:CYC1*(1-0.08),DOTLINE,Color525252,LAYER0;
STICKLINE(c>=o and o<>0,HIGH,LOW,0.5,0),color0000CD;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,8,0),color070084;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,7,0),color0000A3;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,6,0),color0000B7;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,5,0),color0000CD;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,4,0),color0000E9;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,2,0),color0754E9;
STICKLINE(c>=o and o<>0,CLOSE,OPEN,0.5,0),Color68B8FF;
DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;
STICKLINE(c
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,HIGH,LOW,0.5,0),Color1CD2EC;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,8,0),Color0E96A9;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,7,0),Color10A7BC;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,6,0),Color11B5CC;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,5,0),Color13C6DF;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,4,0),Color1CD2EC;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,2,0),Color39D8EE;
STICKLINE(LONGCROSS(C,CYC1 ,3 ) and o<>0,CLOSE,OPEN,0.5,0),ColorFFFFFF;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,HIGH,LOW,0.5,0),Color008400;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,8,0),Color006400;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,7,0),Color007500;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,6,0),Color008400;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,5,0),Color009900;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,4,0),Color00AE00;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,2,0),Color00BD00;
STICKLINE(LONGCROSS(CYC1,C ,3 ) and OPEN<>0,CLOSE,OPEN,0.5,0),Color8EFF8E;
总股本:=FINANCE2(35) ;
流通股:=FINANCE2(37);
限售A股:=FINANCE2(41);
每股收益:=FINANCE2(3);
市盈率:=DYNAINFO(39);
每股公积金:=FINANCE2(7);
所属板块:=BKNAME;
DRAWTEXTABS(12,8, '所属板块: '+所属板块),colorYellow;
DRAWTEXTABS(12,21,'每股收益: '+NUMTOSTRN(每股收益,2)+'元 '+' 市盈率:'+NUMTOSTRN(市盈率,1)+'倍 '+' 每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),colorYellow;
DRAWTEXTABS(12,34,'总 股 本: '+NUMTOSTRN(总股本,2)+' 万股'),colorYellow;
DRAWTEXTABS(12,47,'流通 A股: '+NUMTOSTRN(流通股,2)+' 万股'),colorYellow;
DRAWTEXTABS(12,60, '限售 A股: '+NUMTOSTRN(限售A股,2)+' 万股'),colorYellow;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。