Skip to content

DataSeries variables #3

@berlasso

Description

@berlasso

Hi, I'm trying to port some code from pine script but can't find a data series variable. I have this:

Hlv = 0 Hlv := close > sslsmaHigh ? 1 : close < sslsmaLow ? -1 : Hlv[1]

how can I refer the value of Hlv variable for the bar before current Hlv[1] ?

thanks

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