N:=9;M:=14;N1Y:=6;TYP := (HIGH + LOW + CLOSE)/3;CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;C1R:=SMA(CC1,3,1);C2R:=SMA(C1R,3,1);C3R:=3*C1R-2*C2R;CB1:=EMA(C3R,5);LC := REF(CLOSE,1);1:=SMA(MAX(CLOSE-LC,0),N1Y,1)/SMA(A(CLOSE-LC),N1Y,1)*100;RSI:=(RSI1-50)*5,LINETHICK2,COLOR0000FF;R1:=SMA(RSI,3,1);DD1:=SMA(R1,3,1);J1:=3*R1-2*DD1;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1>RR2;RRSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K11:=SMA(RRSV,5,1);D11:=SMA(K11,3,1);J11:=3*K11-2*D11;KKK:=SMA(RRS