副图公式源码支持 手机/电脑
均线5:=MA(C,5);
均线10:=MA(C,10);
均线20:=MA(C,20);
GUP1:=(C-O)/O*100>4;
GUP2:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VOL;
GUP3:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*C;
GUP4:=BARSLAST(BARSLAST(GUP2>0 AND REF(GUP2,1)>0)>0);
买牛:GUP4=0 AND GUP1 AND CROSS(C,均线5) AND CROSS(C,均线10) AND CROSS(C,均线20),COLORRED,CIRCLEDOT,LINETHICK2;
STICKLINE(买牛,0,5,1.5,0),COLORWHITE;
DRAWICON(买牛,6,1);
DRAWTEXT(买牛,4,'---买牛'),COLORYELLOW;
选股公式源码
{选股公式:买牛}
均线5:=MA(C,5);
均线10:=MA(C,10);
均线20:=MA(C,20);
GUP1:=(C-O)/O*100>4;
GUP2:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VOL;
GUP3:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*C;
GUP4:=BARSLAST(BARSLAST(GUP2>0 AND REF(GUP2,1)>0)>0);
买牛:GUP4=0 AND GUP1 AND CROSS(C,均线5) AND CROSS(C,均线10) AND CROSS(C,均线20),COLORRED,LINETHICK2; |