Interface IndicatorAlertPayload

Payload of the 'indicator:alert' event on the chart's own bus.

interface IndicatorAlertPayload {
    alertId: string;
    index: number;
    indicatorId: string;
    instanceId: string;
    message: string;
    time: number;
    title: string;
}

Hierarchy (View Summary)

Properties

alertId: string
index: number
indicatorId: string

Descriptor id, e.g. 'macd'.

instanceId: string

Instance id, so a host can tell three EMAs apart.

message: string
time: number

Source bar UTC seconds and source index, not delivery wall-clock time.

title: string