最强选股战法推荐:
大智慧布林线升级版主图未加密选股指标公式源码
源码正文:
DRAWGBK(c>=0),Color2B5516;平衡:ema(C,20),CIRCLEDOT,COLORwhite{XG51};
上轨:平衡 + 2*stD(C,20),LINETHICK2,COLORFF00FF{XG51};
下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00ff00{XG51};
STICKLINE((CLOSE >平衡),平衡,平衡,1,0),LINETHICK6,color0000ff{XG51};
STICKLINE((平衡 > CLOSE),平衡,平衡,1,0),LINETHICK6,colorff6600{XG51};
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF{XG51};
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00{XG51};
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00{XG51};
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd{XG51};
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff{XG51};
var9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2){XG51};
stickline(var9Q,c,(o+c)/2,7,0),color000055{XG51};
stickline(var9Q,c,(o+c)/2,6,0),color000066{XG51};
stickline(var9Q,c,(o+c)/2,5,0),color000077{XG51};
stickline(var9Q,c,(o+c)/2,4,0),color000099{XG51};
stickline(var9Q,c,(o+c)/2,3,0),color0000bb{XG51};
stickline(var9Q,c,(o+c)/2,2,0),color0000dd{XG51};
stickline(var9Q,c,(o+c)/2,1,0),color0000ff{XG51};
varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4){XG51};
stickline(varaQ,c,(o+c)/2,7,0),colorff11ff{XG51};
stickline(varaQ,c,(o+c)/2,6,0),colorff33ff{XG51};
stickline(varaQ,c,(o+c)/2,5,0),colorff55ff{XG51};
stickline(varaQ,c,(o+c)/2,4,0),colorff77ff{XG51};
stickline(varaQ,c,(o+c)/2,3,0),colorff99ff{XG51};
stickline(varaQ,c,(o+c)/2,2,0),colorffbbff{XG51};
stickline(varaQ,c,(o+c)/2,1,0),colorffddff{XG51};
varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2){XG51};
stickline(varbQ,c,(o+c)/2,7,0),color333333{XG51};
stickline(varbQ,c,(o+c)/2,6,0),color555555{XG51};
stickline(varbQ,c,(o+c)/2,5,0),color777777{XG51};
stickline(varbQ,c,(o+c)/2,4,0),color999999{XG51};
stickline(varbQ,c,(o+c)/2,3,0),colorbbbbbb{XG51};
stickline(varbQ,c,(o+c)/2,2,0),colordddddd{XG51};
stickline(varbQ,c,(o+c)/2,1,0),colorffffff{XG51};
varcQ:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1){XG51};
stickline(varcQ,o,(o+c)/2,7,0),color003300{XG51};
stickline(varcQ,o,(o+c)/2,6,0),color005500{XG51};
stickline(varcQ,o,(o+c)/2,5,0),color007700{XG51};
stickline(varcQ,o,(o+c)/2,4,0),color009900{XG51};
stickline(varcQ,o,(o+c)/2,3,0),color00bb00{XG51};
stickline(varcQ,o,(o+c)/2,2,0),color00dd00{XG51};
stickline(varcQ,o,(o+c)/2,1,0),color00ff00{XG51};
vardQ:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1){XG51};
stickline(vardQ,o,(o+c)/2,7,0),colorff1100{XG51};
stickline(vardQ,o,(o+c)/2,6,0),colorff3300{XG51};
stickline(vardQ,o,(o+c)/2,5,0),colorff5500{XG51};
stickline(vardQ,o,(o+c)/2,4,0),colorff7700{XG51};
stickline(vardQ,o,(o+c)/2,3,0),colorff9900{XG51};
stickline(vardQ,o,(o+c)/2,2,0),colorffbb00{XG51};
stickline(vardQ,o,(o+c)/2,1,0),colorffdd00{XG51};
Y1:=REF(Ema(dma((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1){XG51};
DRAWtext(crOSS(CLOSE,Y1),LOW,'[买进]'),ColorYELLOW{XG51};
STICKLINE(CROSS(Y1,CLOSE),h*1.05,h,1,0),COLORwhite{XG51};
DRAWtext(CROSS(Y1,CLOSE),HIGH*1.05,'[卖出]'),colorwhite{XG51};
VAR1w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))){XG51};
VAR2w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))){XG51};
VAR3w:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)){XG51};
DRAWTEXT(CROSS(VAR2w,MA(VAR3w,6)),LOW -0.6,'(买)'),colorFF99FF{XG51};
DRAWTEXT(CROSS(MA(VAR3w,6),VAR1w),HIGH +0.9,'(卖)'),colorccFF13{XG51};
Var3p:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0){XG51};
STICKLINE(Var3p>90,L,L*0.92,1,0),COLORff00ff{XG51};
DRAWTEXT(Var3p>90,LOW*0.92,'追涨'),COLORFF00FF{XG51};
Ss:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2){XG51};
SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O{XG51};
MR:=SC AND COUNT(Ss,2){XG51};
买:=MR AND NOT(REF(MR,1)){XG51};
STICKLINE(买,L,L*0.95,1,0),COLORred{XG51};
DRAWTEXT(买,L*0.95, '必涨'),COLORred{XG51};
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1){XG51};
STICKLINE(CROSS(78.89,多方),h+1.5,h,1,0),COLOR00FF00{XG51};
DRAWTEXT(CROSS(78.89,多方),H+1.5,'(逃顶)'),COLOR00FF00{XG51};
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1){XG51};
A2:=(EMA(A1,5)-REF(EMA(A1,5),1))/REF(EMA(A1,5),1)*1{XG51};
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1{XG51};
DRAWTEXT(CROSS(A1,EMA(A1,5))AND EMA(A1,5)<A5,l*0.98,'(黑马)'),COLORyellow{XG51};
Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1{XG51};
Var2:=SMA(Var1,3,1)*100{XG51};
趋势线:=SMA((SMA(Var2,3,1)*var1),3,1)*1{XG51};
Var9:=CROSS(趋势线,(SMA(Var2,3,1)*var1)) AND (SMA(Var2,3,1)*var1)>8{XG51};
DRAWTEXT(Var9 AND COUNT(Var9,1)=1,h+0.6,'逃'), linethick2,COLORBLUE{XG51};
DRAWICON(FILTER(CROSS(-"W&R.wr1"(14,14),(0 - 81)),10),L-0.2,1){XG51};
DRAWICON(FILTER(CROSS((0 -19),-"W&R.wr1"(14,14)),10),H,2){XG51};
DRAWTEXTREL(150,30,'指示:红持股 粉变盘 绿买进 蓝抛出 灰下跌'),COLORred{X+G~5+1+C+N+{};
大智慧胜过MACD未加密选股指标公式源码
源码正文:
SQX:=(C-ma(CLOSE,13))*100{XG51};
difF:ema(MA(SQX,7),1),COLORRED{XG51};
DEA:EMA(DIFF,7),COLORBLUE{XG51};
macd:(DIFF-DEA)*2,COLORstICK{XG51};
PARTLINE(15,crOSS(DIFF,DEA) AND DIFF<-0.1),COLORBLUE,LINETHICK4,CROSSDOT{XG51};
低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,0),COLORBLUE,LINETHICK0{XG51};
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0)){XG51};
PARTLINE(28,CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1),COLORFF00FF,LINETHICK4,CROSSDOT{XG51};
二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,0),COLORFF00FF,LINETHICK0{XG51};
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)){XG51};
PARTLINE(40,REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA)),COLORWHITE,LINETHICK4,CROSSDOT{XG51};
底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,0),COLORWHITE,LINETHICK0{XG51};
势: DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORCYAN{XG51};
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)){XG51};
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF){XG51};
PARTLINE(66,REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF)),COLORF08000,LINETHICK4,CROSSDOT{XG51};
顶背离_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),66,0),COLORF08000,LINETHICK0{XG51};
压: DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFBB99{XG51};
A3:=CROSS(DIFF,DEA) AND DEA<0{XG51};
PARTLINE(53,FILTER(COUNT(A3,21)=2,10)),COLORRED,LINETHICK4,CROSSDOT{XG51};
零下二次金叉_:IF(FILTER(COUNT(A3,21)=2,10),53,0),COLORRED,LINETHICK0{XG51};
DRAWICON(CROSS(DIFF,DEA) ,DIFF,7),LAYER0,ALIGN1{XG51};
DRAWICON(CROSS(DEA,DIFF) , DEA,8),LAYER0,ALIGN1{XG51};
金叉:if(CROSS(DIFF,DEA),diff,0),color00ff00,stick,linethick1{XG51};
死叉:if(CROSS(DEA,DIFF),diff,0),colorff0099,stick,linethick1{X=G+5_1=C=N={};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7