副图公式 源码支持手机/电脑
GUP1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100-50;
GUP2:=SMA(GUP1,13,1);
波段线:SMA(GUP2,3,1),LINETHICK2,COLORRED;
IF(波段线<REF(波段线,1),波段线,DRAWNULL),COLORBLUE,LINETHICK2;
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,5),5)/EMA(EMA(ABS(GUA1),5),5),COLORWHITE,LINETHICK1;
GUA3:=MA(GUA2,5),COLOR00FF00,LINETHICK1;
STICKLINE(GUA2>GUA3 , GUA2,GUA3 ,3,2),COLORRED,LINETHICK2;
STICKLINE(GUA3>GUA2,GUA2,GUA3,3,2),COLORGREEN,LINETHICK2;
起爆:=30,COLORFF00FF,LINETHICK1;
加仓:=0,COLORWHITE,LINETHICK1;
抄底:=-25,COLORWHITE,LINETHICK1;
顶线:IF(GUA2>=50,GUA2,50),COLORGREEN,LINETHICK2;
底线:IF(GUA2<=-50,GUA2,-50),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(GUA2,起爆),GUA3,'爆!') ,COLORWHITE;
DRAWTEXT(CROSS(GUA2,加仓),GUA3,'加!') ,COLORWHITE;
DRAWTEXT(CROSS(GUA2,抄底),GUA3,'抄!') ,COLORWHITE;
选股公式源码
{选股公式一:抄}
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,5),5)/EMA(EMA(ABS(GUA1),5),5),COLORWHITE,LINETHICK1;
GUA3:=MA(GUA2,5),COLOR00FF00,LINETHICK1;
抄底:=-25,COLORWHITE,LINETHICK1;
抄:CROSS(GUA2,抄底);
{选股公式二:加}
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,5),5)/EMA(EMA(ABS(GUA1),5),5),COLORWHITE,LINETHICK1;
GUA3:=MA(GUA2,5),COLOR00FF00,LINETHICK1;
加仓:=0,COLORWHITE,LINETHICK1;
加:CROSS(GUA2,加仓);
{选股公式三:爆}
GUP1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100-50;
GUP2:=SMA(GUP1,13,1);
GUA1:=C-REF(C,1);
GUA2:=100*EMA(EMA(GUA1,5),5)/EMA(EMA(ABS(GUA1),5),5),COLORWHITE,LINETHICK1;
GUA3:=MA(GUA2,5),COLOR00FF00,LINETHICK1;
底线:=IF(GUA2<=-50,GUA2,-50),COLORRED,LINETHICK2;
起爆:=30,COLORFF00FF,LINETHICK1;
爆:CROSS(GUA2,起爆);
|