副图公式 源码支持手机/电脑
GUP1:=EMA(CLOSE,3);
GUP2:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
GUP3:=MA(GUP2,1);
STICKLINE(((GUP1>GUP3)),GUP1,GUP3,0.01,0),COLORRED;
GUP4:=(GUP3*0.985);
生命线:IF(((GUP1>GUP3)),GUP3,GUP4),LINETHICK2,COLORFF00FF;
上开:=O;上收:=C;上高:=H;上低:=L;
GUP5:=(上开+上高+上低)/3;
A:=EMA(GUP5,4);
神奇线:A,COLORYELLOW,LINETHICK1;
STICKLINE(((GUP1<GUP3)),生命线,神奇线,0.01,0),COLORFFFF00;
GUP6:=EMA(上收,8);
GUP7:=EMA(上收,20);
DRAWTEXT(CROSS(GUP6,GUP7) AND (C>=O) AND 神奇线>REF(神奇线,1),GUP6*0.97,'★买'),COLORLIRED;
波段顶:MA(REF(HHV(上收,30),1),2),COLOR00FF00,LINETHICK2;
波段底:MA(REF(LLV(上收,30),1),2),COLOR0000FF,LINETHICK2;
GUA7:=EMA(C,2);
GUA8:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(GUA7,GUA8) AND 波段顶>=REF(波段顶,1),LOW*0.95,'★出击'),COLOR00FFFF;
选股公式源码
{选股公式一:买}
上开:=O;上收:=C;上高:=H;上低:=L;
GUP1:=EMA(CLOSE,3);
GUP2:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
GUP3:=MA(GUP2,1);
GUP4:=(GUP3*0.985);
GUP5:=(上开+上高+上低)/3;
A:=EMA(GUP5,4);
神奇线:=A,COLORYELLOW,LINETHICK1;
GUP6:=EMA(上收,8);
GUP7:=EMA(上收,20);
{DRAWTEXT(CROSS(GUP6,GUP7) AND (C>=O) AND 神奇线>REF(神奇线,1),GUP6*0.97,'★买'),COLORLIRED;}
买:CROSS(GUP6,GUP7) AND (C>=O) AND 神奇线>REF(神奇线,1);
{选股公式二:出击}
上开:=O;上收:=C;上高:=H;上低:=L;
GUP1:=EMA(CLOSE,3);
GUP2:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
GUP3:=MA(GUP2,1);
GUP4:=(GUP3*0.985);
GUP5:=(上开+上高+上低)/3;
波段顶:=MA(REF(HHV(上收,30),1),2),COLOR00FF00,LINETHICK2;
波段底:=MA(REF(LLV(上收,30),1),2),COLOR0000FF,LINETHICK2;
GUA7:=EMA(C,2);
GUA8:=EMA(SLOPE(C,21)*20+C,42);
{DRAWTEXT(CROSS(GUA7,GUA8) AND 波段顶>=REF(波段顶,1),LOW*0.95,'★出击'),COLOR00FFFF;}
出击:CROSS(GUA7,GUA8) AND 波段顶>=REF(波段顶,1);
|