原码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:SMA(K,M2,1);
RSV2:=(CLOSE-LLV(LOW,NN))/(HHV(HIGH,NN)-LLV(LOW,NN))*100;
K2:=SMA(RSV2,MM1,1);
D2:SMA(K2,MM2,1);
RSV3:=(CLOSE-LLV(LOW,NNN))/(HHV(HIGH,NNN)-LLV(LOW,NNN))*100;
K3:=SMA(RSV3,MMM1,1);
D3:SMA(K3,MMM2,1);
上升1:IF(D>D2,D,DRAWNULL),COLORRED; 下降1:IF(D