N:=14;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;
RIFF : EMA(RSI,12) - EMA(RSI,26);
REA : EMA(RIFF,9);
RACD : 2*(RIFF-REA), COLORSTICK;

N:=14;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;
RIFF : EMA(RSI,12) - EMA(RSI,26);
REA : EMA(RIFF,9);
RACD : 2*(RIFF-REA), COLORSTICK;