feature

Emit not collected

You expected definition events to show up in Collect or in a study, but nothing is there.

Most often the emit is missing a label, the event id was never declared, oncePer suppressed repeats, or Collect was run on the wrong version / range.

Checklist

  1. meta.kind is "flow" — required for Collectable emits.

  2. Event declaredevents.declare({ id }) matches ctx.emit id.

  3. Label present — missing labels are dropped at runtime (events/emit-missing-label).

  4. oncePer not suppressing — keys / windowBars may block repeats you expected.

  5. Snapshot / version — Collect the version that contains your emit logic.

  6. Instrument / range / timeframe — Collect settings must cover bars where conditions fire.

  7. Study aliasctx.event.flow must match flows.declare({ as }), not necessarily the slug.

Minimal verify emit

ctx.emit("tick", { reason: "test" }, {
  label: "Test tick",
  price: ctx.close,
  timeStart: ctx.time,
});

If even this never Collects, check kind, snapshot, and Collect range before debugging study filters.

Next

  1. Emit and labels

  2. Collect a dataset