Rahul Mohindar Oscillator (RMO) Indicator for ThinkorSwim

BenTen

BenTen

Administrative
Staff
VIP
Rich (BB code):
# from TOS Yahoo Groups

declare lower;

Plot RMOSW2 = ExpAverage(100 *

(Close - ((SimplemovingAvg(Close, 2) +

SimplemovingAvg(SimplemovingAvg(Close, 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2), 2), 2)) / 10)) /

(Highest(Close, 10) - Lowest(Close, 10)), 30);

Plot RMOSW3 = ExpAverage(RMOSW2, 30);

Plot Zeroline = 0;
 
Last edited:
L

Lenaka

New member
Rich (BB code):
# from TOS Yahoo Groups

declare lower;

Plot RMOSW2 = ExpAverage(100 *

(Close - ((SimplemovingAvg(Close, 2) +

SimplemovingAvg(SimplemovingAvg(Close, 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2), 2) +

SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(SimplemovingAvg(Close, 2), 2), 2), 2), 2), 2), 2), 2), 2), 2)) / 10)) /

(Highest(Close, 10) - Lowest(Close, 10)), 30);

Plot RMOSW3 = ExpAverage(RMOSW2, 30);

Plot Zeroline = 0;
Hi, What is different for each of the "Close"?

For example, am I correct take it that the Close in "Close - ((SimplemovingAvg(Close, 2)" refers to today's close and the simple moving average takes's today's close and yesterday's close into account?

If my approach above is correct, then which close is the next leg of the formula "SimplemovingAvg(SimplemovingAvg(Close, 2), 2)" referring to?

Thank you,
 
Top