Skip to content

plotting an indicator like super trend #573

@Mhrashtchi

Description

@Mhrashtchi

Question

Hi,
I want to plot a SuperTrend indicator whose values are stored in the sup_v vector and whose direction values (trend_dir) contain -1 and 1. I want to draw it as one continuous line, not as multiple line segments. The plot should look like a standard SuperTrend, with green color when trend_dir = -1 and red color when trend_dir = 1.
best regards

Code example

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