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

Add variable periods to Awesome Oscillator #41

Open
joonis opened this issue Jan 17, 2019 · 2 comments
Open

Add variable periods to Awesome Oscillator #41

joonis opened this issue Jan 17, 2019 · 2 comments

Comments

@joonis
Copy link

joonis commented Jan 17, 2019

The periods of Awesome Oscillator (AO) are hardcoded to 5 and 34.
They should be variable by passing them as options.

@codeplea
Copy link
Member

Please provide your reasoning.

Do other charting libraries/programs allow AO with other periods?

@joonis
Copy link
Author

joonis commented Jan 17, 2019

Well, generally you are right. Most libs use hardcoded periods for this indicator.
But there also exist other libs:
https://technical-analysis-library-in-python.readthedocs.io/en/latest/ta.html#ta.momentum.ao

If you are working with intervals other than days (eg. hours or even minutes), it is useful and sometimes required that you can adjust these periods.

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