最强选股战法推荐:
源码正文:
VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) -
LLV(LOW,15)))*(100){XG51};
DRAWTEXTAbs(5,5,'选股无忧网 www.xg51.cn'),linethick1,COLOR00EEff{XG51};
VAR2:=REVERSE(VAR1);VAR3:=SMA(VAR1,5,1);K:=Sma(VAR3,3,1);D:=SMA(K,3,1){XG51};
DRAWTEXT(crOSS(K,D)
AND (D < 18),15,'买'),COLOR0000FF{XG51};
DRAWTEXT(CROSS(D,K) AND (D >
75),85,'卖'),COLOR00FF00{XG51};
stICKLINE((K >=
D),K,D,6,0),COLOR0000A8;STICKLINE((K >=
D),K,D,5,0),COLOR0000C0{XG51};
STICKLINE((K >=
D),K,D,4,0),COLOR0000E0;STICKLINE((K >=
D),K,D,3,0),COLOR0000F0{XG51};
STICKLINE((K >=
D),K,D,2,0),COLOR0000D0;STICKLINE((K >=
D),K,D,1,0),COLOR8080FF{XG51};
STICKLINE((K <=
D),K,D,6,0),COLOR008800;STICKLINE((K <=
D),K,D,5,0),COLOR009900{XG51};
STICKLINE((K <=
D),K,D,4,0),COLOR00AA00;STICKLINE((K <=
D),K,D,3,0),COLOR00BB00{XG51};
STICKLINE((K <=
D),K,D,2,0),COLOR00CC00;STICKLINE((K <= D),K,D,1,0),COLOR00DD00{X~G~5?1~C~N~{};
源码正文:
ema13:ema(c,13),Color0000FF,linethick2{XG51};
ema34:ema(c,34),coloryellow{XG51};
ema55:ema(c,55),colorff00ff{XG51};
ema120:ema(c,120),colorffcc66{XG51};
ar1:=ema55>ema34 and ema34>ema13{XG51};
ar2:=BArslAst((c-ema13)/ema13*100<-6){XG51};
ar3:=ema13>=ref(ema13,2){XG51};
ar4:=count(cross(c,ema13),ar2)=1{XG51};
ar5:=ar1 and ar2 and ar3 and ar4{XG51};
ar6:=ar5 and filter(ar5,10){XG51};
drawtext(ar6,l-0.09,'启动'),coloryellow{XG51};
stickline(ar6,h,l,0.5,1),coloryellow{XG51};
stickline(ar6,o,c,6,1),linethick2,coloryellow{XG51};
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5{XG51};
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2{XG51};
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref(c,5)<ref(ema55,5)){XG51};
br4:=br1 and br2 and br3{XG51};
drawtext(br4 and filter(br4,10),l-0.09,'上升'),color00C5FF{XG51};
stickline(br4 and filter(br4,10),h,l,0.5,1),color00C5FF{XG51};
stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00C5FF{XG51};
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5{XG51};
cr2:=v>ma(v,5)*0.6{XG51};
cr3:=count(cross(ema13,ema55),3)=1{XG51};
cr4:=abs(ema34-ema55)/ema55<0.03{XG51};
cr5:=ema55<=ema120 and ema55>=ref(ema55,1){XG51};
cr6:=FILTER(cr1 and cr2 and cr3 and cr4 and cr5,2){XG51};
stickline(cr6,h,l,0.5,1),colorf00ff0{XG51};
stickline(cr6,o,c,6,1),linethick2,colorf00ff0{XG51};
drawtext(cr6,l-0.09,'涨升'),colorf00ff0{XG51};
dr1:=ema13>ema34 and ema34<ema55{XG51};
dr2:=BARSLAST(cross(c,ema55) ){XG51};
dr3:=h=hhv(h,dr2){XG51};
dr4:=BARSLAST(dr3){XG51};
DRAWTEXTABS(5,5,'选股无忧网 www.xg51.cn'),linethick1,COLOR00EEff{XG51};
dr5:=count(o>c and c<ref(c,1) and c>ema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1{XG51};
dr6:=c>ref(c,1) {XG51};
dr7:= dr1 and dr5 and dr6 {XG51};
dr8:=dr7 and FILTER(dr7 ,10){XG51};
drawtext(dr8,l-0.09,'出击'),colord6ba63{XG51};
stickline(dr8,h,l,0.5,1),colord6ba63{XG51};
stickline(dr8,o,c,6,1),linethick2,colord6ba63{XG51};
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55){XG51};
DRAWTEXT(er,l-0.09,'金叉'),color0099ff{XG51};
stickline(er,h,l,0.5,1),color0099ff{XG51};
stickline(er,o,c,6,1),linethick2,color0099ff{XG51};
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34){XG51};
DRAWTEXT(fr,l-0.09,'加仓'),colorwhite{XG51};
stickline(fr,h,l,0.5,1),colorwhite{XG51};
stickline(fr,o,c,6,1),linethick2,colorwhite{XG51};
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) ){XG51};
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1){XG51};
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1){XG51};
gr4:=h=hhv(h,gr1){XG51};
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1){XG51};
gr6:=gr2 and gr3 and gr4{XG51};
gr7:=gr2 and gr3 and gr4 and gr5{XG51};
drawtext(gr6 and gr7,h+0.13,'了结'),color00ff00{XG51};
stickline(gr6 and gr7,h,h+0.09,4,0),color00ff00{XG51};
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55){XG51};
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'推进'),colorFFC8FF{XG51};
stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF{XG51};
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,colorFFC8FF{X-G^5.1-C-N-{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7