Interface MarketProfilePrimitiveOptions

interface MarketProfilePrimitiveOptions {
    blockDisplay: MpBlockDisplay;
    buyTailColor: string;
    color: string;
    colorMode: MpColorMode;
    countColor: string;
    developingPocColor: string;
    developingVaColor: string;
    fillValueArea: boolean;
    font: number;
    ibColor: string;
    labelColor: string;
    letterFade: number;
    letterWidth: number;
    minLetterHeight: number;
    nakedColor: string;
    opacity: number;
    outsideVaOpacity: number;
    periodColors: readonly string[];
    pocColor: string;
    pocThickness: number;
    poorColor: string;
    profileSpacing: number;
    sellTailColor: string;
    showDayType: boolean;
    showDevelopingPoc: boolean;
    showDevelopingVa: boolean;
    showInitialBalance: boolean;
    showNakedLevels: boolean;
    showOpenType: boolean;
    showPoc: boolean;
    showPocLabel: boolean;
    showPoorHighLow: boolean;
    showSessionLabel: boolean;
    showSinglePrints: boolean;
    showTails: boolean;
    showTpoCounts: boolean;
    showValueArea: boolean;
    showValueAreaLabels: boolean;
    showVolumeProfile: boolean;
    showVolumeValues: boolean;
    singlePrintColor: string;
    split: boolean;
    vaColor: string;
    vahColor: string;
    valColor: string;
    valueAreaFillColor: string;
    valueAreaFillOpacity: number;
    volumeColor: string;
    volumeProfileSide: "left" | "right";
    volumeProfileWidth: number;
    zOrder: ZOrder;
}

Properties

blockDisplay: MpBlockDisplay

How blocks render. auto crossfades letters to bricks — see the note above.

buyTailColor: string
color: string
colorMode: MpColorMode
countColor: string
developingPocColor: string
developingVaColor: string
fillValueArea: boolean
font: number

Letter font size in media px. Auto-shrinks to fit short rows.

ibColor: string
labelColor: string
letterFade: number

Height (px) over which the letter fades in above minLetterHeight.

letterWidth: number

Width of one TPO column in media px.

minLetterHeight: number

Row height (px) below which a letter no longer fits and bricks take over.

nakedColor: string
opacity: number
outsideVaOpacity: number

Dim blocks outside the value area to this alpha (1 = no dimming).

periodColors: readonly string[]

Period palette for colorMode: 'period'.

pocColor: string
pocThickness: number
poorColor: string
profileSpacing: number

Gap in px between session profiles.

sellTailColor: string
showDayType: boolean
showDevelopingPoc: boolean

Trace the POC / value area as they developed through the session.

showDevelopingVa: boolean
showInitialBalance: boolean
showNakedLevels: boolean

Extend untraded prior POC / VAH / VAL to the right edge.

showOpenType: boolean
showPoc: boolean
showPocLabel: boolean
showPoorHighLow: boolean

Mark a session high / low that printed more than one TPO.

showSessionLabel: boolean

Session label / day type / open type text above each profile.

showSinglePrints: boolean
showTails: boolean

Buying / selling tails, when the model promoted them (tailEdges).

showTpoCounts: boolean

Per-level TPO count column, drawn just past the blocks.

showValueArea: boolean
showValueAreaLabels: boolean
showVolumeProfile: boolean
showVolumeValues: boolean

Print the volume number on each row (skipped when rows are tight).

singlePrintColor: string
split: boolean

Draw each period in its own column slot instead of packing rows left.

vaColor: string
vahColor: string
valColor: string
valueAreaFillColor: string
valueAreaFillOpacity: number
volumeColor: string
volumeProfileSide: "left" | "right"
volumeProfileWidth: number
zOrder: ZOrder