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;
}

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

The bar that triggered it: UTC seconds, and its index in bars.

title: string