# Why there is a Deviation on my RSI indicator in comparison from one of the other Trading Markets

Hello all, and sorry for this stupid question. I am using my custom RSI indicator to which I created programmatically. I follow the equation type from here. My problem is when I compare it with the Trading view RSI indicator from TradingView (of course, for the same period). I have noticed many deviances sometimes. Lets take a look in an example. Let's assume in a specific time xx:xx, my custom indicator says RSI is 30.2103 and TradingView RSI says 29.8654(of course, for the same period). Why does this deviation happen? Could someone explain this to me, because I ave been struggling for so many hours to understand this problem and I would appreciate your help if you have the appropriate knowledge in this field.

• TradingView is probably using a simple moving average of past changes while you are using an exponential moving average. Try using a SMA and see if the results match. – Freelunch May 15 '18 at 13:57