RSI values seem off


So I’m sure this is a fundamental misunderstanding; I’m trying to use RSI in my pipeline, just simply as:

from import RSI
rsi = RSI(inputs=[USEquityPricing.close], window_length=3)

I’m outputting these values, but when I manually check them in TradingView for an RSI 3 day, the values are wildly different. I’m trying to filter to include RSI < 35. ENPH In this case:

S=ENPH; rsi=29.032258064517023;

Checking this in TradingView, I’m seeing an RSI of 80+. I’m looking at the source for RSI and I guess I’m not looking at the right thing.

I’m also getting a lot of values of 0

Any ideas or can someone point me to the correct place? I’m using a funded, live trading account.

Nevermind - I figured it out - the RSI in the factors is the Connors RSI, not Wilder’s.