PROTECTED SOURCE SCRIPT
MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals

Indicator Title: MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals
Script Description:
Overview
The "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals" indicator is a comprehensive Pine Script™ tool for multi-timeframe (MTF) analysis. It offers a detailed dashboard displaying Stochastic, MACD, and RSI values across up to five user-configurable timeframes. Distinctly, it generates powerful, hierarchical alignment signals (S3, S4, S5) based solely on Stochastic conditions across these timeframes, and provides optional background coloring to visually represent broader trend agreement based on Stochastic. This indicator aims to provide traders with a deeper market perspective by consolidating a multi-indicator informational table and specific Stochastic-based signals onto the current chart.
Key Features:
• Multi-Timeframe Dashboard (Stochastic, MACD, RSI): Displays Stochastic (%K, %D, Status), MACD (Line, Signal, Status), and RSI (Value, SMA, Status) for up to five customizable timeframes (TF1 to TF5).
• Hierarchical Stochastic Alignment Signals (S3, S4, S5): Signals are generated based on a sequence of Stochastic confirmations:
o TF1 Stochastic Cross Filter: Initial TF1 Stochastic crosses can be filtered by requiring the K-value to be below a certain level for bullish crosses (e.g., below 20, set 0 to disable) or above a certain level for bearish crosses (e.g., above 80, set 100 to disable).
o S3 Signal: Appears after a (potentially filtered) Stochastic cross on TF1 is confirmed by congruent Stochastic conditions on TF2 and TF3 (with K-level confirmations).
o S4 Signal: Builds upon S3, requiring additional confirmation from TF4's Stochastic.
o S5 Signal: The strongest signal, requiring confirmation from S4 and finally TF5's Stochastic.
• Dual Independent Optional Signal Filters:
o Moving Average (MA) Filter: Optionally filter S3-S5 signals using SMA, EMA, or WMA. Signals will only appear if aligned with the MA (e.g., price above MA for longs). Can be plotted independently.
o Volume Weighted Average Price (VWAP) Filter: Optionally filter S3-S5 signals using VWAP. Features advanced anchoring options (Session, Week, Month, Quarter, Year, Earnings, etc.). Signals will only appear if aligned with the VWAP. Can be plotted independently.
• Customizable Background Coloring (Stochastic-Based): Optionally colors the chart background when Stochastic indicators on TF3, TF4, and TF5 are all in bullish or bearish alignment.
• Extensive Customization: Configure all timeframes, indicator parameters (Stoch, MACD, RSI), signal confirmation K-levels, MA/VWAP filter settings, table appearance, and alert conditions.
• Alerts: The indicator defines multiple alert conditions (S3 Bull/Bear, S4 Bull/Bear, S5 Bull/Bear) that users can select when creating alerts manually in TradingView. Alert messages indicate active filters.
How It Works
1. Dashboard & MTF Data: The script fetches and calculates Stochastic, MACD, and RSI data for each of the five user-defined timeframes, presenting them in the on-chart table.
2. Stochastic Signal Generation:
o TF1 Cross: The initial signal trigger is a Stochastic cross on TF1. This cross can be qualified by user-defined K-level thresholds (e.g., cross must occur below level X for longs). To disable this specific K-level filter, set the bull cross level to 0 and the bear cross level to 100.
o Confirmations (TF2-TF5): The TF1 cross is then confirmed sequentially by Stochastic conditions on TF2, TF3 (for S3 signal), TF4 (for S4 signal), and TF5 (for S5 signal). These confirmations also involve K-level thresholds.
3. Optional Signal Filtering (MA & VWAP):
o If the MA filter is enabled for signals, a calculated S3/S4/S5 signal will only be plotted (and trigger an alert) if the price is also on the correct side of the chosen Moving Average.
o Similarly, if the VWAP filter is enabled for signals, the S3/S4/S5 signal must also align with the calculated VWAP.
o If both filters are enabled for signals, an S3/S4/S5 signal must satisfy its base Stochastic conditions AND the MA filter condition AND the VWAP filter condition.
o Both MA and VWAP lines can be plotted on the chart independently of their use as signal filters.
4. Background Coloring: Based on the consensus of Stochastic states (bullish/bearish) on TF3, TF4, and TF5.
How to Use
1. Configure Timeframes & Base Indicators: Set up your desired MTF levels and the parameters for Stoch, MACD, and RSI.
2. Set Stochastic Signal Parameters:
o Adjust the K-level thresholds for TF1 Stochastic crosses in the "STOCH_SIG_FILTERS" section. Set to 0 (bull) / 100 (bear) to effectively disable these specific K-level entry filters if desired, relying only on the cross itself.
o Configure K-level confirmation thresholds for TF2-TF5.
3. Configure Optional MA/VWAP Filters:
o Enable plotting and/or signal filtering for the MA and/or VWAP independently in their respective sections ("FILTER_MA", "FILTER_VWAP").
o Choose MA type/length/source and VWAP anchor period/source.
4. Interpret:
o Dashboard: For an overview of market conditions across multiple indicators and timeframes.
o S3-S5 Signals: As potential indications of multi-timeframe Stochastic alignment. The more filters a signal passes (MA, VWAP), the more confluent it might be considered.
o MA/VWAP Lines: As dynamic support/resistance or trend direction, even if not used as signal filters.
o Background Color: For quick visual assessment of broader Stochastic momentum.
5. Setting Up Alerts: This indicator defines several distinct alert conditions (e.g., "Stoch TF3 Bullish Alignment", "Stoch TF4 Bearish Alignment", etc.). To receive alerts:
o Add the indicator to your chart.
o Click the "Alert" button in TradingView's top toolbar (or right-click on the chart).
o In the "Create Alert" dialog, select this indicator under the "Condition" dropdown.
o You will then see a list of all defined alert conditions (like "Stoch TF3 Bullish Alignment"). Choose the specific signal condition you want an alert for.
o Configure other alert settings (frequency, sound, message actions) as desired and create the alert.
o Repeat for each specific S3, S4, or S5 signal (bullish or bearish) you wish to be alerted on. The alert messages generated by the script will include information about any active MA or VWAP filters that were passed.
6. Customize Further: Explore the extensive input options to tailor all indicator parameters, signal confirmation levels, and visual appearance.
Important Considerations:
• This indicator provides analytical tools and potential signals; it is not a standalone trading system and does not guarantee profits.
• Always use in conjunction with your trading strategy, risk management, and other analyses. Test thoroughly.
• The effectiveness of filters and signals varies with market conditions and assets. Experimentation with settings is crucial.
Disclaimer:
This script is for educational/informational purposes only and is not financial advice. Trading involves substantial risk. The author, Saleh_ABO_RAED, is not responsible for any trading decisions based on this indicator.
Special thanks and appreciation to f56eroon (ابو بتال - خطيرون), whose original idea and strategic framework were the foundation for this indicator. &His contributions have been pivotal.
________________________________________
الوصف العربي :
عنوان المؤشر: لوحة معلومات MTF (ستوكاستيك، ماكد، RSI) مع إشارات ستوكاستيك
وصف السكربت:
نظرة عامة
مؤشر "لوحة معلومات MTF (ستوكاستيك، ماكد، RSI) مع إشارات ستوكاستيك" هو أداة شاملة مبرمجة بلغة Pine Script™، مصممة لتحليل الأطر الزمنية المتعددة (MTF). يقدم المؤشر لوحة معلومات مفصلة تعرض قيم مؤشرات ستوكاستيك، الماكد (MACD)، ومؤشر القوة النسبية (RSI) عبر ما يصل إلى خمسة أطر زمنية يمكن للمستخدم تحديدها. وبشكل مميز، يقوم المؤشر بتوليد إشارات توافق هرمية قوية (S3, S4, S5) بناءً حصريًا على شروط مؤشر ستوكاستيك عبر هذه الأطر الزمنية، ويوفر تلوينًا اختياريًا للخلفية لتمثيل توافق الاتجاه الأوسع بناءً على ستوكاستيك بصريًا. يهدف هذا المؤشر إلى تزويد المتداولين بمنظور أعمق للسوق من خلال دمج جدول معلوماتي متعدد المؤشرات وإشارات محددة قائمة على ستوكاستيك وعرضها على الرسم البياني الحالي.
الميزات الرئيسية:
• لوحة معلومات متعددة الأطر الزمنية (ستوكاستيك، ماكد، RSI): تعرض قيم ستوكاستيك (K%, D%, الحالة)، الماكد (الخط، خط الإشارة، الحالة)، ومؤشر القوة النسبية (القيمة، المتوسط البسيط، الحالة) لما يصل إلى خمسة أطر زمنية قابلة للتخصيص (TF1 إلى TF5).
• إشارات توافق ستوكاستيك الهرمية (S3, S4, S5): يتم إنشاء الإشارات بناءً على سلسلة من تأكيدات ستوكاستيك:
o فلتر تقاطع ستوكاستيك TF1: يمكن تصفية تقاطعات ستوكاستيك الأولية على TF1 من خلال اشتراط أن تكون قيمة K أقل من مستوى معين للتقاطعات الصاعدة (مثلاً، أقل من 20، اضبط على 0 للتعطيل) أو أعلى من مستوى معين للتقاطعات الهابطة (مثلاً، أعلى من 80، اضبط على 100 للتعطيل).
o إشارة S3: تظهر بعد تقاطع ستوكاستيك (مُصفى محتمل) على TF1 يتم تأكيده بشروط ستوكاستيك متوافقة على TF2 و TF3 (مع تأكيدات مستوى K).
o إشارة S4: تعتمد على S3، وتتطلب تأكيدًا إضافيًا من ستوكاستيك TF4.
o إشارة S5: أقوى الإشارات، تتطلب تأكيدًا من S4 وأخيرًا من ستوكاستيك TF5.
• فلتران اختياريان مستقلان للإشارات:
o فلتر المتوسط المتحرك (MA): قم اختياريًا بتصفية إشارات S3-S5 باستخدام SMA أو EMA أو WMA. لن تظهر الإشارات إلا إذا توافقت مع المتوسط المتحرك (مثال: السعر فوق المتوسط المتحرك للإشارات الصاعدة). يمكن رسمه بشكل مستقل.
o فلتر متوسط السعر المرجح بالحجم (VWAP): قم اختياريًا بتصفية إشارات S3-S5 باستخدام VWAP. يتميز بخيارات إرساء متقدمة (جلسة، أسبوع، شهر، ربع سنة، سنة، أرباح، إلخ). لن تظهر الإشارات إلا إذا توافقت مع VWAP. يمكن رسمه بشكل مستقل.
• تلوين خلفية قابل للتخصيص (مبني على ستوكاستيك): يقوم اختياريًا بتلوين خلفية الرسم البياني عندما تكون مؤشرات ستوكاستيك على الأطر TF3، TF4، و TF5 جميعها في توافق صاعد أو هابط.
• تخصيص واسع النطاق: قم بتكوين جميع الأطر الزمنية، معلمات المؤشرات (ستوكاستيك، ماكد، RSI)، مستويات تأكيد K للإشارات، إعدادات فلاتر MA/VWAP، مظهر الجدول، وشروط التنبيه.
• التنبيهات: يُعرّف المؤشر العديد من شروط التنبيه (S3 صاعد/هابط، S4 صاعد/هابط، S5 صاعد/هابط) التي يمكن للمستخدمين اختيارها عند إنشاء التنبيهات يدويًا في TradingView. رسائل التنبيه تشير إلى الفلاتر النشطة.
كيف يعمل المؤشر
1. لوحة المعلومات وبيانات MTF: يقوم السكربت بجلب وحساب بيانات ستوكاستيك، الماكد، و RSI لكل من الأطر الزمنية الخمسة التي يحددها المستخدم، ويعرضها في الجدول على الشارت.
2. توليد إشارات ستوكاستيك:
o تقاطع TF1: الشرارة الأولى للإشارة هي تقاطع ستوكاستيك على TF1. يمكن تأهيل هذا التقاطع بواسطة عتبات مستوى K يحددها المستخدم (مثال: يجب أن يحدث التقاطع تحت المستوى X للصعود). لتعطيل فلتر مستوى K هذا، اضبط مستوى التقاطع الصاعد على 0 ومستوى التقاطع الهابط على 100.
o التأكيدات (TF2-TF5): يتم بعد ذلك تأكيد تقاطع TF1 بالتتابع بواسطة شروط ستوكاستيك على TF2، TF3 (لإشارة S3)، TF4 (لإشارة S4)، و TF5 (لإشارة S5). تتضمن هذه التأكيدات أيضًا عتبات مستوى K.
3. التصفية الاختيارية للإشارات (MA و VWAP):
o إذا تم تفعيل فلتر MA للإشارات، فإن إشارة S3/S4/S5 المحسوبة لن تُرسم (ولن تُطلق تنبيهًا) إلا إذا كان السعر أيضًا على الجانب الصحيح من المتوسط المتحرك المختار.
o وبالمثل، إذا تم تفعيل فلتر VWAP للإشارات، يجب أن تتوافق إشارة S3/S4/S5 أيضًا مع VWAP المحسوب.
o إذا تم تفعيل كلا الفلترين للإشارات، يجب أن تُلبي إشارة S3/S4/S5 شروط ستوكاستيك الأساسية الخاصة بها و شرط فلتر MA و شرط فلتر VWAP.
o يمكن رسم خطوط MA و VWAP على الشارت بشكل مستقل عن استخدامها كفلاتر للإشارات.
4. تلوين الخلفية: بناءً على إجماع حالات ستوكاستيك (صاعدة/هابطة) على الأطر TF3، TF4، و TF5.
كيفية الاستخدام
1. تكوين الأطر الزمنية والمؤشرات الأساسية: قم بإعداد مستويات MTF المطلوبة ومدخلات ستوكاستيك، الماكد، و RSI.
2. ضبط مدخلات إشارة ستوكاستيك:
o عدّل عتبات مستوى K لتقاطعات ستوكاستيك TF1 في قسم "STOCH_SIG_FILTERS". اضبط على 0 (للصعود) / 100 (للهبوط) لتعطيل فلاتر الدخول هذه بشكل فعال إذا رغبت، مع الاعتماد فقط على التقاطع نفسه.
o قم بتكوين عتبات تأكيد مستوى K لـ TF2-TF5.
3. تكوين فلاتر MA/VWAP الاختيارية:
o قم بتمكين الرسم و/أو تصفية الإشارات لـ MA و/أو VWAP بشكل مستقل في أقسامهما الخاصة ("FILTER_MA", "FILTER_VWAP").
o اختر نوع/طول/مصدر MA وفترة إرساء/مصدر VWAP.
4. التفسير:
o لوحة المعلومات: للحصول على نظرة عامة على ظروف السوق عبر مؤشرات وأطر زمنية متعددة.
o إشارات S3-S5: كمؤشرات محتملة لتوافق ستوكاستيك متعدد الأطر. كلما زاد عدد الفلاتر التي تجتازها الإشارة (MA, VWAP)، كلما أمكن اعتبارها أكثر قوة.
o خطوط MA/VWAP: كدعم/مقاومة ديناميكية أو اتجاه، حتى لو لم تُستخدم كفلاتر للإشارات.
o لون الخلفية: لتقييم بصري سريع لزخم ستوكاستيك الأوسع.
5. إعداد التنبيهات: يُعرّف هذا المؤشر عدة شروط تنبيه مميزة (مثل "Stoch TF3 Bullish Alignment"، "Stoch TF4 Bearish Alignment"، إلخ). لتلقي التنبيهات:
o أضف المؤشر إلى الرسم البياني الخاص بك.
o انقر فوق زر "تنبيه" (Alert) في شريط الأدوات العلوي في TradingView (أو انقر بزر الماوس الأيمن على الرسم البياني).
o في مربع حوار "إنشاء تنبيه" (Create Alert)، اختر هذا المؤشر ضمن القائمة المنسدلة "الشرط" (Condition).
o سترى بعد ذلك قائمة بجميع شروط التنبيه المعرفة (مثل "Stoch TF3 Bullish Alignment"). اختر شرط الإشارة المحدد الذي تريد تنبيهًا بشأنه.
o قم بتكوين إعدادات التنبيه الأخرى (التكرار، الصوت، إجراءات الرسالة) حسب الرغبة وأنشئ التنبيه.
o كرر هذه العملية لكل إشارة S3 أو S4 أو S5 محددة (صاعدة أو هابطة) ترغب في تلقي تنبيه بشأنها. ستتضمن رسائل التنبيه التي ينشئها السكربت معلومات حول أي فلاتر MA أو VWAP نشطة تم اجتيازها.
6. مزيد من التخصيص: استكشف خيارات الإدخال الشاملة لتكييف جميع معلمات المؤشرات، ومستويات تأكيد الإشارة، والمظهر المرئي.
اعتبارات هامة:
• يوفر هذا المؤشر أدوات تحليلية وإشارات محتملة؛ إنه ليس نظام تداول قائم بذاته ولا يضمن الأرباح.
• استخدمه دائمًا بالاقتران مع استراتيجية التداول الخاصة بك، إدارة المخاطر، والتحليلات الأخرى. اختبره جيدًا.
• تختلف فعالية الفلاتر والإشارات باختلاف ظروف السوق والأصول. التجربة مع الإعدادات أمر بالغ الأهمية.
إخلاء مسؤولية:
هذا السكربت مخصص للأغراض التعليمية/المعلوماتية فقط وليس نصيحة مالية. ينطوي التداول على مخاطر كبيرة. المؤلف، Saleh_ABO_RAED، غير مسؤول عن أي قرارات تداول بناءً على هذا المؤشر.
شكر وتقدير خاص لـf56eroon ( أبو بتال - خطيرون)، الذي كانت فكرته الأصلية وإطاره الاستراتيجي هما الأساس الذي بُني عليه هذا المؤشر. وكانت مساهماته محورية.
Script Description:
Overview
The "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals" indicator is a comprehensive Pine Script™ tool for multi-timeframe (MTF) analysis. It offers a detailed dashboard displaying Stochastic, MACD, and RSI values across up to five user-configurable timeframes. Distinctly, it generates powerful, hierarchical alignment signals (S3, S4, S5) based solely on Stochastic conditions across these timeframes, and provides optional background coloring to visually represent broader trend agreement based on Stochastic. This indicator aims to provide traders with a deeper market perspective by consolidating a multi-indicator informational table and specific Stochastic-based signals onto the current chart.
Key Features:
• Multi-Timeframe Dashboard (Stochastic, MACD, RSI): Displays Stochastic (%K, %D, Status), MACD (Line, Signal, Status), and RSI (Value, SMA, Status) for up to five customizable timeframes (TF1 to TF5).
• Hierarchical Stochastic Alignment Signals (S3, S4, S5): Signals are generated based on a sequence of Stochastic confirmations:
o TF1 Stochastic Cross Filter: Initial TF1 Stochastic crosses can be filtered by requiring the K-value to be below a certain level for bullish crosses (e.g., below 20, set 0 to disable) or above a certain level for bearish crosses (e.g., above 80, set 100 to disable).
o S3 Signal: Appears after a (potentially filtered) Stochastic cross on TF1 is confirmed by congruent Stochastic conditions on TF2 and TF3 (with K-level confirmations).
o S4 Signal: Builds upon S3, requiring additional confirmation from TF4's Stochastic.
o S5 Signal: The strongest signal, requiring confirmation from S4 and finally TF5's Stochastic.
• Dual Independent Optional Signal Filters:
o Moving Average (MA) Filter: Optionally filter S3-S5 signals using SMA, EMA, or WMA. Signals will only appear if aligned with the MA (e.g., price above MA for longs). Can be plotted independently.
o Volume Weighted Average Price (VWAP) Filter: Optionally filter S3-S5 signals using VWAP. Features advanced anchoring options (Session, Week, Month, Quarter, Year, Earnings, etc.). Signals will only appear if aligned with the VWAP. Can be plotted independently.
• Customizable Background Coloring (Stochastic-Based): Optionally colors the chart background when Stochastic indicators on TF3, TF4, and TF5 are all in bullish or bearish alignment.
• Extensive Customization: Configure all timeframes, indicator parameters (Stoch, MACD, RSI), signal confirmation K-levels, MA/VWAP filter settings, table appearance, and alert conditions.
• Alerts: The indicator defines multiple alert conditions (S3 Bull/Bear, S4 Bull/Bear, S5 Bull/Bear) that users can select when creating alerts manually in TradingView. Alert messages indicate active filters.
How It Works
1. Dashboard & MTF Data: The script fetches and calculates Stochastic, MACD, and RSI data for each of the five user-defined timeframes, presenting them in the on-chart table.
2. Stochastic Signal Generation:
o TF1 Cross: The initial signal trigger is a Stochastic cross on TF1. This cross can be qualified by user-defined K-level thresholds (e.g., cross must occur below level X for longs). To disable this specific K-level filter, set the bull cross level to 0 and the bear cross level to 100.
o Confirmations (TF2-TF5): The TF1 cross is then confirmed sequentially by Stochastic conditions on TF2, TF3 (for S3 signal), TF4 (for S4 signal), and TF5 (for S5 signal). These confirmations also involve K-level thresholds.
3. Optional Signal Filtering (MA & VWAP):
o If the MA filter is enabled for signals, a calculated S3/S4/S5 signal will only be plotted (and trigger an alert) if the price is also on the correct side of the chosen Moving Average.
o Similarly, if the VWAP filter is enabled for signals, the S3/S4/S5 signal must also align with the calculated VWAP.
o If both filters are enabled for signals, an S3/S4/S5 signal must satisfy its base Stochastic conditions AND the MA filter condition AND the VWAP filter condition.
o Both MA and VWAP lines can be plotted on the chart independently of their use as signal filters.
4. Background Coloring: Based on the consensus of Stochastic states (bullish/bearish) on TF3, TF4, and TF5.
How to Use
1. Configure Timeframes & Base Indicators: Set up your desired MTF levels and the parameters for Stoch, MACD, and RSI.
2. Set Stochastic Signal Parameters:
o Adjust the K-level thresholds for TF1 Stochastic crosses in the "STOCH_SIG_FILTERS" section. Set to 0 (bull) / 100 (bear) to effectively disable these specific K-level entry filters if desired, relying only on the cross itself.
o Configure K-level confirmation thresholds for TF2-TF5.
3. Configure Optional MA/VWAP Filters:
o Enable plotting and/or signal filtering for the MA and/or VWAP independently in their respective sections ("FILTER_MA", "FILTER_VWAP").
o Choose MA type/length/source and VWAP anchor period/source.
4. Interpret:
o Dashboard: For an overview of market conditions across multiple indicators and timeframes.
o S3-S5 Signals: As potential indications of multi-timeframe Stochastic alignment. The more filters a signal passes (MA, VWAP), the more confluent it might be considered.
o MA/VWAP Lines: As dynamic support/resistance or trend direction, even if not used as signal filters.
o Background Color: For quick visual assessment of broader Stochastic momentum.
5. Setting Up Alerts: This indicator defines several distinct alert conditions (e.g., "Stoch TF3 Bullish Alignment", "Stoch TF4 Bearish Alignment", etc.). To receive alerts:
o Add the indicator to your chart.
o Click the "Alert" button in TradingView's top toolbar (or right-click on the chart).
o In the "Create Alert" dialog, select this indicator under the "Condition" dropdown.
o You will then see a list of all defined alert conditions (like "Stoch TF3 Bullish Alignment"). Choose the specific signal condition you want an alert for.
o Configure other alert settings (frequency, sound, message actions) as desired and create the alert.
o Repeat for each specific S3, S4, or S5 signal (bullish or bearish) you wish to be alerted on. The alert messages generated by the script will include information about any active MA or VWAP filters that were passed.
6. Customize Further: Explore the extensive input options to tailor all indicator parameters, signal confirmation levels, and visual appearance.
Important Considerations:
• This indicator provides analytical tools and potential signals; it is not a standalone trading system and does not guarantee profits.
• Always use in conjunction with your trading strategy, risk management, and other analyses. Test thoroughly.
• The effectiveness of filters and signals varies with market conditions and assets. Experimentation with settings is crucial.
Disclaimer:
This script is for educational/informational purposes only and is not financial advice. Trading involves substantial risk. The author, Saleh_ABO_RAED, is not responsible for any trading decisions based on this indicator.
Special thanks and appreciation to f56eroon (ابو بتال - خطيرون), whose original idea and strategic framework were the foundation for this indicator. &His contributions have been pivotal.
________________________________________
الوصف العربي :
عنوان المؤشر: لوحة معلومات MTF (ستوكاستيك، ماكد، RSI) مع إشارات ستوكاستيك
وصف السكربت:
نظرة عامة
مؤشر "لوحة معلومات MTF (ستوكاستيك، ماكد، RSI) مع إشارات ستوكاستيك" هو أداة شاملة مبرمجة بلغة Pine Script™، مصممة لتحليل الأطر الزمنية المتعددة (MTF). يقدم المؤشر لوحة معلومات مفصلة تعرض قيم مؤشرات ستوكاستيك، الماكد (MACD)، ومؤشر القوة النسبية (RSI) عبر ما يصل إلى خمسة أطر زمنية يمكن للمستخدم تحديدها. وبشكل مميز، يقوم المؤشر بتوليد إشارات توافق هرمية قوية (S3, S4, S5) بناءً حصريًا على شروط مؤشر ستوكاستيك عبر هذه الأطر الزمنية، ويوفر تلوينًا اختياريًا للخلفية لتمثيل توافق الاتجاه الأوسع بناءً على ستوكاستيك بصريًا. يهدف هذا المؤشر إلى تزويد المتداولين بمنظور أعمق للسوق من خلال دمج جدول معلوماتي متعدد المؤشرات وإشارات محددة قائمة على ستوكاستيك وعرضها على الرسم البياني الحالي.
الميزات الرئيسية:
• لوحة معلومات متعددة الأطر الزمنية (ستوكاستيك، ماكد، RSI): تعرض قيم ستوكاستيك (K%, D%, الحالة)، الماكد (الخط، خط الإشارة، الحالة)، ومؤشر القوة النسبية (القيمة، المتوسط البسيط، الحالة) لما يصل إلى خمسة أطر زمنية قابلة للتخصيص (TF1 إلى TF5).
• إشارات توافق ستوكاستيك الهرمية (S3, S4, S5): يتم إنشاء الإشارات بناءً على سلسلة من تأكيدات ستوكاستيك:
o فلتر تقاطع ستوكاستيك TF1: يمكن تصفية تقاطعات ستوكاستيك الأولية على TF1 من خلال اشتراط أن تكون قيمة K أقل من مستوى معين للتقاطعات الصاعدة (مثلاً، أقل من 20، اضبط على 0 للتعطيل) أو أعلى من مستوى معين للتقاطعات الهابطة (مثلاً، أعلى من 80، اضبط على 100 للتعطيل).
o إشارة S3: تظهر بعد تقاطع ستوكاستيك (مُصفى محتمل) على TF1 يتم تأكيده بشروط ستوكاستيك متوافقة على TF2 و TF3 (مع تأكيدات مستوى K).
o إشارة S4: تعتمد على S3، وتتطلب تأكيدًا إضافيًا من ستوكاستيك TF4.
o إشارة S5: أقوى الإشارات، تتطلب تأكيدًا من S4 وأخيرًا من ستوكاستيك TF5.
• فلتران اختياريان مستقلان للإشارات:
o فلتر المتوسط المتحرك (MA): قم اختياريًا بتصفية إشارات S3-S5 باستخدام SMA أو EMA أو WMA. لن تظهر الإشارات إلا إذا توافقت مع المتوسط المتحرك (مثال: السعر فوق المتوسط المتحرك للإشارات الصاعدة). يمكن رسمه بشكل مستقل.
o فلتر متوسط السعر المرجح بالحجم (VWAP): قم اختياريًا بتصفية إشارات S3-S5 باستخدام VWAP. يتميز بخيارات إرساء متقدمة (جلسة، أسبوع، شهر، ربع سنة، سنة، أرباح، إلخ). لن تظهر الإشارات إلا إذا توافقت مع VWAP. يمكن رسمه بشكل مستقل.
• تلوين خلفية قابل للتخصيص (مبني على ستوكاستيك): يقوم اختياريًا بتلوين خلفية الرسم البياني عندما تكون مؤشرات ستوكاستيك على الأطر TF3، TF4، و TF5 جميعها في توافق صاعد أو هابط.
• تخصيص واسع النطاق: قم بتكوين جميع الأطر الزمنية، معلمات المؤشرات (ستوكاستيك، ماكد، RSI)، مستويات تأكيد K للإشارات، إعدادات فلاتر MA/VWAP، مظهر الجدول، وشروط التنبيه.
• التنبيهات: يُعرّف المؤشر العديد من شروط التنبيه (S3 صاعد/هابط، S4 صاعد/هابط، S5 صاعد/هابط) التي يمكن للمستخدمين اختيارها عند إنشاء التنبيهات يدويًا في TradingView. رسائل التنبيه تشير إلى الفلاتر النشطة.
كيف يعمل المؤشر
1. لوحة المعلومات وبيانات MTF: يقوم السكربت بجلب وحساب بيانات ستوكاستيك، الماكد، و RSI لكل من الأطر الزمنية الخمسة التي يحددها المستخدم، ويعرضها في الجدول على الشارت.
2. توليد إشارات ستوكاستيك:
o تقاطع TF1: الشرارة الأولى للإشارة هي تقاطع ستوكاستيك على TF1. يمكن تأهيل هذا التقاطع بواسطة عتبات مستوى K يحددها المستخدم (مثال: يجب أن يحدث التقاطع تحت المستوى X للصعود). لتعطيل فلتر مستوى K هذا، اضبط مستوى التقاطع الصاعد على 0 ومستوى التقاطع الهابط على 100.
o التأكيدات (TF2-TF5): يتم بعد ذلك تأكيد تقاطع TF1 بالتتابع بواسطة شروط ستوكاستيك على TF2، TF3 (لإشارة S3)، TF4 (لإشارة S4)، و TF5 (لإشارة S5). تتضمن هذه التأكيدات أيضًا عتبات مستوى K.
3. التصفية الاختيارية للإشارات (MA و VWAP):
o إذا تم تفعيل فلتر MA للإشارات، فإن إشارة S3/S4/S5 المحسوبة لن تُرسم (ولن تُطلق تنبيهًا) إلا إذا كان السعر أيضًا على الجانب الصحيح من المتوسط المتحرك المختار.
o وبالمثل، إذا تم تفعيل فلتر VWAP للإشارات، يجب أن تتوافق إشارة S3/S4/S5 أيضًا مع VWAP المحسوب.
o إذا تم تفعيل كلا الفلترين للإشارات، يجب أن تُلبي إشارة S3/S4/S5 شروط ستوكاستيك الأساسية الخاصة بها و شرط فلتر MA و شرط فلتر VWAP.
o يمكن رسم خطوط MA و VWAP على الشارت بشكل مستقل عن استخدامها كفلاتر للإشارات.
4. تلوين الخلفية: بناءً على إجماع حالات ستوكاستيك (صاعدة/هابطة) على الأطر TF3، TF4، و TF5.
كيفية الاستخدام
1. تكوين الأطر الزمنية والمؤشرات الأساسية: قم بإعداد مستويات MTF المطلوبة ومدخلات ستوكاستيك، الماكد، و RSI.
2. ضبط مدخلات إشارة ستوكاستيك:
o عدّل عتبات مستوى K لتقاطعات ستوكاستيك TF1 في قسم "STOCH_SIG_FILTERS". اضبط على 0 (للصعود) / 100 (للهبوط) لتعطيل فلاتر الدخول هذه بشكل فعال إذا رغبت، مع الاعتماد فقط على التقاطع نفسه.
o قم بتكوين عتبات تأكيد مستوى K لـ TF2-TF5.
3. تكوين فلاتر MA/VWAP الاختيارية:
o قم بتمكين الرسم و/أو تصفية الإشارات لـ MA و/أو VWAP بشكل مستقل في أقسامهما الخاصة ("FILTER_MA", "FILTER_VWAP").
o اختر نوع/طول/مصدر MA وفترة إرساء/مصدر VWAP.
4. التفسير:
o لوحة المعلومات: للحصول على نظرة عامة على ظروف السوق عبر مؤشرات وأطر زمنية متعددة.
o إشارات S3-S5: كمؤشرات محتملة لتوافق ستوكاستيك متعدد الأطر. كلما زاد عدد الفلاتر التي تجتازها الإشارة (MA, VWAP)، كلما أمكن اعتبارها أكثر قوة.
o خطوط MA/VWAP: كدعم/مقاومة ديناميكية أو اتجاه، حتى لو لم تُستخدم كفلاتر للإشارات.
o لون الخلفية: لتقييم بصري سريع لزخم ستوكاستيك الأوسع.
5. إعداد التنبيهات: يُعرّف هذا المؤشر عدة شروط تنبيه مميزة (مثل "Stoch TF3 Bullish Alignment"، "Stoch TF4 Bearish Alignment"، إلخ). لتلقي التنبيهات:
o أضف المؤشر إلى الرسم البياني الخاص بك.
o انقر فوق زر "تنبيه" (Alert) في شريط الأدوات العلوي في TradingView (أو انقر بزر الماوس الأيمن على الرسم البياني).
o في مربع حوار "إنشاء تنبيه" (Create Alert)، اختر هذا المؤشر ضمن القائمة المنسدلة "الشرط" (Condition).
o سترى بعد ذلك قائمة بجميع شروط التنبيه المعرفة (مثل "Stoch TF3 Bullish Alignment"). اختر شرط الإشارة المحدد الذي تريد تنبيهًا بشأنه.
o قم بتكوين إعدادات التنبيه الأخرى (التكرار، الصوت، إجراءات الرسالة) حسب الرغبة وأنشئ التنبيه.
o كرر هذه العملية لكل إشارة S3 أو S4 أو S5 محددة (صاعدة أو هابطة) ترغب في تلقي تنبيه بشأنها. ستتضمن رسائل التنبيه التي ينشئها السكربت معلومات حول أي فلاتر MA أو VWAP نشطة تم اجتيازها.
6. مزيد من التخصيص: استكشف خيارات الإدخال الشاملة لتكييف جميع معلمات المؤشرات، ومستويات تأكيد الإشارة، والمظهر المرئي.
اعتبارات هامة:
• يوفر هذا المؤشر أدوات تحليلية وإشارات محتملة؛ إنه ليس نظام تداول قائم بذاته ولا يضمن الأرباح.
• استخدمه دائمًا بالاقتران مع استراتيجية التداول الخاصة بك، إدارة المخاطر، والتحليلات الأخرى. اختبره جيدًا.
• تختلف فعالية الفلاتر والإشارات باختلاف ظروف السوق والأصول. التجربة مع الإعدادات أمر بالغ الأهمية.
إخلاء مسؤولية:
هذا السكربت مخصص للأغراض التعليمية/المعلوماتية فقط وليس نصيحة مالية. ينطوي التداول على مخاطر كبيرة. المؤلف، Saleh_ABO_RAED، غير مسؤول عن أي قرارات تداول بناءً على هذا المؤشر.
شكر وتقدير خاص لـf56eroon ( أبو بتال - خطيرون)، الذي كانت فكرته الأصلية وإطاره الاستراتيجي هما الأساس الذي بُني عليه هذا المؤشر. وكانت مساهماته محورية.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.