-
Notifications
You must be signed in to change notification settings - Fork 60
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
SOBV uses SMA but any smoother from MAFactory could probably be used #146
Comments
Maybe we could even have something more general (let's call this a smoother) which could take the following parameters:
whom role is to "smooth" values of an indicator SOBV will be defined like so (for example)
and could be used like so
Smoothing indicators which have several values will need to pass a value extractor |
implements such an idea... but with a slightly different API idea We have now in this PR
|
Hi @femtotrader , first, sorry for not following up on all the discussions you opened. It's very appreciated but currently I cannot allocate time for this project. I will return to them as soon as possible. Regarding a generic smoother, we can instantiate any MA object directly and pass another indicator into it via indicator chaining like bellow:
This way you can smooth anything via any MA without need for any new object. Does it fit what you are proposing? |
Hi @nardew , We all have life outside GH! no problem. My idea was to create SOBV class from OBV class and a moving average class... without setting period neither instantiating the classes. Kind regards |
talipp/talipp/indicators/SOBV.py
Line 44 in ed5e0e1
The text was updated successfully, but these errors were encountered: