Skip to content

Ichimoku indicator error #261

@werlang

Description

@werlang

It seems that the Ichimoku indicator spanA and spanB lines are calculated wrong.
They should be plotted displacement periods in the future, but they are not.

Here is a reference for the calculation:
https://www.investopedia.com/terms/i/ichimoku-cloud.asp

I created a chart using TradingvVew lightweight charts, and plotted the ichimoku values as lines. To compare, I picked the same chart on TradingView with the ichimoku indicator enabled. It seems clear to me that the conversion and base lines are plotted right, but spanA and spanB are not plotted in the future, as they should be.

image

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