【大智慧】东拼西凑(能量级别、短线买入)-指标公式源码DRAWGBK(c,'mm2'),Color2B5516;a:=[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email];s1:=[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email];hs:=[email=LTFunc5@LT_HS]LTFunc5@LT_HS[/email];ls:=[email=LTFunc5@LT_LS]LTFunc5@LT_LS[/email];p1:=[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email];upp:=[email=LTFunc5@LT_UPP]LTFunc5@LT_UPP;udd:=[email=LTFunc5@LT_UDD[/email]LTFunc5@LT_UDD[/email[/email]];{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};d1:=ema(abs(ddx.ddx),60);d2:=max(ddx.ddx/d1+7.5,7.5);d3:=min(ddx.ddx/d1,10);fb:=if(s1=0,hs,ls);tr0:=ifs(p1=1,'明日收盘价'+numtostrn(udd,2)+',出现S点\n','若明日收盘价'+numtostrn(upp,2)+',出现B点\n');tr1:=ifs(s1=1,'明日收盘价'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价'+numtostrn(hs,2)+'短线买入机会');tr2:=ifs(p1=1,ifs(cross(p1,0),'B点','持股'),ifs(cross(1,p1),'S点','持币'));tr3:=ifs(s1=0,'向下,','向上,');tr4:='3.能量级别:'+numtostrn(d3,1)+'级';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=1andc=oando0,c,o,d2,0),color5454ff;STICKLINE(p1=1andc=oando0,c,o,7.5,0),colorblack;STICKLINE(p1=1andc=oando0,c,c,7.5,0),color5454ff;STICKLINE(p1=1andc=oando0,o,o,7.5,0),color5454ff;STICKLINE(p1=1andc=oando0,o,c,7.5,1),color5454ff;STICKLINE(p1=1andc=o,o,c,7.5,1),color5454ff;STICKLINE(p1=1andc=o,l,c,0.5,1),color5454ff;STICKLINE(p1=1andc=o,h,o,0.5,1),color5454ff;STICKLINE((p11orbarscount(c)3)andc=o,c,o,7.5,1),colorffff54;STICKLINE((p11orbarscount(c)3)andc=o,c,h,0.5,1),colorffff54;STICKLINE((p11orbarscount(c)3)andc=o,l,o,0.5,1),colorffff54;drawbmp(p1=1andref(p1,1)=0,l,'buy1.bmp'),align1,valign0;drawbmp(p1=0andref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1andref(s1,1)=0and(p1+ref(p1,1))1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0andref(s1,1)=1and(p1+ref(p1,1))1,h,'ss.bmp'),align1,valign2;JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);STICKLINE(AB,A,B,10,0),COLORYELLOW;STICKLINE(AB,B,A,10,0),COLORBLUE;MA1:MA(CLOSE,3),COLORYELLOW;MA2:MA(CLOSE,19),COLOR00ff00;xx1:=(C+L+H)/3;bbb13:=atan(ema(xx1,13)-ref(ema(xx1,13),1))*3.1416*10;ema8:=ema(c,8);DRAWTEXT(filter(bbb131andema(xx1,13)ref(ema(xx1,8),1),10),ema8,'∠45上升'),colorffffff;X1:POLYLINE(CCOST(50),COST(1)),COLOR008800;X3:POLYLINE(CCOST(50),COST(3)),COLOR008800;X5:POLYLINE(CCOST(50),COST(5)),COLOR008800;X7:POLYLINE(CCOST(50),COST(7)),COLOR008800;X9:POLYLINE(CCOST(50),COST(9)),COLOR008800;十:POLYLINE(CCOST(50),COST(10)),POINTDOT,COLOR008800;X11:POLYLINE(CCOST(50),COST(11)),COLOR66CC00;X31:POLYLINE(CCOST(50),COST(13)),COLOR66CC00;X51:POLYLINE(CCOST(50),COST(15)),COLOR66CC00;X71:POLYLINE(CCOST(50),COST(17)),COLOR66CC00;X91:POLYLINE(CCOST(50),COST(19)),COLOR66CC00;二十:POLYLINE(CCOST(50),COST(20)),POINTDOT,COLOR66CC00;X12:POLYLINE(CCOST(50),COST(21)),COLORFF9933;X32:POLYLINE(CCOST(50),COST(23)),COLORFF9933;X52:POLYLINE(CCOST(50),COST(25)),COLORFF9933;X72:POLYLINE(CCOST(50),COST(27)),COLORFF9933;X92:POLYLINE(CCOST(50),COST(29)),COLORFF9933;三十:POLYLINE(CCOST(50),COST(30)),POINTDOT,COLORFF9933;X13:POLYLINE(CCOST(50),COST(31)),COLOR008800;X33:POLYLINE(CCOST(50),COST(33)),COLOR008800;X53:POLYLINE(CCOST(50),COST(35)),COLOR008800;X73:POLYLINE(CCOST(50),COST(37)),COLOR008800;X93:POLYLINE(CCOST(50),COST(39)),COLOR008800;四十:POLYLINE(CCOST(50),COST(40)),POINTDOT,COLOR008800;X14:POLYLINE(C0,COST(41)),COLOR33CC00;X34:POLYLINE(C0,COST(43)),COLOR33CC00;X54:POLYLINE(C0,COST(45)),COLOR33CC00;X74:POLYLINE(C0,COST(47)),COLOR33CC00;X94:POLYLINE(C0,COST(49)),COLOR33CC00;COST(50),COLORYELLOW,CIRCLEDOT;STICKLINE(C=O,C,O,9,1),COLORRED;STICKLINE(C=O,L,O,0.1,0),COLORRED;STICKLINE(C=O,C,H,0.1,0),COLORRED;STICKLINE(CO,C,O,9,0),COLORFFFF00;STICKLINE(CO,H,L,0.1,0),COLORFFFF00;rcc:=DYNAINFO(3);s2:=sma(c,3,1);s6:=sma(c,5,1);dk:=2*(s2-s6);STICKLINE(dk0,rcc,rcc+dk,0,1),COLORRED;STICKLINE(dk0,rcc,rcc+dk,0,1),COLORCYAN;流通盘大小:=FINANCE2(37)/1000000*100;DRAWTEXTABS(2,20,'总股本:'+NUMTOSTR(FINANCE2(35)/10000)+'亿'+'流通股:'+NUMTOSTR(CAPITAL/1000000)+'亿'),COLORGREEN;DRAWTEXTABS(2,35,'上市日期:'+STR(FINANCE2(2))+'日'),COLOR0000FF;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);{DRAWTEXTABS(2,40,'基本面优劣提示:'),COLOR505050;}DRAWTEXTABS(2,50,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORF00FF0;DRAWTEXTABS(2,65,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORGREEN;DRAWTEXTABS(2,80,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),Color1880FF;DRAWTEXTABS(2,95,'每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),COLORYELLOW;DRAWTEXTABS(2,110,'每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),COLORF00FF0;DRAWTEXTABS(2,125,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),COLORGREEN;DRAWTEXTABS(2,140,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),COLOR0000FF;DRAWTEXTABS(2,155,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),COLORYELLOW;{DRAWTEXTABS(2,80,'换手率高低提示:'),COLOR505050;}DRAWTEXTABS(2,5,'所属板块:'+BKNAME),COLORYELLOW;DRAWTEXTREL(380,20,STKLABEL+''+STKNAME+''+DYNAINFO(7)+'元'+''+DYNAINFO(14)*