副图公式 源码支持手机/电脑
GUP1:=MA(AMOUNT,5)/MA(VOL,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(VOL,125)/100)/GUP1;
GUP3:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);
短线反击:CROSS((-5),GUP3) AND GUP2<(-0.15) AND GUP2>(-0.25),NODRAW,COLORRED;
GUP4:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP5:=EMA(GUP4,9);
GUP6:=2*(GUP4-GUP5);
GUP7:=BARSLAST(REF(CROSS(GUP4,GUP5),1));
GUP8:=REF(CLOSE,GUP7+1)>CLOSE AND REF(GUP4,GUP7+1)<GUP4 AND CROSS(GUP4,GUP5) AND GUP5<0;
GUP9:=FILTER(GUP8>0,5);
中线反击:CROSS(GUP4,GUP5) AND GUP4<(-0.25),NODRAW,COLORYELLOW;
长线反击:GUP9,NODRAW,COLORLIMAGENTA;
STICKLINE(短线反击,0,1,6,0),COLORRED;
STICKLINE(中线反击,0,2,6,0),COLORYELLOW;
STICKLINE(长线反击,0,3,6,0),COLORMAGENTA;
选股公式源码
{选股公式一:短线反击}
GUP1:=MA(AMOUNT,5)/MA(VOL,5)/100;
GUP2:=(GUP1-MA(AMOUNT,125)/MA(VOL,125)/100)/GUP1;
GUP3:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,3);
短线反击:CROSS((-5),GUP3) AND GUP2<(-0.15) AND GUP2>(-0.25),COLORRED;
{选股公式二:中线反击}
GUP4:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP5:=EMA(GUP4,9);
中线反击:CROSS(GUP4,GUP5) AND GUP4<(-0.25),COLORYELLOW;
{选股公式三:长线反击}
GUP1:=MA(AMOUNT,5)/MA(VOL,5)/100;
GUP4:=EMA(CLOSE,12)-EMA(CLOSE,26);
GUP5:=EMA(GUP4,9);
GUP6:=2*(GUP4-GUP5);
GUP7:=BARSLAST(REF(CROSS(GUP4,GUP5),1));
GUP8:=REF(CLOSE,GUP7+1)>CLOSE AND REF(GUP4,GUP7+1)<GUP4 AND CROSS(GUP4,GUP5) AND GUP5<0;
GUP9:=FILTER(GUP8>0,5);
长线反击:GUP9,COLORLIMAGENTA;
|