Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stochrsi %k and %d? #64

Closed
c0nf1ck opened this issue Nov 23, 2019 · 4 comments
Closed

Stochrsi %k and %d? #64

c0nf1ck opened this issue Nov 23, 2019 · 4 comments

Comments

@c0nf1ck
Copy link

c0nf1ck commented Nov 23, 2019

How can I calculate the value of %K and %D in stochrsi using this library?

Thanks

@codeplea
Copy link
Member

Sounds like you want stoch, not stochrsi.

@c0nf1ck
Copy link
Author

c0nf1ck commented Nov 23, 2019

Hey @codeplea, no, I want stochrsi just like trading view. As u can see:

Screenshot_20191123-151405__01

There's a way to calculate using this library?

@codeplea
Copy link
Member

Ah, what trading view does isn't really stochrsi. It's just stoch run over rsi. You can calculate it by running rsi first, then running stoch on that output (using rsi output as the high, low, and close inputs to stoch).

Tulip Indicators will probably offer this as a built-in function in the future, but for now it takes these two passes. See here for more info: TulipCharts/tulipindicators#23

@c0nf1ck
Copy link
Author

c0nf1ck commented Nov 24, 2019

Ohh ok. That's ok then

Thanks @codeplea

@c0nf1ck c0nf1ck closed this as completed Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants