Documentation menu

Interface

BarFlag

Quality of one bar, for Series.setBarFlags. filled: filled in by the data source (no real trades), drawn hollow. clipped: you clipped an outlier wick (the bar holds the clipped values; keep the raw ones and show them in your tooltip); a tick marks each end of the wick. A bar without trades is a gap bar (all prices NaN), not a flag.

Properties

NameTypeDescription
timenumber | bigint | Date
filled?boolean
clipped?boolean

Declaration

export interface BarFlag {
    time: number | bigint | Date;
    filled?: boolean;
    clipped?: boolean;
}

Used by

Series