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

Vectorized TV alma indicator #489

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Vectorized TV alma indicator #489

merged 3 commits into from
Sep 12, 2024

Conversation

bkamuz
Copy link
Contributor

@bkamuz bkamuz commented Sep 11, 2024

Source: Tradingview "Arnaud Legoux Moving Average"

Pinescript Author: Arnaud Legoux and Dimitrios Douzis-Loukas

  • Description:
    Gaussian distribution that is shifted with
    a calculated offset in order for
    the average to be biased towards
    more recent days, instead of more
    evenly centered on the window.

  • Args:
    dataframe : Pandas Dataframe
    length : ALMA windowframe
    offset : Shift
    sigma : Gaussian Smoothing
    field : Field to use for the calculation

  • Returns :
    dataframe : Series of ALMA values

I've tested this indicator with freqtrade for personal strategy and it works well. Here is comparison of TV version and FT version

Screenshot from 2024-09-11 18-09-12

Screenshot from 2024-09-11 18-11-18

@xmatthias xmatthias enabled auto-merge September 12, 2024 18:20
Copy link
Member

@xmatthias xmatthias left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Thanks for your contribution 💯

@xmatthias xmatthias merged commit cf6decb into freqtrade:main Sep 12, 2024
25 checks passed
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