副图公式源码支持 手机/电脑
短线:EMA(CLOSE,10),COLORYELLOW;
中线:EMA(CLOSE,55),LINETHICK2;
长线:EMA(CLOSE,240),COLORRED,LINETHICK2;
DIFF:=(EMA(CLOSE,10)-EMA(CLOSE,24));
DEA:=EMA(DIFF,9);
GUP1:=(DIFF>=DEA);
GUP2:=(DIFF>=0);
STICKLINE(GUP1,H,L,0,0),COLORYELLOW;
STICKLINE(GUP1,O,C,8,0),COLORYELLOW;
STICKLINE(GUP2 AND GUP1,H,L,0,0),COLORRED;
STICKLINE(GUP2 AND GUP1,O,C,8,0),COLORRED;
STICKLINE(DIFF<DEA,H,L,0,1),COLORFFCC00;
STICKLINE(DIFF<DEA,O,C,8,1),COLORFFCC00;
GUP3:=(CLOSE*2+HIGH+LOW)/4;
GUP4:=EMA(GUP3,12)-EMA(GUP3,73);
GUP5:=EMA(GUP4,2);
DRAWTEXT((CROSS(GUP4,GUP5) AND GUP4<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(GUP4,GUP5) AND GUP4<=-0.14 ) OR (CROSS(GUP4,GUP5) AND GUP4<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),L*0.99,'买'),COLORWHITE;
选股公式
{选股公式:买}
DIFF:=(EMA(CLOSE,10)-EMA(CLOSE,24));
DEA:=EMA(DIFF,9);
GUP1:=(DIFF>=DEA);
GUP2:=(DIFF>=0);
GUP3:=(CLOSE*2+HIGH+LOW)/4;
GUP4:=EMA(GUP3,12)-EMA(GUP3,73);
GUP5:=EMA(GUP4,2);
买CROSS(GUP4,GUP5) AND GUP4<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(GUP4,GUP5) AND GUP4<=-0.14 ) OR (CROSS(GUP4,GUP5) AND GUP4<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)); |