副图公式源码支持 手机/电脑
GUP1:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L;
GUP2:=BARSLAST(GUP1);
GUP3:=REF(C,GUP2);
GUP4:=GUP3-0.01;
GUP5:=REF(BARSLAST(GUP1),1);
GUP6:=CROSS(C,GUP3) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP7:=FILTER(GUP6,30);
GUP8:=CROSS(C,GUP4) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 AND H=C;
GUP9:=FILTER(GUP8,30);
GUP10:=REF(O,GUP2);
GUP11:=GUP10+(GUP3-GUP10)*0.7;
GUP12:=CROSS(C,GUP11) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP13:=FILTER(GUP12,30);
强妖:GUP7 OR GUP9 OR GUP13,NODRAW;
GUP14:=COUNT(GUP1,10)>=2;
强牛:FILTER(GUP12 AND GUP14,30),NODRAW;
DRAWTEXT(强牛,73,'★强牛'),COLORRED;
DRAWTEXT(GUP7 OR GUP9 OR GUP13,90,'★强妖'),COLORRED;
STICKLINE(GUP7 OR GUP9 OR GUP13,0,100,0,0),COLORLIMAGENTA;
STICKLINE(GUP7 OR GUP9 OR GUP13,0,25,3,0),COLORRED;
选股公式源码
{选股公式一:强牛}
GUP1:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L;
GUP2:=BARSLAST(GUP1);
GUP3:=REF(C,GUP2);
GUP4:=GUP3-0.01;
GUP5:=REF(BARSLAST(GUP1),1);
GUP6:=CROSS(C,GUP3) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP7:=FILTER(GUP6,30);
GUP8:=CROSS(C,GUP4) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 AND H=C;
GUP9:=FILTER(GUP8,30);
GUP10:=REF(O,GUP2);
GUP11:=GUP10+(GUP3-GUP10)*0.7;
GUP12:=CROSS(C,GUP11) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP14:=COUNT(GUP1,10)>=2;
强牛:FILTER(GUP12 AND GUP14,30);
{选股公式二:强妖}
GUP1:=(C/REF(C,1)-1)*100>9.82 AND H=C AND H<>L;
GUP2:=BARSLAST(GUP1);
GUP3:=REF(C,GUP2);
GUP4:=GUP3-0.01;
GUP5:=REF(BARSLAST(GUP1),1);
GUP6:=CROSS(C,GUP3) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP7:=FILTER(GUP6,30);
GUP8:=CROSS(C,GUP4) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 AND H=C;
GUP9:=FILTER(GUP8,30);
GUP10:=REF(O,GUP2);
GUP11:=GUP10+(GUP3-GUP10)*0.7;
GUP12:=CROSS(C,GUP11) AND C>O AND C>REF(C,1) AND GUP5>=3 AND GUP5<=10 ;
GUP13:=FILTER(GUP12,30);
强妖:GUP7 OR GUP9 OR GUP13;
|