PROTECTED SOURCE SCRIPT
Güncellendi Daily Signal Alert

**📄 English Description (English version)**
**Indicator Name:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
This all-in-one indicator combines multiple technical analysis tools into a single dashboard to help you read market movements easily and make better trading decisions.
It provides technical signals, key support/resistance levels, and a basic volume profile, along with a smart alert system.
**Included Indicators:**
1. **Exponential Moving Averages (EMA 9/20/50):**
* Shows current trend by comparing EMA9 & EMA20 with EMA50.
* Generates bullish and bearish crossover signals.
2. **MACD (12/26/9):**
* Generates bullish and bearish crossovers between MACD line and Signal line.
3. **Relative Strength Index (RSI 14):**
* Detects overbought (RSI > 70) and oversold (RSI < 30) conditions.
4. **Average Directional Index (ADX 14):**
* Measures trend strength and indicates if the trend is bullish or bearish.
5. **Candle Behavior (Squeeze):**
* Compares the current candle size with the previous one to detect momentum squeeze/expansion.
6. **Relative Volume (RVOL):**
* Shows if current volume is above or below average.
7. **Traditional Pivot Levels (Daily / Weekly / Monthly / Auto):**
* Displays key support and resistance levels.
8. **Approximate Volume Profile (POC / VAH / VAL):**
* Identifies Point of Control (POC) and Value Area range.
**Features:**
* Option to display all signals or only the latest one (removing old ones).
* Dashboard table summarizing indicator states with automatic coloring.
* Automatic alerts when any signal appears.
* Auto mode for pivot timeframe selection.
* Basic volume profile to highlight accumulation/distribution zones.
**How to Use:**
* Enable or disable “Show All Signals” depending on your trading style.
* Monitor the dashboard to quickly check indicator states.
* Use Pivot Levels & Volume Profile for key market zones.
* Enable alerts to get notified immediately after a candle closes.
**📄 Arabic Description (الوصف العربي)**
**اسم المؤشر:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
هذا المؤشر المتكامل يجمع بين عدة أدوات تحليل فني في لوحة واحدة، ليساعدك على قراءة حركة السوق بسهولة واتخاذ قرارات تداول أفضل.
المؤشر يعرض إشارات فنية، مستويات دعم ومقاومة، وجانب من تحليل حجم التداول، بالإضافة إلى نظام تنبيه ذكي.
**المؤشرات المدمجة:**
1. **المتوسطات المتحركة الأسية (EMA 9/20/50):**
* يعرض الاتجاه الحالي عبر مقارنة EMA9 و EMA20 مع EMA50.
* إشارات تقاطع صاعدة وهابطة.
2. **مؤشر الماكد (MACD 12/26/9):**
* يعطي إشارات تقاطع صاعدة وهابطة بين خط الماكد وخط الإشارة.
3. **مؤشر القوة النسبية (RSI 14):**
* يحدد حالات التشبع الشرائي (RSI > 70) والتشبع البيعي (RSI < 30).
4. **مؤشر الاتجاه المتوسط (ADX 14):**
* يقيس قوة الاتجاه مع تحديد إذا كان صاعداً أو هابطاً.
5. **سلوك الشموع (Squeeze):**
* يقارن حجم الشمعة الحالية مع السابقة لتحديد ضغط أو انفراج الحركة.
6. **حجم التداول النسبي (RVOL):**
* يحدد إذا كان حجم التداول أعلى أو أقل من المتوسط.
7. **مستويات Pivot التقليدية (Daily / Weekly / Monthly / Auto):**
* تعرض نقاط الدعم والمقاومة الرئيسية.
8. **بروفايل الحجم التقريبي (POC / VAH / VAL):**
* يحدد نقطة التحكم (POC) ومنطقة القيمة.
**المزايا:**
* عرض جميع الإشارات أو آخر إشارة فقط (مع حذف الإشارات القديمة).
* جدول ملخص لحالة كل مؤشر مع تلوين تلقائي.
* تنبيهات تلقائية عند ظهور أي إشارة فنية.
* دعم الوضع التلقائي لاختيار إطار مستويات الـ Pivot.
* عرض بروفايل حجم تداول تقريبي لمناطق التجميع/التوزيع.
**طريقة الاستخدام:**
* فعّل أو عطّل عرض جميع الإشارات حسب أسلوبك.
* راقب الجدول لمعرفة حالة المؤشرات لحظياً.
* استخدم مستويات الـ Pivot والبروفايل لتحديد مناطق الدعم والمقاومة.
* فعّل التنبيهات لتصلك الإشارات فور إغلاق الشمعة.
**Indicator Name:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
This all-in-one indicator combines multiple technical analysis tools into a single dashboard to help you read market movements easily and make better trading decisions.
It provides technical signals, key support/resistance levels, and a basic volume profile, along with a smart alert system.
**Included Indicators:**
1. **Exponential Moving Averages (EMA 9/20/50):**
* Shows current trend by comparing EMA9 & EMA20 with EMA50.
* Generates bullish and bearish crossover signals.
2. **MACD (12/26/9):**
* Generates bullish and bearish crossovers between MACD line and Signal line.
3. **Relative Strength Index (RSI 14):**
* Detects overbought (RSI > 70) and oversold (RSI < 30) conditions.
4. **Average Directional Index (ADX 14):**
* Measures trend strength and indicates if the trend is bullish or bearish.
5. **Candle Behavior (Squeeze):**
* Compares the current candle size with the previous one to detect momentum squeeze/expansion.
6. **Relative Volume (RVOL):**
* Shows if current volume is above or below average.
7. **Traditional Pivot Levels (Daily / Weekly / Monthly / Auto):**
* Displays key support and resistance levels.
8. **Approximate Volume Profile (POC / VAH / VAL):**
* Identifies Point of Control (POC) and Value Area range.
**Features:**
* Option to display all signals or only the latest one (removing old ones).
* Dashboard table summarizing indicator states with automatic coloring.
* Automatic alerts when any signal appears.
* Auto mode for pivot timeframe selection.
* Basic volume profile to highlight accumulation/distribution zones.
**How to Use:**
* Enable or disable “Show All Signals” depending on your trading style.
* Monitor the dashboard to quickly check indicator states.
* Use Pivot Levels & Volume Profile for key market zones.
* Enable alerts to get notified immediately after a candle closes.
**📄 Arabic Description (الوصف العربي)**
**اسم المؤشر:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
هذا المؤشر المتكامل يجمع بين عدة أدوات تحليل فني في لوحة واحدة، ليساعدك على قراءة حركة السوق بسهولة واتخاذ قرارات تداول أفضل.
المؤشر يعرض إشارات فنية، مستويات دعم ومقاومة، وجانب من تحليل حجم التداول، بالإضافة إلى نظام تنبيه ذكي.
**المؤشرات المدمجة:**
1. **المتوسطات المتحركة الأسية (EMA 9/20/50):**
* يعرض الاتجاه الحالي عبر مقارنة EMA9 و EMA20 مع EMA50.
* إشارات تقاطع صاعدة وهابطة.
2. **مؤشر الماكد (MACD 12/26/9):**
* يعطي إشارات تقاطع صاعدة وهابطة بين خط الماكد وخط الإشارة.
3. **مؤشر القوة النسبية (RSI 14):**
* يحدد حالات التشبع الشرائي (RSI > 70) والتشبع البيعي (RSI < 30).
4. **مؤشر الاتجاه المتوسط (ADX 14):**
* يقيس قوة الاتجاه مع تحديد إذا كان صاعداً أو هابطاً.
5. **سلوك الشموع (Squeeze):**
* يقارن حجم الشمعة الحالية مع السابقة لتحديد ضغط أو انفراج الحركة.
6. **حجم التداول النسبي (RVOL):**
* يحدد إذا كان حجم التداول أعلى أو أقل من المتوسط.
7. **مستويات Pivot التقليدية (Daily / Weekly / Monthly / Auto):**
* تعرض نقاط الدعم والمقاومة الرئيسية.
8. **بروفايل الحجم التقريبي (POC / VAH / VAL):**
* يحدد نقطة التحكم (POC) ومنطقة القيمة.
**المزايا:**
* عرض جميع الإشارات أو آخر إشارة فقط (مع حذف الإشارات القديمة).
* جدول ملخص لحالة كل مؤشر مع تلوين تلقائي.
* تنبيهات تلقائية عند ظهور أي إشارة فنية.
* دعم الوضع التلقائي لاختيار إطار مستويات الـ Pivot.
* عرض بروفايل حجم تداول تقريبي لمناطق التجميع/التوزيع.
**طريقة الاستخدام:**
* فعّل أو عطّل عرض جميع الإشارات حسب أسلوبك.
* راقب الجدول لمعرفة حالة المؤشرات لحظياً.
* استخدم مستويات الـ Pivot والبروفايل لتحديد مناطق الدعم والمقاومة.
* فعّل التنبيهات لتصلك الإشارات فور إغلاق الشمعة.
Sürüm Notları
# English — Feature Differences**Updated Script #1**
**MACD “quiet/strong” classifier for the table**
Uses MACD histogram σ-band to label: *MACD Sideways / ↑ / ↓ / ↑ Strong / ↓ Strong*.
**BullScore / BearScore (0–10) + Preffer decision**
Weighted blend (EMA, MACD, ADX, RSI, Squeeze, RVOL) → shows **Buy / Sell / Exit / Wait** with colored cell and thresholds (Enter 6.5 / Exit 5.5).
**Fully configurable indicators table**
Toggle rows (EMA9, EMA20, MACD, ADX, Squeeze, RSI, RVOL, BullScore, BearScore, Preffer). Auto-cleans hidden rows.
**More robust Volume Profile (POC/VAH/VAL)**
Draws even when bars < lookback via adaptive `lookbackEff`, has **Minimum bars** option, cleans lines/labels when disabled or data is insufficient.
**UX niceties**
Table refresh + cleanup logic to avoid stale cells; clearer titles for fills; extra RVOL text formatting.
**In short**
* *Script #1* = richer diagnostics (quiet/strong MACD), scoring & trade bias (Bull/Bear/Preffer), resilient VP, customizable table.
# العربي — فروقات المميزات
**حصريًا في السكربت المحدث**
* **تصنيف MACD “هادئ/قوي” للجدول**
يعتمد انحرافًا معياريًا لهيستوجرام MACD لتحديد: *Sideways / ↑ / ↓ / ↑ Strong / ↓ Strong*.
* **درجات BullScore/BearScore (0–10) + قرار Preffer**
مزج موزون (EMA, MACD, ADX, RSI, Squeeze, RVOL) ⇒ يخرج **Buy / Sell / Exit / Wait** مع لون وحدود دخول/خروج (6.5/5.5).
* **جدول ديناميكي قابل للتخصيص**
خيارات إظهار/إخفاء للصفوف (EMA9, EMA20, MACD, ADX, Squeeze, RSI, RVOL, Bull, Bear, Preffer) مع تنظيف تلقائي.
* **Volume Profile أكثر مرونة (POC/VAH/VAL)**
يعمل حتى لو الشموع أقل من lookback عبر `lookbackEff`، خيار **حد أدنى للشموع**، وحذف الخطوط/الملصقات عند التعطيل أو نقص البيانات.
* **تحسينات تجربة الاستخدام**
تحديث/تنظيف الجدول دوريًا لتفادي بقايا قديمة، عناوين أوضح، وتنسيق RVOL أدق.
**الخلاصة**
* *الأول* = تحليل أعمق، درجات واتجاه مفضّل، VP مرن، وجدول قابل للتخصيص.
Sürüm Notları
# English — What changed between the two scripts1. **“Preffer” logic (naming + thresholds)**
* **V1** uses options-style wording **Call / Put**, with thresholds:
`TH_ENTER = 5.5`, `TH_EXIT = 0.5`.
* **V2** uses classic wording **Buy / Sell**, with stricter thresholds:
`TH_ENTER = 6.5`, `TH_EXIT = 5.5`.
* **Color chips** match the wording in each version (green for Call/Buy, red for Put/Sell, orange for Exit, silver for Wait).
2. **Preffer change alert**
* **V1** emits a dedicated alert **when the Preffer state changes** (Call/Put/Exit/Wait):
* Numeric state mapping (`prefferState`)
* `prefChanged = ta.change(prefferState)`
* `alertcondition(prefChanged, title="📢 Option Signal", ...)` + a detailed `alert(...)` message including Bull/Bear scores.
* **V2**: **does not** include a Preffer-change alert block.
3. **Unified signal alert message**
* Both versions raise a general **“📢 Daily Signal”** alert when any of EMA/MACD/ADX events occur.
* **Message text differences**:
* **V1**: Builds `signalMsg` for EMA9/EMA20/MACD only. If the trigger is **ADX** alone, the alert fires with an **empty message**.
* **V2**: Adds explicit ADX messages:
“ADX crossed ABOVE 25” / “ADX crossed BELOW 20”.
4. **ADX state string (typo/arrow)**
* **V1**: Downtrend string is **`"ADX ↓ (Strong Downtrend)"`** (correct).
* **V2**: Downtrend string is **`"ADX ↑ (Strong Downtrend)"`** (arrow up by mistake).
This also appears in the table color check. It’s a **typo**—should be **↓** to match the downtrend.
5. **Output wording in table**
* **V1** table shows **Call/Put** value in the “Preffer” row.
* **V2** table shows **Buy/Sell** value in the “Preffer” row.
> Everything else (EMAs/MACD/RSI/ADX math, Approx Volume Profile POC/VAH/VAL, Traditional Pivots, RVOL, Bull/Bear scoring weights) is effectively the same.
---
# العربي — الفروقات بين النسختين
1. **منطق “Preffer” (التسمية + العتبات)**
* **الإصدار الأول** يستخدم أسلوب الأوبشنز **Call / Put** مع العتبات:
`TH_ENTER = 5.5` و `TH_EXIT = 0.5`.
* **الإصدار الثاني** يستخدم تسميات تقليدية **Buy / Sell** مع عتبات أشد:
`TH_ENTER = 6.5` و `TH_EXIT = 5.5`.
* **ألوان الحقول** متوافقة مع كل تسمية (أخضر Call/Buy، أحمر Put/Sell، برتقالي Exit، فضي Wait).
2. **تنبيه تغيّر حالة الـ Preffer**
* **الإصدار الأول** يرسل تنبيهًا خاصًا عند **تغيّر حالة Preffer** (Call/Put/Exit/Wait):
* تحويل الحالة لأرقام (`prefferState`)
* `prefChanged = ta.change(prefferState)`
* `alertcondition(prefChanged, title="📢 Option Signal", ...)` + رسالة `alert(...)` مفصلة تحتوي قيم Bull/Bear.
* **الإصدار الثاني**: **لا يحتوي** كتلة تنبيه تغيّر الـ Preffer.
3. **رسالة التنبيه الموحّد للإشارات**
* كلاهما يرسل تنبيه **“📢 Daily Signal”** عند حدوث أي من إشارات EMA/MACD/ADX.
* **اختلاف نص الرسالة**:
* **الإصدار الأول** يبني `signalMsg` لـ EMA9/EMA20/MACD فقط. إذا كانت الإشارة من **ADX فقط** فسيتم إرسال التنبيه **بدون نص**.
* **الإصدار الثاني** أضاف نصوصًا صريحة لـ ADX:
“ADX crossed ABOVE 25” / “ADX crossed BELOW 20”.
4. **سلسلة حالة ADX (خطأ سهم/تايبـو)**
* **الإصدار الأول**: اتجاه هابط مكتوب بشكل صحيح: **`"ADX ↓ (Strong Downtrend)"`**.
* **الإصدار الثاني**: مكتوب بالخطأ: **`"ADX ↑ (Strong Downtrend)"`** (سهم لأعلى بدل لأسفل)، وكذلك في شرط تلوين الجدول. هذا **خطأ مطبعي** ويجب أن يكون **↓**.
5. **صياغة المخرجات في الجدول**
* **الإصدار الأول** يعرض **Call/Put** في صف “Preffer”.
* **الإصدار الثاني** يعرض **Buy/Sell** في صف “Preffer”.
> ما عدا ذلك (حسابات EMA/MACD/RSI/ADX، بروفايل الحجم التقريبي POC/VAH/VAL، البيفوتات التقليدية، RVOL، أوزان Bull/Bear) متطابق تقريبًا.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.