OPEN-SOURCE SCRIPT
EMA Cross Alert V666 [noFuck]

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
Inputs (plain English)
Quick tips
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.
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.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.