副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1*2+G4+G2)/4;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5);
GUA1:=(-2)*(GUP2-GUP3)*3.8;
GUA2:=2*(GUP2-GUP3)*3.8;
STICKLINE(GUA2<0,0,GUA2*1,3.2,4),COLORGREEN;
GUP4:=EMA(EMA(G1,9),9);
GUB1:=(GUP1-REF(GUP4,1))/REF(GUP4,1)*30;
散户线:GUA1,LINETHICK3,COLORLIRED;
主力线:GUA2;
GUB2:=CROSS(主力线,散户线),COLORMAGENTA;
买入:IF(GUB2,4,0),LINETHICK1,COLORWHITE;
出货:IF(GUB1<REF(GUB1,1) AND GUB1>0,GUB1,0),COLORRED,NODRAW;
DRAWTEXT(买入,5,'突破'),COLORWHITE;
GUC1:=(C-REF(C,1))/REF(C,1)*100;
生命线:=CCI(84)/10,COLORRED,LINETHICK2;
DRAWTEXT(CROSS(生命线,0),-1,'主升'),COLORRED;
DRAWTEXT(CROSS(生命线,25),2,'警戒'),COLORWHITE;
DRAWTEXT(CROSS(生命线,12),2,'强势'),COLORYELLOW;
STICKLINE(GUB1<0,GUB1,0,2,0),COLORLIRED;
选股公式源码
{选股公式:突破}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1*2+G4+G2)/4;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5);
GUA1:=(-2)*(GUP2-GUP3)*3.8;
GUA2:=2*(GUP2-GUP3)*3.8;
GUP4:=EMA(EMA(G1,9),9);
散户线:=GUA1,LINETHICK3,COLORLIRED;
主力线:=GUA2;
GUB1:=(GUP1-REF(GUP4,1))/REF(GUP4,1)*30;
GUB2:=CROSS(主力线,散户线),COLORMAGENTA;
买入:=IF(GUB2,4,0),LINETHICK1,COLORWHITE;
突破:买入;
|