副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
N:=40;N1:=6;N2:=13;N3:=33;
GUP0:=((SMA(ABS((G2-REF(G2,1))),3,1)/SMA(MAX((G2-REF(G2,1)),0),3,1))*100);
GUP1:=EMA(IF((G1*1.3),(GUP0*10),(GUP0/10)),3);
GUP2:=LLV(G2,30);
GUP3:=HHV(GUP1,30);
GUP4:=((EMA(IF((G2<=GUP2),((GUP1+(GUP3*2))/2),0),3)/6180)*2.5);
GUP5:=IF((GUP4>15),15,GUP4);
STICKLINE((GUP5>0),0,GUP5,4,1),COLORWHITE;
STICKLINE((GUP5<5),0,GUP5,4,1),COLORYELLOW;
GUP9:=(((MA(G1,N)-G1)/MA(G1,N))*10);
STICKLINE(CROSS(1.7,GUP9),7.5,0,6,0),COLORYELLOW;
DRAWTEXT(CROSS(1.7,GUP9),10,'抄底'),COLORYELLOW;
长期:MA((MA(G1,N3)-G1)/MA(G1,N3)*50,5),LINETHICK2,COLORLIRED;
中期:MA((MA(G1,N2)-G1)/MA(G1,N2)*50,5),LINETHICK2,COLORMAGENTA;
短期:MA((MA(G1,N1)-G1)/MA(G1,N1)*50,5),LINETHICK2,COLORRED;
O轴:0,COLORWHITE,LINETHICK2;
STICKLINE((长期>0),0,长期,0,-1),COLORLIRED;
STICKLINE((长期<0),0,长期,0,-1),COLORCYAN;
STICKLINE((中期>0),0,中期,0,-1),COLORMAGENTA;
STICKLINE((中期<0),0,中期,0,-1),COLORLIGREEN;
STICKLINE((短期>0),0,短期,0,-1),COLORRED;
STICKLINE((短期<0),0,短期,0,-1),COLORGREEN;
选股公式源码
{选股公式:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
N:=40;N1:=6;N2:=13;N3:=33;
GUP0:=((SMA(ABS((G2-REF(G2,1))),3,1)/SMA(MAX((G2-REF(G2,1)),0),3,1))*100);
GUP1:=EMA(IF((G1*1.3),(GUP0*10),(GUP0/10)),3);
GUP2:=LLV(G2,30);
GUP3:=HHV(GUP1,30);
GUP9:=(((MA(G1,N)-G1)/MA(G1,N))*10);
抄底:CROSS(1.7,GUP9); |