Get RSI to match Trading View #1145
duthiega
started this conversation in
Help and support
Replies: 1 comment 4 replies
-
RSI and many other indicators use a convergence type of smoothing average. As such, initial values are essentially a smart guess are often less accurate, as you're depicting. Over time they converge to be consistent values. To overcome, use more historical quotes that precede your evaluation period. More info: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could someone help me get the same RSI seen on TradingView using Binance?
https://www.tradingview.com/symbols/BTCUSDT/technicals/?exchange=BINANCE
/api/v3/klines?endTime={endTime}&limit={limit}&interval={timePeriod}&symbol=BTCUSDT
I not 100% sure that my understanding is correct as the documentation says "You must have at least N+100 periods of quotes to cover the convergence periods"
I have tried passing 140 as the limit above and used them to call
var rsiResult = candlesticks.GetRsi(14);
on my candlesticks, which implement IQuote
I've tried
rsiResult.First(e=>e.Rsi != null).Rsi
rsiResult.Last(e=>e.Rsi != null).Rsi
I've also tried other things like adding utility methods, but have varied results. Sometimes its within 1%, sometimes its up to 15% out. Any help on this would be greatly appreciated
Condense()
Find(lookupDate)
RemoveWarmupPeriods()
Maybe its just the fact i dont fully understand why i need to have a 10 times more data points
Beta Was this translation helpful? Give feedback.
All reactions