把這個(gè)指標(biāo)和其他指標(biāo)結(jié)合起來后,,組合指標(biāo)一下子就閃耀起來,原來沒有買點(diǎn)的地方,,出現(xiàn)了可以考慮的買點(diǎn),,特別是我把的優(yōu)選布林,,優(yōu)選起飛和拐點(diǎn)選股進(jìn)行了突出,,使原來的指標(biāo)散發(fā)青春??!哈哈。 這是本人最喜歡的指標(biāo),,已經(jīng)在實(shí)戰(zhàn)戰(zhàn)斗過了,! 讓我一直在這里向你們學(xué)習(xí),信心,! 一品買點(diǎn): {n;1,10,30,} {n2:5,15,10} {p10:1,30,3} {n10:1,30,10} qw:1.1,pointdot,colorwhite; up:=( c > o or c > ref(c,1)) and v > ref(v,1); aa:=count(up,3)=3; bb:=llv(l,5)=llv(l,120); cc:=c > ma(c,3); llt:=aa and bb and cc; v1:=llv(low,10); v2:=hhv(h,25); sq:3.5,colorff937f; zq:ema((c-v1)/(v2-v1)*4,4),linestick,color808000; m5:=ma(zq,5); drawtext(cross(zq,qw),qw,'買'),coloryellow; var2:=if(ema(close,5)/ema(ema(close,9),16)<=0.85 and close/ref(close,1)>0.905 and close/ref(close,1)<1.05 and vol/capital*100<5,50,0); var3:=(-100)*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34))+100; var4:=(-100)*(hhv(high,50)-close)/(hhv(high,50)-llv(low,50))+100; var5:=(-100)*(hhv(high,70)-close)/(hhv(high,70)-llv(low,70))+100; var6:=((close-ma(close,34))/ma(close,34)*100+10)*5; var7:=((close-ma(close,50))/ma(close,50)*100+10)*5; var8:=((close-ma(close,70))/ma(close,70)*100+10)*5; var9:=(var3+var4+var5+var6+var7+var8)/6; vara:=ema(var9,3); varb:=abs(var6-var8); varc:=(var9+varb)/2; vard:=(-1)*(ema(100*(1-winner(close)),1)-50)+50; vare:=vard+varc; varf:=if(var2>0 and vare<0,200,0); var10:=if(varc<0 and close=llv(close,5) and close/ref(close,1)>0.905 and close/ref(close,1)<1.05 and vol/capital*100<5,-50,0); var11:=if(vare<0 and var10=-50,100,0); var12:=ma(close,3); var13:=ref(close,2)*0.865; var14:=ref(close,13)*0.772; var15:=min(var13,var14); var16:=100*vol/capital; var17:=ma(close,13); var18:=if((close-var15)/close<0.03 and sum(var16,5)/5<1.8,1,0); var19:=if(var18>0 and (var10<0 or var2>0),100,0); var1a:=var19; var1b:=if(varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902 or (varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0) and var19<10,50,0); var1c:=(varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0); var1d:=varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902; bias1:=(close-ma(close,6))/ma(close,6)*100; bias2:=(close-ma(close,12))/ma(close,12)*100; bias3:=(close-ma(close,24))/ma(close,24)*100; bias:=(bias1+2*bias2+3*bias3)/6; 乖離:=ma(bias,3); 抄底:if(乖離<-12 and 乖離>=-18,-4,0), colorblue,linethick1; stickline(乖離<-12 and 乖離>=-18,2,0,6,0) , colorblue; 抄底二:if(乖離<-18,3,0),colorff35ff,linethick1; stickline(乖離<-18,3,0,6,0),colorff35ff; 抄底三:if(乖離<-6,5,0),colorred,linethick1; stickline(乖離<-6,5,3,2,1),colorred; 抄底四:if(乖離<-4.5,0,0),color00ffff,linethick1; stickline(乖離<-4.5,0,1,3,1),color00ffff; var21:=dma(close,vol/ma(vol,4)/4); var22:=dma(close,vol/ma(vol,31)/31); var23:=(close-var21)/var21*100<-10; var24:=(var21-var22)/var22*100<-16; var25:=(close-ma(close,50))/ma(close,50)*100<-23; var26:=sma(max(close-ref(close,1),0),3,1)/sma(abs(close-ref(close,1)),3,1)*100>16; var27:=100*(hhv(high,27)-close)/(hhv(high,27)-llv(low,27)); var28:=indexc; var29:=ma(var28,6); vara1:=ma(var28,24); varb1:=ma(var28,32); varc1:=varb1>var29*1.11 and vara1>var29*1.095; sss:=(var23 and var24 and (open-ref(close,1))/ref(close,1)>-0.07 or var25 and var26 and cross(var27,79) or varc1 and close/cost(8)<=0.8)*100; 抄底王:sss>0,colorwhite,linethick1; stickline(sss>0,0,6,6,0),colorwhite; ma5:=ma(c,5); ma10:=ma(c,10); ma20:=ma(c,20); ma30:=ma(c,30); ma60:=ma(c,60); ma120:=ma(c,120); 短線多頭:=ma5>ma10 and ma10>ma20 and ma20>ma30; 中線多頭:=ma30>ma120 and ma60>ma120; 均線粘合:=(hhv(ma5,hhv(ma10,ma20))/llv(ma5,llv(ma10,ma20))-1)*5<=n; 均線拐點(diǎn):=count(短線多頭,10) and count(ma5<ref(ma5,1),3) and ma5>ref(ma5,1); xg:=中線多頭 and 均線粘合 and 均線拐點(diǎn) and c>ref(c,1); 拐點(diǎn)選股:xg and not(ref(xg,1)),coloryellow,linethick2; 均線粘合2:=(max(ma5,max(ma10,ma20))/min(ma5,min(ma10,ma20))-1)*100<=n; xg2:=中線多頭 and 均線粘合2 and 均線拐點(diǎn) and c>ref(c,1); 選股2:=(xg2 and not(ref(xg2,1)))*0.5,colorwhite,linethick2; ma90:=ma(close,90); ma250:=ma(close,250); dtpl:=ma10>ma30 and ma30>ref(ma30,1); dg:=max(max(ma5,ma10),max(ma20,ma30)); zg:=max(max(dg,ma60),max(ma90,ma120)); dd:=min(min(ma5,ma10),min(ma20,ma30)); zd:=min(min(dd,ma60),min(ma90,ma120)); 粘合:=(zg/zd-1)*100<n2,pointdot,linethick0; 高粘:=(zg/zd-1)*100<n2 and zd>ma250,pointdot,linethick0; 穿5:=(粘合 and cross(c,ma5))*0.5,color000000; 穿10:=(粘合 and cross(c,ma10))*1,color000000; 穿20:=(粘合 and cross(c,ma20))*2,color000000; 穿30:=(粘合 and cross(c,ma30))*3,color000000; flsz:=(c/ref(c,1)-1)*100>=2 and v>ref(v,1); dxtp:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2; 優(yōu)飛:=(flsz and dxtp and ma30>ref(ma30,1))*3,color00ffff,linethick2; 選優(yōu):=(flsz and dxtp and ma30>ref(ma30,1) and count(高粘,20)>=15)*3,color0000ff,linethick2; jxdt:=ma5>ma10 and ma10>ma20 and ma20>ma30; 起飛:(not(粘合) and ref(粘合,1) and count(粘合,20)>=15 and dtpl)*3,colorff00ff,linethick2; {以下設(shè)置副圖顯示方式} drawtext(優(yōu)飛,3,'優(yōu)飛'),color00ffff; drawtext(起飛,3,'起飛'),color00ffff; bbi:=((((ma(close,3) + ma(close,6)) + ma(close,12)) + ma(close,24)) / 4); upr:=(bbi + (p10 * std(bbi,n10))); dwn:=(bbi - (p10 * std(bbi,n10))); blk:=((llv((upr - dwn),2) = llv((upr - dwn),10)) and ((upr / dwn) <= 1.05)); 布林口:=(blk * 0.3),colorff00ff; kx1:=((((low < dwn) or (low < bbi)) and cross(high,upr)) * 0.5); kx2:=((count(((abs((close - open)) / open) <= 0.015),3) = 3) * 0.2),pointdot,linethick0,colorff6600; kxzh:=((kx1 = 0.5) or (kx2 = 0.2)); p:=26; s:=12; m:=9; diff:=(ema(close,s) - ema(close,p)); dea:=ema(diff,m); macd:=(2 * (diff - dea)); macd0:=(((abs(macd) <= 0.1) and (diff > dea)) * 0.2),pointdot,linethick3,colorffff00; 優(yōu)布:(blk and kxzh)*3,linethick2,colorblue; 布林:((blk and kxzh) and (macd0 = 0.2))*3,linethick2,colorffff00; drawtext(布林,3,'布林'),colorff00ff; drawtext(優(yōu)布,3,'優(yōu)布'),colorred; ===================================================================== 一品買點(diǎn) qw:1.1,pointdot,colorwhite; up:=( c > o or c > ref(c,1)) and v > ref(v,1); aa:=count(up,3)=3; bb:=llv(l,5)=llv(l,120); cc:=c > ma(c,3); llt:=aa and bb and cc; v1:=llv(low,10); v2:=hhv(h,25); sq:3.5,colorff937f; zq:ema((c-v1)/(v2-v1)*4,4),linestick,color808000; m5:=ma(zq,5); drawtext(cross(zq,qw),qw,'買'),coloryellow; var2:=if(ema(close,5)/ema(ema(close,9),16)<=0.85 and close/ref(close,1)>0.905 and close/ref(close,1)<1.05 and vol/capital*100<5,50,0); var3:=(-100)*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34))+100; var4:=(-100)*(hhv(high,50)-close)/(hhv(high,50)-llv(low,50))+100; var5:=(-100)*(hhv(high,70)-close)/(hhv(high,70)-llv(low,70))+100; var6:=((close-ma(close,34))/ma(close,34)*100+10)*5; var7:=((close-ma(close,50))/ma(close,50)*100+10)*5; var8:=((close-ma(close,70))/ma(close,70)*100+10)*5; var9:=(var3+var4+var5+var6+var7+var8)/6; vara:=ema(var9,3); varb:=abs(var6-var8); varc:=(var9+varb)/2; vard:=(-1)*(ema(100*(1-winner(close)),1)-50)+50; vare:=vard+varc; varf:=if(var2>0 and vare<0,200,0); var10:=if(varc<0 and close=llv(close,5) and close/ref(close,1)>0.905 and close/ref(close,1)<1.05 and vol/capital*100<5,-50,0); var11:=if(vare<0 and var10=-50,100,0); var12:=ma(close,3); var13:=ref(close,2)*0.865; var14:=ref(close,13)*0.772; var15:=min(var13,var14); var16:=100*vol/capital; var17:=ma(close,13); var18:=if((close-var15)/close<0.03 and sum(var16,5)/5<1.8,1,0); var19:=if(var18>0 and (var10<0 or var2>0),100,0); var1a:=var19; var1b:=if(varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902 or (varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0) and var19<10,50,0); var1c:=(varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0); var1d:=varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902; bias1:=(close-ma(close,6))/ma(close,6)*100; bias2:=(close-ma(close,12))/ma(close,12)*100; bias3:=(close-ma(close,24))/ma(close,24)*100; bias:=(bias1+2*bias2+3*bias3)/6; 乖離:=ma(bias,3); 抄底:if(乖離<-12 and 乖離>=-18,-4,0), colorb,linethick1; stickline(乖離<-12 and 乖離>=-18,2,0,6,0) , colorb; 抄底二:if(乖離<-18,3,0),colorff35ff,linethick1; stickline(乖離<-18,3,0,6,0),colorff35ff; 抄底三:if(乖離<-6,5,0),colorrd,linethick1; stickline(乖離<-6,5,3,2,1),colorred; 抄底四:if(乖離<-4.5,0,0),color00f,linethick1; stickline(乖離<-4.5,0,1,3,1),color00ffff; var21:=dma(close,vol/ma(vol,4)/4); var22:=dma(close,vol/ma(vol,31)/31); var23:=(close-var21)/var21*100<-10; var24:=(var21-var22)/var22*100<-16; var25:=(close-ma(close,50))/ma(close,50)*100<-23; var26:=sma(max(close-ref(close,1),0),3,1)/sma(abs(close-ref(close,1)),3,1)*100>16; var27:=100*(hhv(high,27)-close)/(hhv(high,27)-llv(low,27)); var28:=indexc; var29:=ma(var28,6); vara1:=ma(var28,24); varb1:=ma(var28,32); varc1:=varb1>var29*1.11 and vara1>var29*1.095; sss:=(var23 and var24 and (open-ref(close,1))/ref(close,1)>-0.07 or var25 and var26 and cross(var27,79) or varc1 and close/cost(8)<=0.8)*100; 抄底王:sss>0,colorwhite,linethick1; stickline(sss>0,0,6,6,0),colorwhite; ma5:=ma(c,5); ma10:=ma(c,10); ma20:=ma(c,20); ma30:=ma(c,30); ma60:=ma(c,60); ma120:=ma(c,120); 短線多頭:=ma5>ma10 and ma10>ma20 and ma20>ma30; 中線多頭:=ma30>ma120 and ma60>ma120; 均線粘合:=(hhv(ma5,hhv(ma10,ma20))/llv(ma5,llv(ma10,ma20))-1)*5<=n; 均線拐點(diǎn):=count(短線多頭,10) and count(ma5<ref(ma5,1),3) and ma5>ref(ma5,1); xg:=中線多頭 and 均線粘合 and 均線拐點(diǎn) and c>ref(c,1); 拐點(diǎn)選股:xg and not(ref(xg,1)),coloryellow,linethick2; 均線粘合2:=(max(ma5,max(ma10,ma20))/min(ma5,min(ma10,ma20))-1)*100<=n; xg2:=中線多頭 and 均線粘合2 and 均線拐點(diǎn) and c>ref(c,1); 選股2:=(xg2 and not(ref(xg2,1)))*0.5,colorwh,linethick2; ma90:=ma(close,90); ma250:=ma(close,250); dtpl:=ma10>ma30 and ma30>ref(ma30,1); dg:=max(max(ma5,ma10),max(ma20,ma30)); zg:=max(max(dg,ma60),max(ma90,ma120)); dd:=min(min(ma5,ma10),min(ma20,ma30)); zd:=min(min(dd,ma60),min(ma90,ma120)); 粘合:=(zg/zd-1)*100<n2,pointdot,linethick0; 高粘:=(zg/zd-1)*100<n2 and zd>ma250,pointdot,linethick0; 穿5:=(粘合 and cross(c,ma5))*0.5,color000000; 穿10:=(粘合 and cross(c,ma10))*1,color000000; 穿20:=(粘合 and cross(c,ma20))*2,color000000; 穿30:=(粘合 and cross(c,ma30))*3,color000000; flsz:=(c/ref(c,1)-1)*100>=2 and v>ref(v,1); dxtp:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2; 優(yōu)飛:=(flsz and dxtp and ma30>ref(ma30,1))*3,color00ffff,linethick2; 選優(yōu):=(flsz and dxtp and ma30>ref(ma30,1) and count(高粘,200)>=15)*3,color0000ff,linethick2; jxdt:=ma5>ma10 and ma10>ma20 and ma200>ma30; 起飛:(not(粘合) and ref(粘合,1) and count(粘合,200)>=15 and dtpl)*3,colorff00ff,linethick2; |
|