一、口袋支点定义
口袋支点主图叠加
1、之前设置过口袋支点的把下面代码直接复制到设置MA3中替代原先源码就可以无需修改(钱袋子代表标准口袋支点,k线上方显示的X代表持续口袋支点)
2、如果没有设置过,同时也没有设置过RPS的,首先设置RPS指标,之后再建立MA3指标,加入自己想要的均线
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、后台有不少人留言按照要求新建立了MA3,也把代码复制进去但不显示均线。就把下面代码也同时复制进去,我自己设置了5/10/20/30/50/120共六条均线,也可改成自己习惯的,同时这几条均线如果是向上趋势是变红色
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、如何设置MA3
新建指标Ctrl 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、在欧奈尔体系中,对于一只股票中期调整幅度是作为选股条件之一,如果调整幅度超过60%以上则直接pass,最好的调整幅度是25%-30%,那么也可在主图上显示,股价近期的调整幅度大小(建议直接复制到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、股价创一年新高和十年新高可作为标注(黄色代表十年新高约等于历史新高,浅蓝色小方格代表250天年度新高)
创250新高:=HHV(C,1)=HHV(C,250);
STICKLINE( 创250新高 AND BARSCOUNT(C)>=60,L*0.985 ,L*0.995 ,2 ,0 ),LINETHICK3,COLORCYAN;
创新高:=HHV(C,1)=HHV(C,3000);
STICKLINE( 创新高 AND BARSCOUNT(C)>=60,L*0.985 ,L*0.995 ,2 ,0 ),LINETHICK3,COLORYELLOW;
8、口袋支点标准条件选股公式:
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、口袋支点延伸条件选股公式:
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);
——————————————————————————————
如果各位觉得经过再次改良的口袋支点4.0以及本文有用,就给个“喜欢”
“在看”“赞赏”人数的多少是一种认可和价值的体现
联系客服