2023多种条件集合 一击买入成牛《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
N:=7;
牛线:IF(MA(CLOSE,N)<C,MA(CLOSE,N),DRAWNULL),COLORRED,LINETHICK4;
熊线:IF(MA(CLOSE,N)>=C,MA(CLOSE,N),DRAWNULL),COLORGREEN,LINETHICK4;
CAA1:=C<REF(C,4);
CAA2:=H/REF(C,1)>=1.041;
选2:=CAA1 AND CAA2;
CAB1:=REF(C,4)/REF(C,5)>1.09 AND REF(C,4)=REF(H,4) AND REF(C,4)>REF(MA(C,5),4) AND REF(O,4)>REF(MA(C,10),4) AND NOT(REF(C,2)/REF(C,1)>=1.09 AND REF(C,3)/REF(C,2)>=1.09);
CAB2:=H/REF(C,1)>=1.041;
CAB3:=REF(C,4)/O>1.02;
选3:=CAB1 AND CAB2 AND CAB3;
CAC1:=REF(C,5)/REF(C,6)>1.09 AND REF(C,5)=REF(H,5) AND REF(C,5)>REF(MA(C,5),5) AND REF(O,5)>REF(MA(C,10),5);
CAC2:=H/REF(C,1)>=1.041;
选4:=CAC1 AND CAC2;
CAD1:=REF(C,6)/REF(C,7)>1.09 AND REF(C,6)=REF(H,6) AND REF(C,6)>REF(MA(C,5),6) AND REF(O,6)>REF(MA(C,10),6);
CAD2:=H/REF(C,1)>=1.041;
选5:=CAD1 AND CAD2;
CAE1:=REF(C,7)/REF(C,7)>1.09 AND REF(C,7)=REF(H,7) AND REF(C,7)>REF(MA(C,5),7) AND REF(O,7)>REF(MA(C,10),7);
CAE2:=H/REF(C,1)>=1.041;
选6:=CAE1 AND CAE2;
条件:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND O<MA(C,5) AND REF(C,2)/REF(C,3)<1.099 AND (REF(C,1)<REF(MA(C,5),1) OR L<MA(C,10)) AND MA(C,5)>REF(MA(C,5),1) AND REF(L,1)>REF(MA(C,20),1) AND O/REF(C,1)<1.09 AND C>O;
XG:=(选2 OR 选3 OR 选4 OR 选5 OR 选6)AND 条件;
CAP1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,10);
CAP2:=XG AND CAP1;
CAP3:=CAP2 AND BARSCOUNT(C)<90;
CAP4:=CAP2 AND MA(C,5)>MA(C,60) AND MA(C,5)>MA(C,120) AND MA(C,10)>MA(C,30) AND MA(C,10)>MA(C,60)AND MA(C,10)>MA(C,120);
CAP5:=CAP3 OR CAP4;
STICKLINE(CAP5,O,C,2.5,0),COLORYELLOW;
DRAWICON(CAP5,L*0.97,13);
选股公式源码
{选股公式:红球图标}
CAA1:=C<REF(C,4);
CAA2:=H/REF(C,1)>=1.041;
选2:=CAA1 AND CAA2;
CAB1:=REF(C,4)/REF(C,5)>1.09 AND REF(C,4)=REF(H,4) AND REF(C,4)>REF(MA(C,5),4) AND REF(O,4)>REF(MA(C,10),4) AND NOT(REF(C,2)/REF(C,1)>=1.09 AND REF(C,3)/REF(C,2)>=1.09);
CAB2:=H/REF(C,1)>=1.041;
CAB3:=REF(C,4)/O>1.02;
选3:=CAB1 AND CAB2 AND CAB3;
CAC1:=REF(C,5)/REF(C,6)>1.09 AND REF(C,5)=REF(H,5) AND REF(C,5)>REF(MA(C,5),5) AND REF(O,5)>REF(MA(C,10),5);
CAC2:=H/REF(C,1)>=1.041;
选4:=CAC1 AND CAC2;
CAD1:=REF(C,6)/REF(C,7)>1.09 AND REF(C,6)=REF(H,6) AND REF(C,6)>REF(MA(C,5),6) AND REF(O,6)>REF(MA(C,10),6);
CAD2:=H/REF(C,1)>=1.041;
选5:=CAD1 AND CAD2;
CAE1:=REF(C,7)/REF(C,7)>1.09 AND REF(C,7)=REF(H,7) AND REF(C,7)>REF(MA(C,5),7) AND REF(O,7)>REF(MA(C,10),7);
CAE2:=H/REF(C,1)>=1.041;
选6:=CAE1 AND CAE2;
条件:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND O<MA(C,5) AND REF(C,2)/REF(C,3)<1.099 AND (REF(C,1)<REF(MA(C,5),1) OR L<MA(C,10)) AND MA(C,5)>REF(MA(C,5),1) AND REF(L,1)>REF(MA(C,20),1) AND O/REF(C,1)<1.09 AND C>O;
XG:=(选2 OR 选3 OR 选4 OR 选5 OR 选6)AND 条件;
CAP1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,10);
CAP2:=XG AND CAP1;
CAP3:=CAP2 AND BARSCOUNT(C)<90;
CAP4:=CAP2 AND MA(C,5)>MA(C,60) AND MA(C,5)>MA(C,120) AND MA(C,10)>MA(C,30) AND MA(C,10)>MA(C,60)AND MA(C,10)>MA(C,120);
CAP5:=CAP3 OR CAP4;红球图标:CAP5;
爱分享,爱生活 这个资源我有了,不过还是感谢楼主分享 不知该说些什么。。。。。。就是谢谢 好东西,收了 没看完~~~~~~ 先顶,好同志
页:
[1]