RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TJ:IF(CROSS(K,80),1,0);
STICKLINE(TJ,H,H,400,0);
其实,我觉得用这样表达根直观一些:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
TJ:IF(CROSS(K,80),H,0);
STICKLINE(TJ,H,H,400,0);