N:=50;
ZS:=(INDEXC-REF(INDEXC,N))/REF(INDEXC,N)*100;
GG:=(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
RPS:(GG-ZS),COLORRED;
ZX:0 COLORGRAY;
N:=50;
ZS:=(INDEXC-REF(INDEXC,N))/REF(INDEXC,N)*100;
GG:=(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
RPS:(GG-ZS),COLORRED;
ZX:0 COLORGRAY;