Interface IndicatorFillOptions

interface IndicatorFillOptions {
    colorDown: string;
    colorUp: string;
    gradient?: FillGradient;
    opacity?: number;
}

Properties

colorDown: string

Fill colour where the second is above the first.

colorUp: string

Fill colour where the first series is above the second.

gradient?: FillGradient

Set to grade the band instead of flat-filling it, in place of colorUp/colorDown. A point carrying its own color still overrides it. Unset leaves the two-colour fill exactly as it was.

opacity?: number

0..1. Defaults to 0.12 — a band must not drown the candles it sits behind.