一、口袋支點(diǎn)定義 口袋支點(diǎn)主圖疊加 1、之前設(shè)置過(guò)口袋支點(diǎn)的把下面代碼直接復(fù)制到設(shè)置MA3中替代原先源碼就可以無(wú)需修改(錢袋子代表標(biāo)準(zhǔn)口袋支點(diǎn),k線上方顯示的X代表持續(xù)口袋支點(diǎn)) 2、如果沒(méi)有設(shè)置過(guò),同時(shí)也沒(méi)有設(shè)置過(guò)RPS的,首先設(shè)置RPS指標(biāo),之后再建立MA3指標(biāo),加入自己想要的均線 M1:=MA(C,10); M2:=MA(C,50); M3:=MA(C,120); M4:=REF(M3,1); M5:=MA(C,20); M6:=REF(M5,1); M7:=(H+L)/2; M8:=MA(C,200); M9:=REF(M2,1); L250:=LLV(LOW,250); H120:=HHV(HIGH,120); Y:=EXTDATA_USER(3,0)/10;{50天的} Y1:=EXTDATA_USER(1,0)/10;{120天的} Y2:=EXTDATA_USER(2,0)/10;{250天的} X11:=IF(C<REF(C,1),V,0); X12:=(L-MA(C,10))/MA(C,10)*100; X13:=(L-MA(C,50))/MA(C,50)*100; DRAWICON((C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(X11,10),1) AND (X12<=1.5 OR X13<=1.5) AND M5>=M6 AND (M3>=M4 OR M2>=M9) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M8 AND C>M7 AND C>=L250*1.2 AND C>=(H120*0.85) AND (Y>=85 OR Y1>=85 OR Y2>=85),L,9); DRAWICON((C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(X11,10),1) AND X12>1.5 AND M5>=M6 AND (M3>=M4 OR M2>=M9) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M8 AND C>M7 AND C>=L250*1.2 AND C>=(H120*0.85) AND (Y>=85 OR Y1>=85 OR Y2>=85),H*1.02,37); 3、后臺(tái)有不少人留言按照要求新建立了MA3,也把代碼復(fù)制進(jìn)去但不顯示均線。就把下面代碼也同時(shí)復(fù)制進(jìn)去,我自己設(shè)置了5/10/20/30/50/120共六條均線,也可改成自己習(xí)慣的,同時(shí)這幾條均線如果是向上趨勢(shì)是變紅色 MA5:MA(C,5),COLORFF6633,LINETHICK1; MA10:MA(C,10),COLORFFFF00,LINETHICK1; MA20:MA(C,20),COLORFFFFFF ,LINETHICK2; MA30:MA(C,30),COLOR00FF00,LINETHICK1; MA50:MA(C,50),COLORYELLOW,LINETHICK2; MA120:MA(C,120),COLOR66DD66,LINETHICK1; IF(MA(C,5)>=REF(MA(C,5),1),MA(C,5),DRAWNULL),COLORRED,LINETHICK1; IF(MA(C,10)>=REF(MA(C,10),1),MA(C,10),DRAWNULL),COLORRED,LINETHICK1; IF(MA(C,20)>=REF(MA(C,20),1),MA(C,20),DRAWNULL),COLORRED,LINETHICK2; IF(MA(C,30)>=REF(MA(C,30),1),MA(C,30),DRAWNULL),COLORRED,LINETHICK1; IF(MA(C,50)>=REF(MA(C,50),1),MA(C,50),DRAWNULL),COLORRED,LINETHICK2; IF(MA(C,120)>=REF(MA(C,120),1),MA(C,120),DRAWNULL),COLORRED,LINETHICK1; 4、如何設(shè)置MA3 新建指標(biāo)Ctrl+F鍵,選擇其他類型,點(diǎn)擊右上角新建,把源碼復(fù)制到MA3中即可 偏10%:(C-MA(C,10))/MA(C,10)*100,NODRAW; 偏20%:(C-MA(C,20))/MA(C,20)*100,NODRAW; 偏50%:(C-MA(C,50))/MA(C,50)*100,NODRAW; 偏200%:(C-MA(C,200))/MA(C,200)*100,NODRAW; 6、在歐奈爾體系中,對(duì)于一只股票中期調(diào)整幅度是作為選股條件之一,如果調(diào)整幅度超過(guò)60%以上則直接pass,最好的調(diào)整幅度是25%-30%,那么也可在主圖上顯示,股價(jià)近期的調(diào)整幅度大小(建議直接復(fù)制到MA3中) B11:=CONST(HHV(H,150));B12:=HHVBARS(H,150)+1;B13:=CONST(LLV(LOW,B12));B4:=B13/B11; B15:=B4*100-100;最大回撤幅度:B15,NODRAW;IF(B15<=-30,B15,DRAWNULL),NODRAW,COLORRED; 7、股價(jià)創(chuàng)一年新高和十年新高可作為標(biāo)注(黃色代表十年新高約等于歷史新高,淺藍(lán)色小方格代表250天年度新高) 創(chuàng)250新高:=HHV(C,1)=HHV(C,250); STICKLINE( 創(chuàng)250新高 AND BARSCOUNT(C)>=60,L*0.985 ,L*0.995 ,2 ,0 ),LINETHICK3,COLORCYAN; 創(chuàng)新高:=HHV(C,1)=HHV(C,3000); STICKLINE( 創(chuàng)新高 AND BARSCOUNT(C)>=60,L*0.985 ,L*0.995 ,2 ,0 ),LINETHICK3,COLORYELLOW; 8、口袋支點(diǎn)標(biāo)準(zhǔn)條件選股公式: M1:=MA(C,10); M2:=MA(C,50); M3:=MA(C,120); M4:=REF(M3,1); M5:=MA(C,20); M6:=REF(M5,1); M7:=(H+L)/2; M8:=MA(C,200); M9:=REF(M2,1); L250:=LLV(LOW,250); H120:=HHV(HIGH,120); Y11:=EXTDATA_USER(3,0)/10;{50天的} Y12:=EXTDATA_USER(1,0)/10;{120天的} Y13:=EXTDATA_USER(2,0)/10;{250天的} X:=IF(C<REF(C,1),V,0); X2:=(L-MA(C,10))/MA(C,10)*100; X3:=(L-MA(C,50))/MA(C,50)*100; (C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(X,10),1) AND (X2<1.5 OR X3<1.5) AND M5>=M6 AND (M3>=M4 OR M2>=M9) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M8 AND C>M7 AND C>=L250*1.2 AND C>=(H120*0.85) AND (Y11>=85 OR Y12>=85 OR Y13>=85); 9、口袋支點(diǎn)延伸條件選股公式: M1:=MA(C,10); M2:=MA(C,50); M3:=MA(C,120); M4:=REF(M3,1); M5:=MA(C,20); M6:=REF(M5,1); M7:=(H+L)/2; M8:=MA(C,200); M9:=REF(M2,1); L250:=LLV(LOW,250); H120:=HHV(HIGH,120); Y11:=EXTDATA_USER(3,0)/10;{50天的} Y12:=EXTDATA_USER(1,0)/10;{120天的} Y13:=EXTDATA_USER(2,0)/10;{250天的} X:=IF(C<REF(C,1),V,0); X2:=(L-MA(C,10))/MA(C,10)*100; X3:=(L-MA(C,50))/MA(C,50)*100; (C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(X,10),1) AND X2>1.5 AND M5>=M6 AND (M3>=M4 OR M2>=M9) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M8 AND C>M7 AND C>=L250*1.2 AND C>=(H120*0.85) AND (Y11>=85 OR Y12>=85 OR Y13>=85); M1:=MA(C,10); M2:=MA(C,50); M3:=MA(C,120); M4:=REF(M3,1); M5:=MA(C,20); M6:=REF(M5,1); M7:=(H+L)/2; M8:=MA(C,200); M9:=REF(M2,1); L250:=LLV(LOW,250); H120:=HHV(HIGH,120); X11:=IF(C<REF(C,1),V,0); X2:=(L-MA(C,10))/MA(C,10)*100; X3:=(L-MA(C,50))/MA(C,50)*100; (C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=0.6*REF(HHV(X11,10),1) AND (X2<1.5 OR X3<1.5) AND M5>=M6 AND (M3>=M4 OR M2>=M9) AND C>M5 AND C>M1 AND C>M2 AND C>M3 AND C>M8 AND C>M7 AND C>=L250*1.2 AND C>=(H120*0.85); —————————————————————————————— 如果各位覺(jué)得經(jīng)過(guò)再次改良的口袋支點(diǎn)4.0以及本文有用,就給個(gè)“喜歡” “在看”“贊賞”人數(shù)的多少是一種認(rèn)可和價(jià)值的體現(xiàn) |
|
來(lái)自: A沙宇 > 《口袋支點(diǎn)》