副图公式源码支持 手机/电脑
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
AA:GUP3,LINETHICK2,COLORRED;
BB:GUP4,LINETHICK2,COLORYELLOW;
GUP5:=CROSS(GUP2,GUP3) AND GUP3<25;
STICKLINE(GUP5,0,GUP3+5,1,1),LINETHICK2,COLORRED;
GUP6:=CROSS(GUP3,GUP4) AND GUP3<25;
GUP7:=GUP6 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
STICKLINE(GUP6,0,GUP3+5,1,1),LINETHICK2,COLORWHITE;
DRAWTEXT(GUP6 AND COUNT(GUP6,10)=1,GUP3+15,'买入'),LINETHICK2,COLORLIRED;
STICKLINE(GUP7,0,GUP3+5,1,1),LINETHICK2,COLORRED;
DRAWTEXT(GUP7 AND COUNT(GUP7,10)=1,GUP3+5,'主力异动'),LINETHICK2,COLORRED;
GUP8:=CROSS(GUP2,GUP3) AND GUP3>80 AND GUP3>GUP4;
STICKLINE(GUP8 AND COUNT(GUP8,5)=1,GUP3-5,100,1,1),LINETHICK2,COLORGREEN;
GUP9:=CROSS(GUP4,GUP3) AND GUP3>80;
STICKLINE(GUP9,GUP3-5,100,1,1),LINETHICK2,COLORYELLOW;
DRAWTEXT(GUP9 AND COUNT(GUP9,10)=1,GUP3-15,'卖出'),LINETHICK2,COLORBLUE;
选股公式源码
{选股公式一:买入}
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
GUP5:=CROSS(GUP2,GUP3) AND GUP3<25;
GUP6:=CROSS(GUP3,GUP4) AND GUP3<25;
GUP8:=CROSS(GUP2,GUP3) AND GUP3>80 AND GUP3>GUP4;
GUP9:=CROSS(GUP4,GUP3) AND GUP3>80;
买入:GUP6 AND COUNT(GUP6,10)=1;
{选股公式二:主力异动}
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
GUP6:=CROSS(GUP3,GUP4) AND GUP3<25;
GUP7:=GUP6 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
GUP8:=CROSS(GUP2,GUP3) AND GUP3>80 AND GUP3>GUP4;
主力异动:GUP7 AND COUNT(GUP7,10)=1; |