副图公式 源码支持手机/电脑
GUP1:=((MA(CLOSE,3)+MA(CLOSE,36)+MA(CLOSE,12)+MA(CLOSE,24))/4);
GUP2:=MA(CLOSE,25);
金叉:CROSS(GUP1,GUP2),COLORYELLOW;
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,6),6)/EMA(EMA(ABS(GUA1),6),6);
GUA3:=LLV(GUA2,2)=LLV(GUA2,7) ;
GUA4:=COUNT(GUA2<0,2);
GUA5:=CROSS(GUA2,MA(GUA2,2));
出击:GUA3 AND GUA4 AND GUA5,COLORRED;
GUB1:=(C>REF(C,1) AND C>REF(C,2));
GUB2:=(REF(GUB1,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB3:=(REF(GUB2,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB4:=(REF(GUB3,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB5:=(REF(GUB4,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB6:=(REF(GUB5,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB7:=(REF(GUB6,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB8:=(REF(GUB7,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB9:=(REF(GUB8,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBA:=(REF(GUB9,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUBB:=(REF(GUBA,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBC:=(REF(GUBB,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUBD:=(C<REF(C,1) AND C<REF(C,2));
GUBE:=(REF(GUBD,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBF:=(REF(GUBE,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB10:=(REF(GUBF,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB11:=(REF(GUB10,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB12:=(REF(GUB11,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB13:=(REF(GUB12,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB14:=(REF(GUB13,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB15:=(REF(GUB14,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB16:=(REF(GUB15,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB17:=(REF(GUB16,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB18:=(REF(GUB17,1) AND C>=REF(C,1) AND C<=REF(C,2));
黑马(REF(GUBD OR GUBE OR GUBF OR GUB10 OR GUB11 OR GUB12 OR GUB13 OR GUB14 OR GUB15 OR GUB16 OR GUB17 OR GUB18,1)) AND GUB1),COLORMAGENTA;
选股公式源码
{选股公式一:金叉}
GUP1:=((MA(CLOSE,3)+MA(CLOSE,36)+MA(CLOSE,12)+MA(CLOSE,24))/4);
GUP2:=MA(CLOSE,25);
金叉:CROSS(GUP1,GUP2),COLORYELLOW;
{选股公式二:出击}
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,6),6)/EMA(EMA(ABS(GUA1),6),6);
GUA3:=LLV(GUA2,2)=LLV(GUA2,7) ;
GUA4:=COUNT(GUA2<0,2);
GUA5:=CROSS(GUA2,MA(GUA2,2));
出击:GUA3 AND GUA4 AND GUA5,COLORRED;
{选股公式三:黑马}
GUB1:=(C>REF(C,1) AND C>REF(C,2));
GUB2:=(REF(GUB1,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB3:=(REF(GUB2,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB4:=(REF(GUB3,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB5:=(REF(GUB4,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB6:=(REF(GUB5,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB7:=(REF(GUB6,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB8:=(REF(GUB7,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB9:=(REF(GUB8,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBA:=(REF(GUB9,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUBB:=(REF(GUBA,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBC:=(REF(GUBB,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUBD:=(C<REF(C,1) AND C<REF(C,2));
GUBE:=(REF(GUBD,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUBF:=(REF(GUBE,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB10:=(REF(GUBF,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB11:=(REF(GUB10,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB12:=(REF(GUB11,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB13:=(REF(GUB12,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB14:=(REF(GUB13,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB15:=(REF(GUB14,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB16:=(REF(GUB15,1) AND C>=REF(C,1) AND C<=REF(C,2));
GUB17:=(REF(GUB16,1) AND C<=REF(C,1) AND C>=REF(C,2));
GUB18:=(REF(GUB17,1) AND C>=REF(C,1) AND C<=REF(C,2));
黑马(REF(GUBD OR GUBE OR GUBF OR GUB10 OR GUB11 OR GUB12 OR GUB13 OR GUB14 OR GUB15 OR GUB16 OR GUB17 OR GUB18,1)) AND GUB1),COLORMAGENTA; |