Need help plotting RSI along with the price in the same window... Even if you help me find pieces of code, I may be able to string them together. I am new to thinkscript but I have done some programming.
I was first wondering if it possible. The reason I want to plot it along with the price is to see the divergence more clearly.
I was first wondering if it possible. The reason I want to plot it along with the price is to see the divergence more clearly.
- I don't care at all about the overbought or oversold.
- I would like to use Weighted average of the past X time periods
- SumGain = sum of points gained on the past X up periods
- SumLoss = sum of points lost on the past down periods
- RS = SumGain / SumLoss
- I want to plot the RSI = 100 - [100(1+RS)]
Last edited: