副图公式源码支持: 手机/电脑
GUP1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
GUP2:=SMA(GUP1,10,1);
慢:=SMA(GUP2,5,1);
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:=SMA(FATK,3,1);
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUPB:=SMA(GUPA,3,1);
GUPC:=SMA(GUPB,3,1);
加速线:EMA(3*GUPB-2*GUPC,2),COLORYELLOW;
底:6,COLOR00BF00;
绝底:-6,COLOR007300;
顶:90,COLORFFA500;
绝顶:100,COLORWHITE;
GUP11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
GUP22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入:=GUP11 AND GUP22,LINETHICK2,COLORRED;
GUP3:=REF(CLOSE,1);
GUP4:=SMA(MAX(CLOSE-GUP3,0),6,1)/SMA(ABS(CLOSE-GUP3),6,1)*100;
卖出:=CROSS(80,GUP4),LINETHICK2,COLORGREEN;
GUP5:=CROSS(加速线,100);
GUP6:=CROSS(加速线,-6);
GUP7:=CROSS(80,加速线);
GUP8:=CROSS(加速线,6);
DRAWTEXT(GUP5,85,'小心顶'),COLORBLUE;
DRAWTEXT(GUP6,0,'关注底'),COLORRED;
DRAWTEXT(GUP7,95,'卖'),COLORGREEN;
DRAWTEXT(GUP8,5,'买'),COLORMAGENTA;
选股公式源码
{选股公式一:买}
GUP1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
GUP2:=SMA(GUP1,10,1);
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUPB:=SMA(GUPA,3,1);
GUPC:=SMA(GUPB,3,1);
GUP11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
GUP22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
加速线:=EMA(3*GUPB-2*GUPC,2),COLORYELLOW;
GUP5:=CROSS(加速线,100);
GUP6:=CROSS(加速线,-6);
GUP7:=CROSS(80,加速线);
GUP8:=CROSS(加速线,6);
买:GUP7;
{选股公式二:关注底}
GUPA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,COLORWHITE;
GUPB:=SMA(GUPA,3,1),COLORWHITE;
GUPC:=SMA(GUPB,3,1),COLORWHITE;
加速线:=EMA(3*GUPB-2*GUPC,2),COLORYELLOW;
GUP6:=CROSS(加速线,-6),COLORWHITE;
关注底:GUP6,COLORWHITE; |