缩量长阳底必抓 勇闯金山收益高【指标公式】(含选股)
原创 股旁网 股旁网 1周前
(未来函数检测结果: 包含未来函数:WINNER
包含未来函数:FINANCE)
盘:=CAPITAL/1000000,LINETHICK0,COLORFF9933;
益:=FINANCE(33),LINETHICK0,COLORFF9933;
资:=FINANCE(34),LINETHICK0,COLORFF9933;
换手率:=VOL/CAPITAL;
长阳:=(WINNER(C)-WINNER(O))>=0.15 AND 换手率<=0.04;
缩量长阳:IF(长阳,(WINNER(C)-WINNER(O))*100,0),STICK,COLOR0066FF,LINETHICK2;
GU1:=(C-REF(C,1))/REF(C,1);
GU2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
个股:=EMA(SUM(GU1,20),5);
大盘:=EMA(SUM(GU2,20),5);
领先:=(个股-大盘)>=0;
GU3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
GU4:=SMA(GU3,72,1);
GU5:=SMA(GU4,34,1);
中趋势:=3*GU4-2*GU5;
中趋势升:=(中趋势-REF(中趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
领先大盘:IF(均五升 AND 均十升 AND 中趋势升 AND 领先,4,0),COLORFF66FF,LINETHICK1;
GU6:=(2*C+H+L)/4;
GU7:=LLV(L,27);
GU8:=HHV(H,27);
爬升:EMA((GU6-GU7)/(GU8-GU7)*100,13)-50,COLOR0000FF;
金山:EMA(0.618*REF(爬升,1)+0.382*爬升,3),COLORFFFF00;
中线升:DRAWICON(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升,金山-5,1);
选手:=IF(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升 AND 金山<0,1,0);
开爬:IF(选手=1 AND COUNT(选手=1,5)=1,8,0),COLOR0000FF;
DRAWTEXT(开爬=8,金山-5,'←启动'),COLOR0000FF;
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
准备:STICKLINE(乖离<-6 AND 乖离>=-12,-3,0,5,1),COLOR99FFCC;
抄底一:=IF(乖离<-12 AND 乖离>=-18,-6,0);
STICKLINE(乖离<-12 AND 乖离>=-18,-12,0,5,0) ,COLOR9966FF;
DRAWTEXT(FILTER(乖离<-12 AND 乖离>=-18,9),-6,' ←乖离>=-12'),COLOR66FF00;
抄底二:=IF(乖离<-18,-18,0);
STICKLINE(乖离<-18,-18,0,3 ,0) ,COLOR0099FF;
DRAWTEXT(FILTER(乖离<-18,5),-15,'←乖离<=-18'),COLORFF9900;
底必抓:=IF(开爬=8 AND COUNT(乖离<-12,10)>=1,10,0);
DRAWTEXT(底必抓=10,10,'←底必抓'),COLORFFFFFF;
STICKLINE(底必抓=10,10,0,5,0),COLORFFFFFF;
{选股公式一:底必抓}
GU3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
GU4:=SMA(GU3,72,1);
GU5:=SMA(GU4,34,1);
中趋势:=3*GU4-2*GU5;
中趋势升:=(中趋势-REF(中趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
GU6:=(2*C+H+L)/4;
GU7:=LLV(L,27);
GU8:=HHV(H,27);
爬升:=EMA((GU6-GU7)/(GU8-GU7)*100,13)-50;
金山:=EMA(0.618*REF(爬升,1)+0.382*爬升,3);
中线升:=DRAWICON(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升,金山-5,1);
选手:=IF(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升 AND 金山<0,1,0);
开爬:=IF(选手=1 AND COUNT(选手=1,5)=1,8,0);
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
底必抓:=IF(开爬=8 AND COUNT(乖离<-12,10)>=1,10,0);
底必抓XG:底必抓=10;
{选股公式二:启动}
GU3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
GU4:=SMA(GU3,72,1);
GU5:=SMA(GU4,34,1);
中趋势:=3*GU4-2*GU5;
中趋势升:=(中趋势-REF(中趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
GU6:=(2*C+H+L)/4;
GU7:=LLV(L,27);
GU8:=HHV(H,27);
爬升:=EMA((GU6-GU7)/(GU8-GU7)*100,13)-50;
金山:=EMA(0.618*REF(爬升,1)+0.382*爬升,3);
中线升:=DRAWICON(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升,金山-5,1);
选手:=IF(爬升>=金山 AND 均五升 AND 均十升 AND 中趋势升 AND 金山<0,1,0);
开爬:=IF(选手=1 AND COUNT(选手=1,5)=1,8,0);
启动:开爬=8;
{选股公式三:缩量长阳}
换手率:=VOL/CAPITAL;
长阳:=(WINNER(C)-WINNER(O))>=0.15 AND 换手率<=0.04;
缩量长阳:IF(长阳,(WINNER(C)-WINNER(O))*100,0);
{选股公式四:领先大盘}
GU1:=(C-REF(C,1))/REF(C,1);
GU2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
个股:=EMA(SUM(GU1,20),5);
大盘:=EMA(SUM(GU2,20),5);
领先:=(个股-大盘)>=0;
GU3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
GU4:=SMA(GU3,72,1);
GU5:=SMA(GU4,34,1);
中趋势:=3*GU4-2*GU5;
中趋势升:=(中趋势-REF(中趋势,1))>=0;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
领先大盘:IF(均五升 AND 均十升 AND 中趋势升 AND 领先,4,0);
{选股公式五:乖离12}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
乖离12:FILTER(乖离<-12 AND 乖离>=-18,9);
{选股公式六:乖离18}
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
乖离18:FILTER(乖离<-18,5);