interface MarketProfileOptions {
    blockMinutes: number;
    compositeSessions: number;
    initialBalancePeriods: number;
    rowTicks: number;
    session: MarketProfileSession;
    tailEdges: number;
    tickSize: number;
    valueAreaPercent: number;
    window?: SessionWindow;
}

Properties

blockMinutes: number

TPO period length in minutes — one letter per period.

compositeSessions: number

Merge consecutive sessions into one profile (1 = off). With session: 'day', 5 gives a rolling weekly composite.

initialBalancePeriods: number

Number of opening periods that form the Initial Balance.

rowTicks: number

Ticks per TPO row, so row height is tickSize * rowTicks. This is the multiplier a trader thinks in: 2-point rows on a 0.1-tick instrument is 2 / 0.1 = 20. Keeping it separate from tickSize means widening rows never means lying about the instrument's real tick.

Session grouping. composite builds one profile over all bars.

tailEdges: number

Minimum run of consecutive single prints that promotes a buying / selling tail at a session extreme. 0 disables tail detection.

tickSize: number

Instrument tick size — the finest price increment (Nifty: 0.1).

valueAreaPercent: number

Value-area fraction of total TPOs (0..1).

window?: SessionWindow

Restrict each session to this window. Bars outside it are dropped.