Type : Indicator, Name : Macd RS Ratio
Inputs:
R(12),
S(26),
Q(9),
Price(close of data1/close of data2);
Vars:
Mo(0),Avg(0);
Mo=MACD(Price,R,S);
Avg=Xaverage(MACD(Price,R,S),Q);
Plot1(Mo,»Momentum»);
Plot2(Avg,»Avgerage»);
Plot3(Mo-Avg,»Difference»);