SPJ:=REF(CLOSE,1);
ZXZ:=SMA(MAX(CLOSE-SPJ,0),5,1)/SMA(Abs(CLOSE-SPJ),5,1)*100;
Y:=DRAWLINE(ZXZ>=HHV(ZXZ,5),ZXZ,ZXZ<=LLV(ZXZ,5),ZXZ,1);
JX5:=ZXZ=Y;
JX10:=ZXZ
买点:STICKLINE(JX5 AND JX10,0,2,1,0),COLORRED;
DRAWTEXT(买点,0.5,'买点'),COLORRED;
SPJ:=REF(CLOSE,1);
ZXZ:=SMA(MAX(CLOSE-SPJ,0),5,1)/SMA(Abs(CLOSE-SPJ),5,1)*100;
Y:=DRAWLINE(ZXZ>=HHV(ZXZ,5),ZXZ,ZXZ<=LLV(ZXZ,5),ZXZ,1);
JX5:=ZXZ=Y;
JX10:=ZXZ
买点:STICKLINE(JX5 AND JX10,0,2,1,0),COLORRED;
DRAWTEXT(买点,0.5,'买点'),COLORRED;