副图公式源码支持 手机/电脑
GUP1:=H/REF(C,1)>1.098 AND H/REF(C,1)<1.105 AND (CODELIKE('60') OR CODELIKE('00'));
GUP2:=H/REF(C,1)>1.198 AND H/REF(C,1)<1.205 AND (CODELIKE('68') OR CODELIKE('30'));
GUP3:=GUP1 OR GUP2;
GUP4:=MIN(MIN(MIN(MIN(MIN(REF(MA(VOL,5),4),REF(MA(VOL,5),5)),REF(MA(VOL,5),6)),REF(MA(VOL,10),4)),REF(MA(VOL,10),5)),REF(MA(VOL,10),6));
GUP5:=REF(GUP3,1) AND NOT(GUP3) AND HHV(V,2)>5*GUP4 AND HHV(H,10)/LLV(L,10)<1.4;
GUP6:=BARSLAST(GUP5);
GUP7:=LLV(V,GUP6);
GUP8:=MIN(REF(MA(V,5),GUP6+3),REF(MA(V,5),GUP6+5));
GUP9:=GUP7<MIN(2*GUP8,0.2*REF(HHV(V,2),GUP6));
GUP10:=REF(HHV(H,2),GUP6);
GUP11:=REF(H,GUP6+1)/REF(C,GUP6+2)<1.12 AND V>2*GUP7 AND C/REF(C,1)>1.0382 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP12:=REF(H,GUP6+1)/REF(C,GUP6+2)>1.18 AND V>2*GUP7 AND C/REF(C,1)>1.0764 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP13:=GUP11 OR GUP12;
GUP14:=GUP6>3 AND REF(COUNT(GUP5,32)>0,1) AND GUP9 AND GUP13 AND COUNT(GUP13,GUP6)<=2;
GUP15:=GUP6<20 AND C/REF(C,1)>1.0382 AND C/O>1.01 AND REF(C,1)<=GUP10 AND C>GUP10 AND COUNT(C>1.15*GUP10,GUP6)=0;
STICKLINE(GUP14,O,C,3,0),COLORMAGENTA;
DRAWTEXT(GUP14,L*0.99,' 起爆'),COLORMAGENTA;
STICKLINE(GUP15,O,C,3,0),COLORRED;
DRAWTEXT(GUP15,L*0.99,' 突破'),COLORRED;
选股公式源码
{选股公式一:起爆}
GUP1:=H/REF(C,1)>1.098 AND H/REF(C,1)<1.105 AND (CODELIKE('60') OR CODELIKE('00'));
GUP2:=H/REF(C,1)>1.198 AND H/REF(C,1)<1.205 AND (CODELIKE('68') OR CODELIKE('30'));
GUP3:=GUP1 OR GUP2;
GUP4:=MIN(MIN(MIN(MIN(MIN(REF(MA(VOL,5),4),REF(MA(VOL,5),5)),REF(MA(VOL,5),6)),REF(MA(VOL,10),4)),REF(MA(VOL,10),5)),REF(MA(VOL,10),6));
GUP5:=REF(GUP3,1) AND NOT(GUP3) AND HHV(V,2)>5*GUP4 AND HHV(H,10)/LLV(L,10)<1.4;
GUP6:=BARSLAST(GUP5);
GUP7:=LLV(V,GUP6);
GUP8:=MIN(REF(MA(V,5),GUP6+3),REF(MA(V,5),GUP6+5));
GUP9:=GUP7<MIN(2*GUP8,0.2*REF(HHV(V,2),GUP6));
GUP10:=REF(HHV(H,2),GUP6);
GUP11:=REF(H,GUP6+1)/REF(C,GUP6+2)<1.12 AND V>2*GUP7 AND C/REF(C,1)>1.0382 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP12:=REF(H,GUP6+1)/REF(C,GUP6+2)>1.18 AND V>2*GUP7 AND C/REF(C,1)>1.0764 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP13:=GUP11 OR GUP12;
GUP14:=GUP6>3 AND REF(COUNT(GUP5,32)>0,1) AND GUP9 AND GUP13 AND COUNT(GUP13,GUP6)<=2;
起爆:GUP14;
{选股公式二:突破}
GUP1:=H/REF(C,1)>1.098 AND H/REF(C,1)<1.105 AND (CODELIKE('60') OR CODELIKE('00'));
GUP2:=H/REF(C,1)>1.198 AND H/REF(C,1)<1.205 AND (CODELIKE('68') OR CODELIKE('30'));
GUP3:=GUP1 OR GUP2;
GUP4:=MIN(MIN(MIN(MIN(MIN(REF(MA(VOL,5),4),REF(MA(VOL,5),5)),REF(MA(VOL,5),6)),REF(MA(VOL,10),4)),REF(MA(VOL,10),5)),REF(MA(VOL,10),6));
GUP5:=REF(GUP3,1) AND NOT(GUP3) AND HHV(V,2)>5*GUP4 AND HHV(H,10)/LLV(L,10)<1.4;
GUP6:=BARSLAST(GUP5);
GUP7:=LLV(V,GUP6);
GUP8:=MIN(REF(MA(V,5),GUP6+3),REF(MA(V,5),GUP6+5));
GUP9:=GUP7<MIN(2*GUP8,0.2*REF(HHV(V,2),GUP6));
GUP10:=REF(HHV(H,2),GUP6);
GUP11:=REF(H,GUP6+1)/REF(C,GUP6+2)<1.12 AND V>2*GUP7 AND C/REF(C,1)>1.0382 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP12:=REF(H,GUP6+1)/REF(C,GUP6+2)>1.18 AND V>2*GUP7 AND C/REF(C,1)>1.0764 AND C/O>1.01 AND COUNT(L>GUP10,GUP6)=0;
GUP13:=GUP11 OR GUP12;
GUP14:=GUP6>3 AND REF(COUNT(GUP5,32)>0,1) AND GUP9 AND GUP13 AND COUNT(GUP13,GUP6)<=2;
GUP15:=GUP6<20 AND C/REF(C,1)>1.0382 AND C/O>1.01 AND REF(C,1)<=GUP10 AND C>GUP10 AND COUNT(C>1.15*GUP10,GUP6)=0;
突破:GUP15; |