图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=6;GUP2:=4;GUP3:=13;
GUP4:=(3*G1+G2+G3+G4)/6;
GUP5:=WMA(VOL,GUP3);
GUP6:=WMA(AMOUNT,GUP3);
GUP7:=GUP6/GUP5/100;
GUP8:=(GUP4-GUP7)/GUP7*100;
小底:GUP8<(-6),NODRAW,COLORWHITE;
中底:GUP8<(-10),NODRAW,COLORYELLOW;
大底:GUP8<(-14),NODRAW,COLORCYAN;
绝底:GUP8<(-18),NODRAW,COLORRED;
STICKLINE(GUP8<0-18,30,40,0.51,0),COLORRED;
STICKLINE(GUP8<0-14,20,30,0.51,0),COLORCYAN;
STICKLINE(GUP8<0-10,10,20,0.51,0),COLORYELLOW;
STICKLINE(GUP8<0-6,0,10,0.51,0),COLORWHITE;
高抛:80,DOTLINE,COLORGREEN;
低吸:20,DOTLINE,COLORCYAN;
GUP9:=LLV(G2,GUP1);
GUP10:=HHV(G4,GUP1);
GUP11:=WMA((GUP4-GUP9)/(GUP10-GUP9)*100,GUP2);
走势线:WMA(0.667*REF(GUP11,1)+0.333*GUP11,2),DOTLINE,COLORYELLOW;
GUP12:=REF(GUP11,1)>80 OR GUP11>80;
GUP13:=REF(GUP11,1)<30 OR GUP11<30;
DRAWICON(CROSS(走势线,GUP11) AND GUP12,50,2);
DRAWICON(CROSS(GUP11,走势线) AND GUP13,50,1);
趋势线:GUP11,COLORMAGENTA;
IF(GUP11>=REF(GUP11,1),GUP11,DRAWNULL),COLORRED,LINETHICK2;
选股公式源码
{选股公式::红箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=6;GUP2:=4;GUP3:=13;
GUP4:=(3*G1+G2+G3+G4)/6;
GUP9:=LLV(G2,GUP1);
GUP10:=HHV(G4,GUP1);
GUP11:=WMA((GUP4-GUP9)/(GUP10-GUP9)*100,GUP2);
走势线:=WMA(0.667*REF(GUP11,1)+0.333*GUP11,2),COLORYELLOW;
GUP12:=REF(GUP11,1)>80 OR GUP11>80;
红箭头图标:CROSS(走势线,GUP11) AND GUP12;
{卖出公式::绿箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=6;GUP2:=4;GUP3:=13;
GUP4:=(3*G1+G2+G3+G4)/6;
GUP9:=LLV(G2,GUP1);
GUP10:=HHV(G4,GUP1);
GUP11:=WMA((GUP4-GUP9)/(GUP10-GUP9)*100,GUP2);
走势线:=WMA(0.667*REF(GUP11,1)+0.333*GUP11,2),COLORYELLOW;
GUP13:=REF(GUP11,1)<30 OR GUP11<30;
绿箭头图标:CROSS(GUP11,走势线) AND GUP13;