副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1;
GUP2:=(G4+G2+G1)/3;
GUP3:=(G4+G2+G1+G3)/4;
GUP4:=LLV(G2,4);
GUP5:=-EMA(G2 <=GUP4,13);
GUP6:=(GUP1-MA(GUP1,10))/MA(GUP1,9)*100<(-2);
GUP7:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*115>(-13);
GUP8:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*123>(-13);
GUP9:=REF(COUNT(G1<G3,2)=2,2) AND REF(G4/G1>G1/G3,1);
GUP10:=COUNT(GUP6,3)=3;
GUP11:=(GUP1-LLV(GUP1,13))/LLV(GUP1,50)*123;
GUP12:=(GUP2-MA(GUP2,14))/(0.015*AVEDEV(GUP2,14));
GUP13:=REF(GUP12<(-60),1) AND REF(GUP12,1)<(-92) AND GUP12<(-45);
GUP14:=REF(GUP12,1);
GUP15:=(GUP2-MA(GUP2,12))/(0.015*AVEDEV(GUP2,12));
GUP16:=REF(GUP15,1);
GUP17:=(GUP3-MA(GUP3,13))/(0.016*AVEDEV(GUP3,15));
GUP18:=(GUP1-MA(GUP1,12))/(0.014*AVEDEV(GUP1,10));
GUP19:=(GUP1-MA(GUP1,11))/(0.014*AVEDEV(GUP1,8));
GUP20:=CROSS(GUP18,(-200)) AND GUP18>REF(GUP18,1) OR (CROSS(GUP19,(-200)) AND GUP19>REF(GUP19,1)) AND MA(G1,5)/G2 >=1.07 AND VOL<REF(VOL,1)*0.66;
GUP21:=MA(G1,14);
GUP22:=POW(G1-GUP21,2);
GUP23:=MA(GUP22,24);
GUP24:=SQRT(GUP23);
GUP25:=GUP21-2*GUP24;
GUP26:=REF(GUP25,1);
GUP27:=CROSS(GUP11,1.5) AND COUNT(GUP14<REF(GUP14,1),2)=2 AND GUP10 AND GUP8 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND G2<GUP26 AND MA(VOL,3)<MA(VOL,6);
GUP28:=CROSS(GUP11,1.5) AND COUNT(GUP16<REF(GUP16,1),2)=2 AND GUP10 AND GUP8 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND G2<GUP26 AND MA(VOL,3)<MA(VOL,6);
牛股出击:GUP27 OR GUP28,COLORRED,LINETHICK2;
牛股显形:IF(CROSS(GUP11,1.5) AND (REF(G1/G3<1.005 AND G1/G3>0.995 OR (G1>G3 AND (G4/G1>G1/G3 AND G4/G1>G3/G2)),1) OR (G1/G3<1.005 AND G1/G3>0.995) OR G1/G3>1.033 OR (G1>G3 AND (G1/G3<G3/G2 AND G3/G2>G4/G1 OR (G4/G1>G1/G3 AND G4/G1>G3/G2)))) AND COUNT(GUP6,4) >=3 AND GUP7 AND GUP13 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND MA(VOL,5)<MA(VOL,11),0.7,0),COLORGREEN,LINETHICK2;
牛股崛起:IF(GUP5 <=(-0.45) AND GUP5 >=(-0.48) AND COUNT(GUP5<REF(GUP5,1),2)=2 OR (GUP5 <=(-0.48) AND COUNT(GUP5<REF(GUP5,1),3)=3) AND G1>G3 AND REF(COUNT(G1<G3,2)=2,1) AND MA(VOL,12)<MA(VOL,24),0.5,0),COLORMAGENTA,LINETHICK2;
选股公式源码
{选股公式一:牛股出击}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1;
GUP2:=(G4+G2+G1)/3;
GUP3:=(G4+G2+G1+G3)/4;
GUP4:=LLV(G2,4);
GUP5:=-EMA(G2 <=GUP4,13);
GUP6:=(GUP1-MA(GUP1,10))/MA(GUP1,9)*100<(-2);
GUP7:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*115>(-13);
GUP8:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*123>(-13);
GUP9:=REF(COUNT(G1<G3,2)=2,2) AND REF(G4/G1>G1/G3,1);
GUP10:=COUNT(GUP6,3)=3;
GUP11:=(GUP1-LLV(GUP1,13))/LLV(GUP1,50)*123;
GUP12:=(GUP2-MA(GUP2,14))/(0.015*AVEDEV(GUP2,14));
GUP13:=REF(GUP12<(-60),1) AND REF(GUP12,1)<(-92) AND GUP12<(-45);
GUP14:=REF(GUP12,1);
GUP15:=(GUP2-MA(GUP2,12))/(0.015*AVEDEV(GUP2,12));
GUP16:=REF(GUP15,1);
GUP17:=(GUP3-MA(GUP3,13))/(0.016*AVEDEV(GUP3,15));
GUP18:=(GUP1-MA(GUP1,12))/(0.014*AVEDEV(GUP1,10));
GUP19:=(GUP1-MA(GUP1,11))/(0.014*AVEDEV(GUP1,8));
GUP20:=CROSS(GUP18,(-200)) AND GUP18>REF(GUP18,1) OR (CROSS(GUP19,(-200)) AND GUP19>REF(GUP19,1)) AND MA(G1,5)/G2 >=1.07 AND VOL<REF(VOL,1)*0.66;
GUP21:=MA(G1,14);
GUP22:=POW(G1-GUP21,2);
GUP23:=MA(GUP22,24);
GUP24:=SQRT(GUP23);
GUP25:=GUP21-2*GUP24;
GUP26:=REF(GUP25,1);
GUP27:=CROSS(GUP11,1.5) AND COUNT(GUP14<REF(GUP14,1),2)=2 AND GUP10 AND GUP8 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND G2<GUP26 AND MA(VOL,3)<MA(VOL,6);
GUP28:=CROSS(GUP11,1.5) AND COUNT(GUP16<REF(GUP16,1),2)=2 AND GUP10 AND GUP8 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND G2<GUP26 AND MA(VOL,3)<MA(VOL,6);
牛股出击:GUP27 OR GUP28,COLORRED,LINETHICK2;
{选股公式二:牛股显形}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1;
GUP2:=(G4+G2+G1)/3;
GUP3:=(G4+G2+G1+G3)/4;
GUP4:=LLV(G2,4);
GUP5:=-EMA(G2 <=GUP4,13);
GUP6:=(GUP1-MA(GUP1,10))/MA(GUP1,9)*100<(-2);
GUP7:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*115>(-13);
GUP8:=(GUP1-MA(GUP1,10))/MA(GUP1,12)*123>(-13);
GUP9:=REF(COUNT(G1<G3,2)=2,2) AND REF(G4/G1>G1/G3,1);
GUP10:=COUNT(GUP6,3)=3;
GUP11:=(GUP1-LLV(GUP1,13))/LLV(GUP1,50)*123;
GUP12:=(GUP2-MA(GUP2,14))/(0.015*AVEDEV(GUP2,14));
GUP13:=REF(GUP12<(-60),1) AND REF(GUP12,1)<(-92) AND GUP12<(-45);
牛股显形:CROSS(GUP11,1.5) AND (REF(G1/G3<1.005 AND G1/G3>0.995 OR (G1>G3 AND (G4/G1>G1/G3 AND G4/G1>G3/G2)),1) OR (G1/G3<1.005 AND G1/G3>0.995) OR G1/G3>1.033 OR (G1>G3 AND (G1/G3<G3/G2 AND G3/G2>G4/G1 OR (G4/G1>G1/G3 AND G4/G1>G3/G2)))) AND COUNT(GUP6,4) >=3 AND GUP7 AND GUP13 AND GUP9 AND REF(GUP11=REF(GUP11,1),1) AND MA(VOL,5)<MA(VOL,11),COLORGREEN,LINETHICK2;
{选股公式三:牛股崛起}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=G1;
GUP2:=(G4+G2+G1)/3;
GUP3:=(G4+G2+G1+G3)/4;
GUP4:=LLV(G2,4);
GUP5:=-EMA(G2 <=GUP4,13);
牛股崛起:GUP5 <=(-0.45) AND GUP5 >=(-0.48) AND COUNT(GUP5<REF(GUP5,1),2)=2 OR (GUP5 <=(-0.48) AND COUNT(GUP5<REF(GUP5,1),3)=3) AND G1>G3 AND REF(COUNT(G1<G3,2)=2,1) AND MA(VOL,12)<MA(VOL,24),COLORMAGENTA,LINETHICK2; |