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

Make moving averages inside indicators customizable #99

Merged
merged 2 commits into from
Dec 27, 2023
Merged

Make moving averages inside indicators customizable #99

merged 2 commits into from
Dec 27, 2023

Conversation

nardew
Copy link
Owner

@nardew nardew commented Dec 27, 2023

Issue #90

@nardew nardew mentioned this pull request Dec 27, 2023
Merged
@nardew nardew merged commit 33eca70 into v2.x Dec 27, 2023
15 checks passed
@nardew nardew deleted the ma_type branch December 27, 2023 14:33
@nardew nardew added this to the 2.x milestone Dec 27, 2023
nardew added a commit that referenced this pull request Dec 27, 2023
Make moving averages inside indicators customizable
return None
else:
return self.sma_fast[-1] - self.sma_slow[-1]
return self.ma_fast[-1] - self.ma_slow[-1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name this fast_ma, slow_ma (as we have fast_period, slow_period...)

nardew added a commit that referenced this pull request Dec 29, 2023
Make moving averages inside indicators customizable
@nardew nardew mentioned this pull request Dec 31, 2023
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

Successfully merging this pull request may close these issues.

2 participants