副图公式源码支持 手机/电脑
长线:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,LINETHICK2;
中线:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,LINETHICK3;
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORRED,LINETHICK2;
STICKLINE(短线<0,0,短线,8,0),COLORBLUE;
STICKLINE(短线>0,0,短线,8,1),COLORRED;
GUA6:=EMA(短线,5),COLORYELLOW,LINETHICK2;
近顶:5,COLORCYAN;近底:-5,COLORCYAN;
绝顶:10,COLORCYAN;绝底:-10,COLORCYAN;
DRAWTEXT(CROSS(短线,0),-2,'↑买入'),COLORRED;
DRAWTEXT(CROSS(GUA6,5),-5,'↑买进'),COLORYELLOW;
K:SMA(短线,5,1),COLORWHITE;
D:SMA(K,3,1),COLORLIGREEN,LINETHICK2;
J:3*K-2*D,COLORMAGENTA,LINETHICK2;
选股公式源码
{选股公式一:买进}
长线:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,LINETHICK2;
中线:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,LINETHICK3;
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORRED,LINETHICK2;
GUA6:=EMA(短线,5),COLORYELLOW,LINETHICK2;
{DRAWTEXT(CROSS(GUA6,5),-5,'↑买进'),COLORYELLOW;}
买进:CROSS(GUA6,5);
{选股公式二:买入}
长线:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,LINETHICK2;
中线:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,LINETHICK3;
短线:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORRED,LINETHICK2;
{STICKLINE(短线<0,0,短线,8,0),COLORBLUE;
DRAWTEXT(CROSS(短线,0),-2,'↑买入'),COLORRED;}
买入:CROSS(短线,0); |