• Supertrend value + direction per bar. Warmup bars carry value=NaN, and so does a bar with no ATR or no close. Such a bar leaves the bands, the direction and the last accepted close as they stood, and the next complete bar carries on from them.

    Parameters

    • bars: readonly Bar[]
    • period: number = 10
    • multiplier: number = 3

    Returns SupertrendPoint[]