20,DOTLINE,colorgreen;
50,DOTLINE,colorwhite;
80,DOTLINE,coloryellow;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),colorred,LINETHICK1;
D:SMA(K,M2,1),colorgreen,LINETHICK1;
乖离值:K-D,NODRAW,colorwhite;
日金叉B:=CROSS(K,D),colorgreen,LINETHICK0;
日死叉B:=CROSS(D,K),colorgreen,LINETHICK0;
DRAWICON(日金叉B,D,1);
DRAWICON(日死叉B,K,2);
W:=IF(K>REF(K,1),K,DRAWNULL);
DRAWBAND(W,RGB(255,220,200),W,0);
DRAWBAND(K,RGB(255,0,0),D,RGB(0,150,0));