OPEN-SOURCE SCRIPT

EMA Cross Alert V666 [noFuck]

63
EMA Cross Alert — What it does
EMA Cross Alert watches three EMAs (Short, Mid, Long), detects their crossovers, and reports exactly one signal per bar by priority: EARLY > Short/Mid > Mid/Long > Short/Long. Optional EARLY mode pings when Short crosses Long while Mid is still between them—your polite early heads-up.

Why you might like it
  • Three crossover types: s/m, m/l, s/l
  • EARLY detection: earlier hints, not hype
  • One signal per bar: less noise, more focus
  • Clear visuals: tags, big cross at signal price, EARLY triangles
  • Alert-ready: dynamic alert text on bar close + static alertconditions for UI


Inputs (plain English)
  • Short/Mid/Long EMA length — how fast each EMA reacts
  • Extra EMA length (visual only) — context EMA; does not affect signals
  • Price source — e.g., Close
  • Show cross tags / EARLY triangles / large cross — visual toggles
  • Enable EARLY signals (Short/Long before Mid) — turn early pings on/off
  • Count Mid EMA as "between" even when equal (inclusive) — ON: Mid counts even if exactly equal to Short or Long; OFF (default): Mid must be strictly between them
  • Enable dynamic alerts (one per bar close) — master alert switch
  • Alert on Short/Mid, Mid/Long, Short/Long, EARLY — per-signal alert toggles


Quick tips
  • Start with defaults; if you want more EARLY on smooth/low-TF markets, turn “inclusive” ON
  • Bigger lengths = calmer trend-following; smaller = faster but choppier
  • Combine with volume/structure/risk rules—the indicator is the drummer, not the whole band


Disclaimer
Alerts, labels, and triangles are not trade ideas or financial advice. They are informational signals only. You are responsible for entries, exits, risk, and position sizing. Past performance is yesterday; the future is fashionably late.

Credits
Built with the enthusiastic help of Code Copilot (AI)—massively involved, shamelessly proud, and surprisingly good at breakfasting on exponential moving averages.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.