I was trying to add RSI to one of my algorithms, and it looked like it was completely off, so I built a simple rsi buy/sell algorithm to debug. If you open trading view and input a 14 RSI using EMA on 1Minute resolution, it is clear that things are very wrong. Originally I was using consolidated data and a constructor, so I thought that might be it, but this backtest is literally as barebones as it gets, and the values are way off. What gives? 

 

 

Author