副图公式源码支持 手机/电脑
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUP4:=GUP2/GUP1*100-70;
GUP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP7:=SMA(GUP3/GUP1*100,3,1);
GUP8:=LLV(LOW,34);
GUP9:=SMA(GUP7,3,1)-SMA(GUP4,9,1);
GUP10:=IF(GUP9>100,GUP9-100,0);
GUP11:=HHV(HIGH,34);
GUP12:=EMA((GUP6-GUP8)/(GUP11-GUP8)*100,13);
GUP13:=EMA(0.667*REF(GUP12,1)+0.333*GUP12,2);
STICKLINE(GUP12-GUP13>0,GUP12,GUP13,9,0),COLORRED;
STICKLINE(GUP12-GUP13<0,GUP12,GUP13,9,0),COLOR00FF0F;
生命线:EMA(GUP13,5),COLORGREEN,LINETHICK2;
买:CROSS(GUP12,GUP13) AND GUP12>GUP13,NODRAW,COLORRED;
卖:CROSS(GUP13,GUP12) AND GUP12<GUP13,NODRAW,COLORGREEN;
IF(生命线>=REF(生命线,1),生命线,DRAWNULL),COLORRED,LINETHICK2;
波段买入:IF(CROSS(GUP12,生命线),15,0),COLORYELLOW,LINETHICK1;
波段卖出:IF(CROSS(生命线,GUP12),85,100),COLOR008000,LINETHICK1;
选股公式源码
{选股公式一:波段买入}
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUP4:=GUP2/GUP1*100-70;
GUP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP7:=SMA(GUP3/GUP1*100,3,1);
GUP8:=LLV(LOW,34);
GUP9:=SMA(GUP7,3,1)-SMA(GUP4,9,1);
GUP10:=IF(GUP9>100,GUP9-100,0);
GUP11:=HHV(HIGH,34);
GUP12:=EMA((GUP6-GUP8)/(GUP11-GUP8)*100,13);
GUP13:=EMA(0.667*REF(GUP12,1)+0.333*GUP12,2);
生命线:=EMA(GUP13,5),COLORGREEN,LINETHICK2;
波段买入:CROSS(GUP12,生命线),COLORYELLOW,LINETHICK1;
{选股公式二:买}
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUP4:=GUP2/GUP1*100-70;
GUP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP7:=SMA(GUP3/GUP1*100,3,1);
GUP8:=LLV(LOW,34);
GUP9:=SMA(GUP7,3,1)-SMA(GUP4,9,1);
GUP10:=IF(GUP9>100,GUP9-100,0);
GUP11:=HHV(HIGH,34);
GUP12:=EMA((GUP6-GUP8)/(GUP11-GUP8)*100,13);
GUP13:=EMA(0.667*REF(GUP12,1)+0.333*GUP12,2);
买:CROSS(GUP12,GUP13) AND GUP12>GUP13;
|