N:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MON:=C;
CD:=100*(1-MA(MON,N)/MON);
CDM:=MA(CD,3);
CDMM:=MA(CDM,3);
红箭头:crOSS(CD,CDM) AND REF(CD,1)<0 AND J<20;
N:=5;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MON:=C;
CD:=100*(1-MA(MON,N)/MON);
CDM:=MA(CD,3);
CDMM:=MA(CDM,3);
红箭头:crOSS(CD,CDM) AND REF(CD,1)<0 AND J<20;