副图公式源码支持 手机/电脑
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通值:=CAPITAL*C/1000000;
ZF1:=(C-REF(C,1))/REF(C,1)*100;
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:=ZF1>9.8 AND ZF1<10.99 AND C=H;
GUP3:=C>2 AND C<22;
GUP4:=COUNT(GUP2,2)=1;
选1:=金叉 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;
ZF:=(C/REF(C,1)-1)*100;
GUA1:=(O/REF(C,1)-1)*100;
GUA2:=DYNAINFO(15)/O/100;
GUA3:=GUA2/REF(V,1)*100;
GUA4:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
GUA5:=REF(L,BARSLAST(CROSS(GUA4,0)));
GUA6:=(O-GUA5)/GUA5*100;
GUA7:=CODELIKE('60') OR CODELIKE('00');
GUA8:=(C/REF(C,1)-1)*100>9.8 AND H=C;
GUA9:=EVERY(GUA8,4)<3;
选:=GUA6<=20 AND REF(ZF>9.80,1) AND GUA1>=2 AND GUA1<=7.5 AND GUA7 AND GUA9;
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;
选股公式源码
{选股公式一:牛起}
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通值:=CAPITAL*C/1000000;
ZF1:=(C-REF(C,1))/REF(C,1)*100;
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:=ZF1>9.8 AND ZF1<10.99 AND C=H;
GUP3:=C>2 AND C<22;
GUP4:=COUNT(GUP2,2)=1;
选1:=金叉 AND GUP0 AND GUP1 AND GUP2 AND GUP3 AND GUP4;
牛起:选1;
{选股公式二:牛涨}
ZF:=(C/REF(C,1)-1)*100;
GUA1:=(O/REF(C,1)-1)*100;
GUA2:=DYNAINFO(15)/O/100;
GUA3:=GUA2/REF(V,1)*100;
GUA4:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
GUA5:=REF(L,BARSLAST(CROSS(GUA4,0)));
GUA6:=(O-GUA5)/GUA5*100;
GUA7:=CODELIKE('60') OR CODELIKE('00');
GUA8:=(C/REF(C,1)-1)*100>9.8 AND H=C;
GUA9:=EVERY(GUA8,4)<3;
选:=GUA6<=20 AND REF(ZF>9.80,1) AND GUA1>=2 AND GUA1<=7.5 AND GUA7 AND GUA9;
牛涨:选; |