70,DOTLINE;30,DOTLINE; 重心:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0; SJ:WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2),COLOR0077FF; ZJ:WMA(0.618*REF(SJ,1)+0.382*SJ,2),COLOR00FF00; DRAWBAND(SJ,RGB(100,0,0),ZJ,RGB(0,100,0)); DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30,SJ,'←低吸'),COLOR00FF00; DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,ZJ,'←高拋'),COLOR0077FF; M:20,DOTLINE; P:80,DOTLINE; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); SJ2:WMA(3*K-2*D,3),COLOR0000FF,LINETHICK2; ZJ2:WMA(0.714*REF(SJ2,1)+0.286*SJ2,2),COLOR00FF00; DRAWTEXT(CROSS(SJ2,ZJ2) AND SJ2<M,SJ2,'←吸'),COLOR00FF00; DRAWTEXT(CROSS(ZJ2,SJ2) AND SJ2>P,ZJ2,'←拋'),COLOR0077FF; M1:20,DOTLINE; P1:80,DOTLINE; RSVX:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; FASTK:=SMA(RSV,3,1); KX:=SMA(FASTK,2,1); DX:=SMA(K,5,1); SJ3:WMA(3*K-2*D,3),COLOR0000FF,LINETHICK2; ZJ3:WMA(0.714*REF(SJ3,1)+0.286*SJ3,2),COLOR00FF00; DRAWTEXT(CROSS(SJ3,ZJ3) AND SJ3<M1,SJ3,'←吸'),COLOR00FF00; DRAWTEXT(CROSS(ZJ3,SJ3) AND SJ3>P1,ZJ3,'←拋'),COLOR0077FF; |
|