副图公式源码支持 手机/电脑
GUPA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
GUPB:=SMA(GUPA,9,1);GUPC:=SMA(GUPB,5,1);
LC:=REF(CLOSE,1);
GUA1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
GUA2:=CROSS(GUA1,14);
GUA3:=IF(CROSS(GUPB,GUPC) AND GUPB<13,20,0);
逃顶:IF(CROSS(68,GUA1),81,90),LINETHICK1,COLORGREEN;
抄底:IF((GUA3 OR GUA2),50,0),LINETHICK1,COLORRED;
趋势线:MA(CLOSE,13),COLORRED,LINETHICK2;
上涨:IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),COLOR80FF00,LINETHICK2;
分界线:50,COLORYELLOW;
选股公式源码
{选股公式:抄底}
GUPA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
GUPB:=SMA(GUPA,9,1);GUPC:=SMA(GUPB,5,1);
LC:=REF(CLOSE,1);
GUA1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
GUA2:=CROSS(GUA1,14);
GUA3:=IF(CROSS(GUPB,GUPC) AND GUPB<13,20,0);
{抄底:IF((GUA3 OR GUA2),50,0),LINETHICK1,COLORRED;}
抄底:GUA3 OR GUA2;
{卖出公式:逃顶}
GUPA:=(CLOSE-LLV(LOW,21.55))/(HHV(HIGH,21.55)-LLV(LOW,34))*80;
GUPB:=SMA(GUPA,9,1);GUPC:=SMA(GUPB,5,1);
LC:=REF(CLOSE,1);
GUA1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
GUA2:=CROSS(GUA1,14);
GUA3:=IF(CROSS(GUPB,GUPC) AND GUPB<13,20,0);
{逃顶:IF(CROSS(68,GUA1),81,90),LINETHICK1,COLORGREEN;}
逃顶:CROSS(68,GUA1); |