I am comparing the RSI values that I am getting with quantconnect and the RSI values that tradingview is giving and they are not the same. I have been testing and trying to change things to get the values to line up but I can't seem to figure out what is going on.
Is it something to do with the daily time frame and the data normalization modes? Is it from the moving average type while setting the RSI? Is it from the sources not being the close? I have no idea.
Mike Lin
Hi Mason,
I'm also learning about indicators and was confused here, so I took a closer look. There are a few differences that I see here:
I believe that QuantConnect uses MovingAverageType.Wilders by default which should match TradingView.
Mason Jackson
Thank you for your response, I couldn't get it to work quite like I wanted in quant connect and ended up coding my strategy in tradingview. Ended up being a very flat strategy. Still weird that I couldn't get it to work in quant connect though
Louis Szeto
Hi Mason and Mike
We had cross checked our indicator values with 3rd party sources and they were aligned if correctly applied. Please refer to this doc for some insights. If you need further assistance, please also attach images/numbers showing the descrepancy, so that we have sufficient information for debugging.
Best
Louis
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
David Eldringhoff
Yeah if you can post up some code that may help. I had this same issue when I first started running RSI values. However, it wasn't quant connect, it was my code. Once I changed things the values are nearly perfect to tradingview on multiple time frames
Mason Jackson
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!