副图公式源码支持 手机/电脑
涨幅:=(C-REF(C,1))/REF(C,1)*100;
流通值:=CAPITAL*C/1000000;
GUP0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
GUP1:=流通值>0 AND 流通值<80;
GUP2:=涨幅>9.8 AND 涨幅<10.07 AND C=H;
GUP3:=C>2 AND C<22;
GUP4:=COUNT(GUP2,2)=1;
KDJ金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
选股1:=KDJ金叉 AND GUP0 AND GUP1 AND GUP2 AND GUP3 AND GUP4;
STICKLINE(选股1,H,L,0,0),COLOR0000FF;
STICKLINE(选股1,C,O,3,0),COLOR000099;
STICKLINE(选股1,C,O,2,0),COLOR0000BB;
STICKLINE(选股1,C,O,1,0),COLOR0000DD;
STICKLINE(选股1,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(选股1,L*0.99,'←猪上天'),COLORRED;
GUA1:=(C/REF(C,1)-1)*100;
GUA2:=(O/REF(C,1)-1)*100;
GUA3:=DYNAINFO(15)/O/100;
GUA4:=GUA3/REF(V,1)*100;
GUA5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
GUA6:=REF(L,BARSLAST(CROSS(GUA5,0)));
GUA7:=(O-GUA6)/GUA6*100;
GUA8:=CODELIKE('60') OR CODELIKE('00');
GUA9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
GUA10:=EVERY(GUA9,4)<3;
选股:=GUA7<=20 AND REF(GUA1>9.80,1) AND GUA2>=2 AND GUA2<=7.5 AND GUA8 AND GUA10;
STICKLINE(选股,H,L,0,0),COLORFF00FF;
STICKLINE(选股,C,O,3,0),COLOR990099;
STICKLINE(选股,C,O,2,0),COLORBB00BB;
STICKLINE(选股,C,O,1,0),COLORDD00DD;
STICKLINE(选股,C,O,0.3,0),COLORFF00FF;
DRAWTEXT(选股,L*0.99,'←强风起'),COLORMAGENTA;
选股公式源码
{选股公式一:猪上天}
涨幅:=(C-REF(C,1))/REF(C,1)*100;
流通值:=CAPITAL*C/1000000;
GUP0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
GUP1:=流通值>0 AND 流通值<80;
GUP2:=涨幅>9.8 AND 涨幅<10.07 AND C=H;
GUP3:=C>2 AND C<22;
GUP4:=COUNT(GUP2,2)=1;
KDJ金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
选股1:=KDJ金叉 AND GUP0 AND GUP1 AND GUP2 AND GUP3 AND GUP4;
猪上天:选股1;
{选股公式二:强风起}
GUA1:=(C/REF(C,1)-1)*100;
GUA2:=(O/REF(C,1)-1)*100;
GUA3:=DYNAINFO(15)/O/100;
GUA4:=GUA3/REF(V,1)*100;
GUA5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
GUA6:=REF(L,BARSLAST(CROSS(GUA5,0)));
GUA7:=(O-GUA6)/GUA6*100;
GUA8:=CODELIKE('60') OR CODELIKE('00');
GUA9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
GUA10:=EVERY(GUA9,4)<3;
选股:=GUA7<=20 AND REF(GUA1>9.80,1) AND GUA2>=2 AND GUA2<=7.5 AND GUA8 AND GUA10;
强风起:选股;
|