RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
W:-100*(HHV(HIGH,100)-CLOSE)/(HHV(HIGH,100)-LLV(LOW,100));
W1:-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
IF(CLOSE>OPEN AND D>15 AND K>12 AND D<82 AND K<88) RETURN "COLORRED";
ELSE IF(D<15 AND K<12) RETURN "COLORYELLOW";
ELSE IF(D>82 AND K>88) RETURN "COLORGREEN";
ELSE IF(W>-0.01) RETURN "COLORBLUE";
ELSE IF(W1<-99.9) RETURN "COLORWHITE";
ELSE RETURN "COLORGREEN";