大智慧宗波全能主图组图公式源码 大智慧指标公式大全(2)
2015-11-27 12:36:07 股票入门 http://rumen.southmoney.com
DRAWTEXTABS(160,35,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),LINETHICK2,COLOR00FF00;
DRAWTEXTABS(160,50,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORYELLOW;
DRAWTEXTABS(160,65,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLOR00FF00;
DRAWTEXTABS(15,35,'每股经营现金流:'+NUMTOSTRN(每股现金流,2)+'元'),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(15,50,'主收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLORYELLOW;
DRAWTEXTABS(15,65,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(15,80,'每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),COLORYELLOW;
DRAWTEXTABS(160,80,'每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),COLORYELLOW;
DRAWTEXTABS(15,95,'资产负债率:'+NUMTOSTRN(资产负债率,2)+'%'),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(160,95,'每股市净率:'+每股市净率+'倍 '),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(15,110,'净资产收益率:'+NUMTOSTRN(净资产收益率,2)+'%'),COLORYELLOW;
DRAWTEXTABS(160,115,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK2,COLORYELLOW;
DRAWTEXTABS(12,145,'主 题 库:'+SELFSTRING('主题投资')),Colorred;
DRAWTEXTABS(12,165,'经营:'+SelfString('主营范围')),LINETHICK1,colorWHITE;
bs:='<*t=0092F7*><*c=FFFFFF*><*p=95*>'+datestr(date)+'买卖点决策系统提示\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'1.BS点:'+tr2+','+tr0+'<*t=E7FFFF*><*c=000000*><*p=95*>'+'2.短线:'+tr3+tr1+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+tr4;
drawflagtext(1,fb,bs);
STICKLINE(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
STICKLINE(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,l,c,0.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,h,o,0.5,1),color5454ff;
STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
STICKLINE((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;
drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
买点:p1=1 and ref(p1,1)=0,PRECIS0,LINETHICK0;
卖点:p1=0 and ref(p1,1)=1,PRECIS0,LINETHICK0;
drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
红点:s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,PRECIS0,LINETHICK0;
绿点:s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,PRECIS0,LINETHICK0;
阻力位:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));
阻力位1:=IF((CLOSE < 10),(CLOSE * 1.05),阻力位);
止损位:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));
止损位1:=IF((CLOSE < 10),(CLOSE * 0.95),止损位);
TJTS1:=BARSTATUS=2 and c<200;
TJTS2:=BARSTATUS=2 and c>200;
k2:=hhv(h,barslast(DISPSTATUS=1)+1);
A4:MA(CLOSE,20),LINETHICK0;
A5:=(CLOSE > MA(CLOSE,5));
A6:=(MA(CLOSE,5) > MA(CLOSE,10));
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。