Unable to produce StochRSI with TEMA as a source.
See original GitHub issueHello… I’ve been working with this component a couple of months now. I’ve built my project around it. It’s great.
I am having a bit of difficulty trying to replicate an indicator on my chart.
I need to create a StochRSI (1,1,5,2) with the source of it’s data from TEMA(9). I’m only interested in the K of the StochRSI, which produces 0 and 100 only.
Here is what it looks like in TradingView:
My problem is that when I try to do this. I only get 0 and nothing else. I’m supposed to get 100 for certain candles.
Here is my code:
//convert candles
var quotes = s.CandleHistories.Select(c => new Quote()
{
Date = c.Time.DateTime,
Open = c.Open,
High = c.High,
Low = c.Low,
Close = c.Close,
Volume = c.Volume
});
//Get tema values
var tema9 = quotes.GetTema(9);
//Get StochRSI with Tema9 as source
var temaquotes = tema9
.Where(x => x.Tema.HasValue)
.Select(x => new Quote() {
Close = Convert.ToDecimal(x.Tema.Value),
Date = x.Date
});
//This output ONLY produces 0... no 100s
var stochrsiTema = temaquotes.GetStochRsi(1,1,5,2);
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Stoch RSI is broken · Issue #203 · TA-Lib/ta-lib-python
I got it working by using Tulip indicators and calling fastk, fastd = ti.stoch(rsi, rsi, rsi, 14, 3, 3) , still can't get...
Read more >TA-Lib
TA-Lib is widely used by trading software developers requiring to perform technical analysis of financial market data. Includes 150+ indicators such as ADX, ......
Read more >StochRSI - thinkorswim Learning Center
The Stochastic RSI technical indicator applies Stochastic Oscillator to values of the Relative Strength Index (RSI). The indicator thus produces two main plots ......
Read more >pine script - Adding Stochastic RSI, DMI and RSI together
I am trying to add Stochastic RSI, DMI and RSI together in trading view, but encountering this following error - "Add to Chart...
Read more >Stochastic RSI Explained
Stochastic RSI is a technical analysis indicator used to determine whether an asset is overbought or oversold.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh Wow… What a stupid mistake…
Thanks for the help again. At least we got the GetStochRsi method to chain with GetTema 😃
I’ll try to take a look this weekend. Thanks for the extra info.
I usually wait for GA before taking on new .NET versions, but got ahead of myself on this one. I sorta regret it as it requires me to keep two versions of Visual Studio on my computer and it breaks some VS Code IDE compatibility. Probably won’t do it again.