M2:=5;N2:=35;
LC:=REF(C,1);
LC2:=REF(C,M2);
RS1:SMA(C-LC,5,1)/SMA(Abs(C-LC),5,1)*100,COLORFFC500;
RS2:SMA(C-LC2,N2,1)/SMA(ABS(C-LC2),N2,1)*100;
M2:=5;N2:=35;
LC:=REF(C,1);
LC2:=REF(C,M2);
RS1:SMA(C-LC,5,1)/SMA(Abs(C-LC),5,1)*100,COLORFFC500;
RS2:SMA(C-LC2,N2,1)/SMA(ABS(C-LC2),N2,1)*100;