BAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6;
上攻线: (20*BAR0+19*REF(BAR0,1)+18*REF(BAR0,2)+17*REF(BAR0,3)+16*REF(BAR0,4)
+15*REF(BAR0,5)+14*REF(BAR0,6)+13*REF(BAR0,7)+12*REF(BAR0,8)+11*REF(BAR0,9)
+10*REF(BAR0,10)+9*REF(BAR0,11)+8*REF(BAR0,12)+7*REF(BAR0,13)+6*REF(BAR0,14)
+5*REF(BAR0,15)+4*REF(BAR0,16)+3*REF(BAR0,17)+2*REF(BAR0,18)+REF(BAR0,20))/210,
CIRCLEDOT,COLORF00FF0,LINETHICK2;
下攻线: MA(上攻线,5),CIRCLEDOT,COLORGREEN,LINETHICK2;
DRAWICON(crOSS(上攻线,下攻线),上攻线,7,1);
DRAWICON(CROSS(下攻线,上攻线),下攻线,8,-18);
DRAWICON(CROSS(上攻线,下攻线),上攻线,7,14);
DRAWICON(CROSS(下攻线,上攻线),下攻线,8,-30);
BAR1:=(2*C+H+L)/4;
入场位:=LLV(HHV(BAR1,21),5);
止损位:=HHV(LLV(BAR1,21),5);
PARTLINE(入场位,上攻线<下攻线),COLORFFFF54,LINETHICK2;
PARTLINE(止损位,上攻线>下攻线),COLOR5454FF,LINETHICK2;
DRAwrECTAbs(0,6,60,25,rgb(235,235,30)),COLORYELLOW;
DRAWTEXTABS(3,10,’先看大盘!’),COLORBLacK,LINETHICK1;
DRAWTEXTABS(0,30,’看大盘表现:’),COLORYELLOW,LINETHICK1;
大盘涨跌:=(INDEXC-REF(INDEXC,1))*100/REF(INDEXC,1);
上涨家数:=INDEXADV;
下跌家数:=INDEXDEC;
DRAWTEXTABS(80,30,’大盘涨跌:’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(150,30,IFS(大盘涨跌>0,’+’+NUMTOSTRN(大盘涨跌,2)+’%’,”)),COLORRED,LINETHICK1;
DRAWTEXTABS(150,30,IFS(大盘涨跌=0,’+’+NUMTOSTRN(大盘涨跌,2)+’%’,”)),COLORWHITE,LINETHICK1;
DRAWTEXTABS(150,30,IFS(大盘涨跌<0,NUMTOSTRN(大盘涨跌,2)+’%’,”)),COLORGREEN,LINETHICK1;
DRAWTEXTABS(210,30,’上涨家数:’+NUMTOSTRN(上涨家数,0)+’家’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(365,30,’下跌家数:’+NUMTOSTRN(下跌家数,0)+’家’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(0,50,’■盘面提示:’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(80,50,STKNAME+’ ‘+STKLABEL),COLORYELLOW,LINETHICK1;
流通盘大小:=FINANCE2(37)*C/1000000*100;
流通比例:=100*FINANCE2(37)/FINANCE2(35);
{www.gupang.com 股旁网_大智慧股票指标公式}
DRAWTEXTABS(210,50,’流通市值:’+NUMTOSTRN(流通盘大小,2)+’亿’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(365,50,’流通比例:’+NUMTOSTRN(流通比例,2)+’%’),COLORYELLOW,LINETHICK1;
每股净资产:=FINANCE2(4);
每股收益:=FINANCE2(3);
每股市盈率:=DYNAINFO(39);
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
DRAWTEXTABS(0,70,’基本面情况:’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(80,70,’每股净资产:’+NUMTOSTRN(每股净资产,2)+’元’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(210,70,’每股收益:’+NUMTOSTRN(每股收益,2)+’元’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(365,70,’每股市盈率:’+NUMTOSTRN(每股市盈率,1)+’倍’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(80,90,’销售毛利率:’+NUMTOSTRN(销售毛利率,2)+’%’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(210,90,’主营收入同比增:’+NUMTOSTRN(主营收入同比,2)+’%’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(365,90,’净利润同比增:’+NUMTOSTRN(净利润同比增长,2)+’%’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(0,110,’换手率高低:’),COLORYELLOW,LINETHICK1;
当日换手率:=sum(100*v/capital,1);
DRAWTEXTABS(80,110,’今日换手率: ‘+NUMTOSTRN(当日换手率,2)+’%’),COLORYELLOW,LINETHICK1;
五日换手率:=sum(100*v/capital,5);
DRAWTEXTABS(210,110,’5日换手率: ‘+NUMTOSTRN(五日换手率,2)+’%’),COLORYELLOW,LINETHICK1;
十日换手率:=SUM(vol,10)*100/CAPITAL;
DRAWTEXTABS(365,110,’10日换手率: ‘+NUMTOSTRN(十日换手率,2)+’%’),COLORYELLOW,LINETHICK1;
DRAWTEXTABS(0,130,’■所属板块:’+’ ‘+BKNAME),COLORYELLOW,LINETHICK1;
DRAWGBK(C>0 ,’8888′);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。