副图公式 源码支持手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=21;
GUP2:=G1>=ZTPRICE(REF(G1,1),0.1);
GUP3:=(G1-REF(G1,1))/REF(G1,1)*100<=10.1 OR G1>=ZTPRICE(REF(G1,1),0.18);
GUP4:=COUNT(GUP2,GUP1)=1 AND GUP2 AND GUP3;
牛1:IF(GUP4,1,0),COLORRED;
GUP5:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
GUP6:=DMA((2.15*G1+G2+G4)/4,GUP5);
GUP7:=EMA(GUP6,200)*1.118;
GUP8:=(G1-REF(G1,1))/REF(G1,1)*100;
GUP9:=CROSS(G1,GUP7) AND GUP8>9;
牛2:IF(GUP9,2,0),COLORYELLOW;
GUP10:=(3*G1+G4+G2+G3)/6;
GUP11:=(8*GUP10+7*REF(GUP10,1)+6*REF(GUP10,2)+5*REF(GUP10,3)+4*REF(GUP10,4)+3*REF(GUP10,5)+2*REF(GUP10,6)+REF(GUP10,8))/36;
GUP12:=(HHV(GUP11,2)+HHV(GUP11,4)+HHV(GUP11,8))/3;
GUP13:=(HHV(GUP12,2)+HHV(GUP12,4)+HHV(GUP12,8))/3;
GUP14:=REF(G1,1)*1.1-G1<0.01 AND G4=G1;
GUP15:=CROSS(G1,GUP13) AND GUP14;
牛3:IF(GUP15,3,0),COLORMAGENTA;
选股公式源码
{选股公式1:牛1}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=21;
GUP2:=G1>=ZTPRICE(REF(G1,1),0.1);
GUP3:=(G1-REF(G1,1))/REF(G1,1)*100<=10.1 OR G1>=ZTPRICE(REF(G1,1),0.18);
GUP4:=COUNT(GUP2,GUP1)=1 AND GUP2 AND GUP3;
牛1:GUP4,COLORRED;
{选股公式2:牛2}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP5:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
GUP6:=DMA((2.15*G1+G2+G4)/4,GUP5);
GUP7:=EMA(GUP6,200)*1.118;
GUP8:=(G1-REF(G1,1))/REF(G1,1)*100;
GUP9:=CROSS(G1,GUP7) AND GUP8>9;
牛2:GUP9,COLORYELLOW;
{选股公式3:牛3}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP10:=(3*G1+G4+G2+G3)/6;
GUP11:=(8*GUP10+7*REF(GUP10,1)+6*REF(GUP10,2)+5*REF(GUP10,3)+4*REF(GUP10,4)+3*REF(GUP10,5)+2*REF(GUP10,6)+REF(GUP10,8))/36;
GUP12:=(HHV(GUP11,2)+HHV(GUP11,4)+HHV(GUP11,8))/3;
GUP13:=(HHV(GUP12,2)+HHV(GUP12,4)+HHV(GUP12,8))/3;
GUP14:=REF(G1,1)*1.1-G1<0.01 AND G4=G1;
GUP15:=CROSS(G1,GUP13) AND GUP14;
牛3:GUP15,COLORMAGENTA;
|