Skip to content

ALMA - discrepancy between talipp and tradingview #128

@filipemarques87

Description

@filipemarques87

First of all, congratulation for this library, it is really cool for realtime processing.

I was checking the ALMA indicator and I noticed some discrepancy between this library and tradingview.

I did some tests and update the code to this, the results are now the same

s = self.period / self.sigma # s = self.period / float(self.sigma) -> no need the float cast
m = (self.period - 1) * self.offset # m = int((self.period - 1) * self.offset) -> the int cast is truncating the decimal part

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions