2023好股借势东风 猪也能飞上天《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
涨幅:=(C-REF(C,1))/REF(C,1)*100;
流通值:=CAPITAL*C/1000000;
CAP0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
CAP1:=流通值>0 AND 流通值<80;
CAP2:=涨幅>9.8 AND 涨幅<10.07 AND C=H;
CAP3:=C>2 AND C<22;
CAP4:=COUNT(CAP2,2)=1;
KDJ金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
选股1:=KDJ金叉 AND CAP0 AND CAP1 AND CAP2 AND CAP3 AND CAP4;
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;
CAA1:=(C/REF(C,1)-1)*100;
CAA2:=(O/REF(C,1)-1)*100;
CAA3:=DYNAINFO(15)/O/100;
CAA4:=CAA3/REF(V,1)*100;
CAA5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
CAA6:=REF(L,BARSLAST(CROSS(CAA5,0)));
CAA7:=(O-CAA6)/CAA6*100;
CAA8:=CODELIKE('60') OR CODELIKE('00');
CAA9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
CAA10:=EVERY(CAA9,4)<3;
选股:=CAA7<=20 AND REF(CAA1>9.80,1) AND CAA2>=2 AND CAA2<=7.5 AND CAA8 AND CAA10;
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;
CAP0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR BARSCOUNT(C)>1;
CAP1:=流通值>0 AND 流通值<80;
CAP2:=涨幅>9.8 AND 涨幅<10.07 AND C=H;
CAP3:=C>2 AND C<22;
CAP4:=COUNT(CAP2,2)=1;
KDJ金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
选股1:=KDJ金叉 AND CAP0 AND CAP1 AND CAP2 AND CAP3 AND CAP4;
猪上天:选股1;
{选股公式二:强风起}
CAA1:=(C/REF(C,1)-1)*100;
CAA2:=(O/REF(C,1)-1)*100;
CAA3:=DYNAINFO(15)/O/100;
CAA4:=CAA3/REF(V,1)*100;
CAA5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
CAA6:=REF(L,BARSLAST(CROSS(CAA5,0)));
CAA7:=(O-CAA6)/CAA6*100;
CAA8:=CODELIKE('60') OR CODELIKE('00');
CAA9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
CAA10:=EVERY(CAA9,4)<3;
选股:=CAA7<=20 AND REF(CAA1>9.80,1) AND CAA2>=2 AND CAA2<=7.5 AND CAA8 AND CAA10;
强风起:选股;
牛的一批! 我是来挣鲜花的,嘿嘿 楼主好人一个! 谢谢楼主,共同发展
页:
[1]