Skip to content

KB / alert

CTA Trend Stack Crossed Threshold

Last verified

Auto-generated. This article is rebuilt from app/signals/config/alert_thresholds.json by scripts/build_alerts_kb.py. Edit the alert config and re-run the script — do not edit this file directly.

CTA Trend Stack Crossed Threshold

Alert ID: CTA_STACK_FLIP
Category: positioning
Cross-detection: yes

SPY moved past three of the four CTA trigger SMAs (full-stack 4 = systematic long signal, 0 = systematic short signal). Cross detection — fires only on the transition, not on the persistent state.

Severity

WARNING — conditions deteriorating; worth monitoring

Trigger condition

{
  "field": "sma_stack_score",
  "op": "in",
  "value": [
    0,
    4
  ]
}

sma_stack_score in [0, 4]

Cross-detection alerts fire only on the transition into the trigger state — the condition must have been false on the previous evaluation. Persistent states do not re-fire.

Message template

CTA SMA stack now {sma_stack_score}/4 — systematic trend trigger fired. {sma_stack_label}.

Rendered with the current signals dict via Python str.format. Placeholders that fail to resolve fall back to the raw template (see _format_message in app/signals/alerts.py).

Cooldown / dedup

Notifies

See also