OPEN-SOURCE SCRIPT
已更新 EMA Touch Alert Realtime (Once Per Bar)

This alert notifies you when the price touches the EMA you set. Once it notifies you, it is designed not to notify you again on that same candlestick.
版本注释
📘 English Description for Your EMA Touch Alert ScriptDescription:
This script alerts you in real-time when the price touches a customizable Exponential Moving Average (EMA).
It is designed for traders who want minimal visual clutter and precise, non-repetitive notifications.
Features:
• ✅ Real-time detection (no need to wait for candle close)
• ✅ Alerts only once per bar to avoid duplicates
• ✅ Visual markers (triangles) appear only when touched
• ✅ EMA length is adjustable via settings
• ✅ No EMA line displayed — clean chart design
How it works:
• When the price touches the EMA from above or below, a triangle appears on the candle and an alert is triggered.
• Alerts are managed internally using a per-bar flag to ensure they fire only once per candle.
Ideal for scalpers, breakout traders, and anyone who wants fast, reliable EMA touch notifications without noise.
🇯🇵 日本語説明文(投稿用)
説明文:
このスクリプトは、価格が設定したEMAにタッチした瞬間にリアルタイムで通知してくれるインジケーターです。
チャートを極力シンプルに保ちながら、必要なタイミングだけ確実にアラートを受け取りたいトレーダー向けに設計されています。
特徴:
• リアルタイムでEMAタッチを検出(足確定を待たない)
• 1本のローソク足につき1回だけアラートを発動(重複通知なし)
• タッチした瞬間だけ三角マークを表示
• EMAの長さは自由に変更可能
• EMAラインは非表示で、チャートがスッキリ
動作概要: 価格がEMAに触れた瞬間、上抜け・下抜けを判定し、
リアルタイムでアラートと視覚的なマークを1回だけ表示します。
スキャルピングや短期トレードでの反応速度を重視する方に最適です。
#EMA #Alert #Realtime #Scalping #Indicator #PineScript #TouchAlert #Minimalist #Forex #Crypto #Stocks
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。