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

Strange values EMA (?) #159

Closed
PhantoNull opened this issue May 12, 2020 · 3 comments
Closed

Strange values EMA (?) #159

PhantoNull opened this issue May 12, 2020 · 3 comments

Comments

@PhantoNull
Copy link

PhantoNull commented May 12, 2020

Hello, I was in the testing phase and I cannot understand why I got this strange values.

Basically what I needed was a percentage volume oscillator on 30-60 period.

So I started coding it and that's something curious since I can't find a way to get Tradingview values on my script.

Values from tradingView-Binance BTC/Usdt are just okay (volume also)
I have highlighted just few things of the last hystorical candle on the graph to compare on the next image.
Except RSI (almost same value) I got some really strange values for this PVO
image

I requested the last 66 hystorical (just to be sure and print some more result to check besides the last one) 15 min candles back and printed out the last 3.
It doesn't fetch the last candle (still open) on the graph obviously.
image

And this is the code for the pvo:
image

What could be the problem?
Thanks!

@PhantoNull
Copy link
Author

I just tried to add some more hystorical data and it just fixed. Felt a little dumb.

@bukosabino
Copy link
Owner

Hi @Phanto90 ,

Last version 0.5.25 (updated yesterday) fixes some problems related to the first values, probably it was solved. Let me know if you try again using the last version.

Also, I encourage you to add this Percentage Volumen Oscillator to the library.

Best,
Dario

@bukosabino
Copy link
Owner

Closing, because at this moment, PVO is available in the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants