N1:=14;
wr1:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),coloryred;
ALC:=REF(C,1);
rsi:SMA(MAX(C-ALC,0),14,1)/SMA(Abs(C-ALC),14,1)*100,coloryellow;
DRAWICON(crOSS(RSI,35),35,1);
DRAWICON(CROSS(30,RSI),30,2);
AA:70,colorred;
BB:60,colorwhite;
CC:50,colorgreen,DOTLINE;
DD:40,colorred;