RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50;Kv:=(RSV,3,1);Dv:=SMA(Kv,3,1);Jv:=3*Kv-2*Dv;zdzk1:=EMA(Jv,6);zdzk2:=REF(zdzk1,1);:IF(zdzk1>=zdzk2,zdzk1+2,zdzk2),,COLORRED;:IF(zdzk2-zdzk1,zdzk2,zdzk1),,COLOR334499;xw1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));xw2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));xw3:=SUM(xw1,21);xw4:=SUM(xw2,21);xw5:=IF(xw3>xw4,(xw3-xw4)/xw3,IF(xw3=xw4,0,(xw3-xw4)/xw4));{14天}RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(A(C-REF(C,1)),14,1)*100;ZD:= EMA(EMA(EMA(RS,7),3),3);ZD1