副图公式源码支持 手机/电脑
N:=7;
牛线:IF(MA(CLOSE,N)<C,MA(CLOSE,N),DRAWNULL),COLORRED,LINETHICK4;
熊线:IF(MA(CLOSE,N)>=C,MA(CLOSE,N),DRAWNULL),COLORGREEN,LINETHICK4;
GUA1:=C<REF(C,4);
GUA2:=H/REF(C,1)>=1.041;
选2:=GUA1 AND GUA2;
GUB1:=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);
GUB2:=H/REF(C,1)>=1.041;
GUB3:=REF(C,4)/O>1.02;
选3:=GUB1 AND GUB2 AND GUB3;
GUC1:=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);
GUC2:=H/REF(C,1)>=1.041;
选4:=GUC1 AND GUC2;
GUD1:=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);
GUD2:=H/REF(C,1)>=1.041;
选5:=GUD1 AND GUD2;
GUE1:=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);
GUE2:=H/REF(C,1)>=1.041;
选6:=GUE1 AND GUE2;
条件:=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 条件;
GUP1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,10);
GUP2:=XG AND GUP1;
GUP3:=GUP2 AND BARSCOUNT(C)<90;
GUP4:=GUP2 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);
GUP5:=GUP3 OR GUP4;
STICKLINE(GUP5,O,C,2.5,0),COLORYELLOW;
DRAWICON(GUP5,L*0.97,13);
选股公式源码
{选股公式:红球图标}
GUA1:=C<REF(C,4);
GUA2:=H/REF(C,1)>=1.041;
选2:=GUA1 AND GUA2;
GUB1:=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);
GUB2:=H/REF(C,1)>=1.041;
GUB3:=REF(C,4)/O>1.02;
选3:=GUB1 AND GUB2 AND GUB3;
GUC1:=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);
GUC2:=H/REF(C,1)>=1.041;
选4:=GUC1 AND GUC2;
GUD1:=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);
GUD2:=H/REF(C,1)>=1.041;
选5:=GUD1 AND GUD2;
GUE1:=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);
GUE2:=H/REF(C,1)>=1.041;
选6:=GUE1 AND GUE2;
条件:=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 条件;
GUP1:=MA(C,5)>MA(C,20) AND MA(C,5)>MA(C,10);
GUP2:=XG AND GUP1;
GUP3:=GUP2 AND BARSCOUNT(C)<90;
GUP4:=GUP2 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);
GUP5:=GUP3 OR GUP4;红球图标:GUP5;
|