OPEN-SOURCE SCRIPT
Hunter Channel

• Overview
Hunter Channel is a technical analysis indicator designed to identify structured price channels, evaluate their geometry and price interaction, monitor confirmed boundary breaks, and provide sequential post-breakout projections.
The indicator combines several related stages in one workflow. The channel engine identifies the price structure, the quality model evaluates characteristics of that structure, the breakout engine monitors interaction with the channel boundaries, the target system follows price after a breakout, and the Radar provides a separate view of the current smoothed directional environment.
These components are intended to answer different questions about the same market structure rather than operate as independent trading systems.
• Channel Construction
The channel engine uses confirmed pivot highs and pivot lows.
A potential channel can be constructed from two relevant pivot highs with an intervening pivot low, or from two relevant pivot lows with an intervening pivot high.
The two same-side pivots establish the slope of one boundary. The intervening opposite pivot is then used to position the parallel boundary, creating an equidistant channel structure.
The search is controlled by three principal settings:
• Maximum Lookback Limit — determines how far back the script can consider a qualifying pivot structure.
• Minimum Channel Length — specifies the minimum number of bars required before a candidate structure can qualify.
• Pivot Length — controls the sensitivity used to confirm pivot highs and lows.
A shorter Pivot Length generally reacts to smaller price swings, while a larger value requires broader swing structures.
• Channel Validation
Connecting pivots alone is not sufficient for the script to accept a channel.
After constructing a candidate, the indicator checks price behavior across the formation period. If price has moved excessively beyond the projected boundaries relative to the height of the channel, the candidate is rejected.
This validation is intended to distinguish a channel that has contained the relevant price structure from a geometric connection that does not adequately represent the intervening price action.
Once a qualifying newer channel is detected, the script begins tracking that structure and updates its projected boundaries as new bars are formed.
• Channel Display
A qualified structure contains an upper boundary and a parallel lower boundary.
An optional dashed midline represents the center of the channel, and the area between the outer boundaries can be shaded for visual reference.
Channel, midline, fill, and breakout-candle colors can be adjusted from the indicator settings.
• Channel Quality
After a candidate passes structural validation, Hunter Channel evaluates several characteristics of the detected structure.
The quality model considers channel width relative to recent ATR conditions, normalized channel slope, channel angle, and the amount of price movement that occurred outside a narrow tolerance around the projected boundaries.
These measurements are combined into a 0–100 structural score.
The resulting classifications are:
• Elite — score of 85 or higher.
• Strong — score from 70 to 84.
• Good — score from 50 to 69.
• Weak — score below 50.
Only structures meeting the script's qualifying threshold are activated as channels.
The score evaluates characteristics of the detected channel. It is not a historical win rate, statistical probability, or prediction of future performance.
• Channel Angle
The slope of the channel is normalized relative to recent volatility before its angle is evaluated.
The dashboard then describes the structure as Flat/Ranging, Healthy Trend, or Too Steep according to the measured angle.
This provides information about channel geometry independently of whether price will eventually break upward or downward.
• Channel Width
Channel height is also compared with recent ATR conditions.
This allows the script to identify structures that are unusually narrow, unusually wide, or within the script's normal width range.
Width is one component of the structural quality assessment and is not by itself a directional signal.
• Breakout Detection
Once a channel is active, the script continuously evaluates the current upper and lower projected boundaries.
Three breakout methods are available:
• Conservative (Close) — requires the candle to close beyond the relevant channel boundary.
• Aggressive (Wick) — reacts when the candle high or low crosses the relevant boundary.
• 10% Body Breakout — requires price to extend beyond the boundary by an additional amount derived from the channel height.
These alternatives allow users to choose how strict the boundary-break confirmation should be.
A bullish breakout state represents a confirmed break above the upper channel boundary according to the selected method. A bearish breakout state represents the corresponding break below the lower boundary.
A breakout state describes the programmed boundary condition; it does not represent a recommendation to enter a position.
• Sequential Targets
Following a confirmed breakout, the indicator uses the height of the detected channel as the reference for its projection system.
Target levels progress in half-channel-height increments from the breakout reference.
When price reaches the active target, the script advances to the next target and retains completed target levels on the chart.
This creates a sequential projection process rather than displaying only one fixed objective.
The targets are geometric extensions of the detected channel. They do not estimate the probability that price will reach a particular level.
• Retest Monitoring
After a breakout, Hunter Channel continues monitoring the relationship between price and the projected channel boundary.
After the initial breakout bars have passed, the script checks whether price revisits the relevant boundary area and then closes back on the breakout side of that boundary.
When those programmed conditions occur, the indicator marks the event as a retest.
A retest describes price interaction with the former channel boundary and does not guarantee continuation.
• Failed Breakout
The script also defines a condition for invalidating the active breakout state.
If price closes sufficiently back inside the projected channel after the breakout, relative to the height of the channel, the breakout is treated as failed.
The current channel graphics and associated target sequence are then cleared, allowing the channel engine to continue evaluating subsequent structures.
This creates a state-based workflow in which the indicator moves from channel identification to breakout monitoring and then either target/retest tracking or breakout invalidation.
• Radar Context
Hunter Channel includes a separate Radar overlay to provide directional context alongside the geometric channel structure.
The Radar uses two differently smoothed price-midpoint series. The default lengths are 11 and 33, followed by additional short smoothing.
The relative position of the faster and slower Radar lines determines the color of the area between them. A center line is also plotted between the two structures.
Radar does not determine the channel pivots, channel boundaries, channel quality score, or breakout condition.
It is included because the two components describe different aspects of price behavior: the channel represents geometric structure and boundary interaction, while Radar provides a smoothed view of the current directional environment.
This allows users to compare a channel or breakout with the surrounding directional context without merging the two calculations into a single signal.
• Analytical Dashboard
The dashboard summarizes the currently tracked channel using Quality Score, Channel Angle, Channel Width, breakout-context classification, and the next active target.
The quality and breakout-context fields are descriptive outputs derived from the script's structural measurements. They should not be interpreted as empirical probabilities, statistical success rates, or expected trading returns.
• Dashboard Language
The dashboard supports both English and Arabic.
The language can be selected from:
Settings → Dashboard → Table Language / لغة الجدول
Changing the dashboard language only changes displayed text. It does not modify channel detection, scoring, breakout conditions, targets, or Radar calculations.
• Alerts
The script includes alerts for several programmed events, including detection of a new qualifying channel, a confirmed boundary breakout, achievement of a target level, completion of a retest, and detection of a failed breakout.
An alert only indicates that the corresponding programmed condition has occurred. It does not represent an order or personalized trading instruction.
• Suggested Use
A practical way to read Hunter Channel is to begin with the channel itself: review its boundaries, width, angle, and structural quality.
Next, observe how price interacts with the upper and lower boundaries and apply the preferred breakout-confirmation method.
If a breakout occurs, the sequential targets and retest state provide information about subsequent price development.
Radar can then be used as additional directional context rather than as a requirement for channel detection or breakout confirmation.
• Limitations
Hunter Channel is a technical analysis tool and not an automated trading system.
Pivot-based structures require confirmed swing points, so a channel can only be identified after the required pivot information becomes available.
A valid historical channel does not guarantee that its boundaries will continue to contain price.
Breakouts can fail, reverse, or produce limited follow-through.
Channel-quality scores describe the characteristics of detected structures and do not measure future profitability.
Sequential targets are geometric projections and do not guarantee future price levels.
Radar describes smoothed price behavior and does not predict future direction with certainty.
Because the script displays directional breakout states, it is intended for use on standard price charts. Synthetic chart types such as Heikin Ashi, Renko, Kagi, Point & Figure, and Range charts can produce different price data and should not be used to interpret the script's breakout behavior as realistic trading performance.
• Disclaimer
Hunter Channel is provided for technical analysis and educational purposes.
It does not provide investment advice, financial advice, or a recommendation to buy or sell any financial instrument.
No channel, quality score, breakout state, retest, target, Radar condition, or other script output guarantees future market direction or trading results.
Users remain responsible for their own analysis, execution, position sizing, and risk management.
________________________________________
• نظرة عامة
Hunter Channel هو مؤشر للتحليل الفني صُمم لاكتشاف القنوات السعرية المنظمة، وتقييم خصائصها الهندسية وتفاعل السعر معها، ومتابعة اختراق حدودها، ثم عرض مستويات إسقاط متتابعة بعد تحقق الاختراق.
يجمع المؤشر عدة مراحل مترابطة ضمن سير عمل واحد. يتولى محرك القنوات تحديد البنية السعرية، ويقيّم نظام الجودة خصائص القناة المكتشفة، ويراقب محرك الاختراق تفاعل السعر مع حدودها، بينما يتابع نظام الأهداف تطور السعر بعد الاختراق. ويقدم Radar قراءة منفصلة للسياق الاتجاهي الممهد للسعر.
هذه المكونات تقيس جوانب مختلفة من البنية نفسها، ولا تعمل باعتبارها أنظمة تداول مستقلة عن بعضها.
• تكوين القناة
يعتمد محرك القنوات على قمم وقيعان Pivot مؤكدة.
يمكن تكوين قناة محتملة باستخدام قمتين Pivot مناسبتين مع وجود قاع Pivot بينهما، أو باستخدام قاعين Pivot مناسبين مع وجود قمة Pivot بينهما.
تحدد نقطتا الارتكاز الواقعتان في الجهة نفسها ميل أحد حدود القناة، ثم تستخدم نقطة الارتكاز المقابلة لوضع الحد الموازي الآخر، وبذلك تتكون قناة متساوية الأبعاد.
وتتحكم في عملية البحث ثلاثة إعدادات رئيسية:
• Maximum Lookback Limit — يحدد أقصى نطاق تاريخي يمكن للسكربت البحث داخله عن بنية Pivot مناسبة.
• Minimum Channel Length — يحدد الحد الأدنى لعدد الشموع المطلوبة قبل قبول القناة المرشحة.
• Pivot Length — يتحكم في حساسية اكتشاف القمم والقيعان.
القيم الأصغر لـ Pivot Length تتفاعل عادة مع تحركات سعرية أصغر، بينما تتطلب القيم الأكبر تكوينات Swing أوسع قبل تأكيد نقاط الارتكاز.
• التحقق من القناة
مجرد توصيل نقاط Pivot لا يكفي لاعتماد القناة.
بعد تكوين قناة مرشحة، يفحص المؤشر حركة السعر خلال فترة تكوينها. وإذا تجاوز السعر الحدود المتوقعة بدرجة كبيرة مقارنة بارتفاع القناة، يتم رفض البنية.
الغرض من هذا الفحص هو التفريق بين قناة احتوت الحركة السعرية ذات الصلة وبين مجرد اتصال هندسي بين نقاط منفصلة لا يمثل حركة السعر الواقعة بينها بصورة مناسبة.
وعند اكتشاف قناة أحدث مستوفية للشروط، يبدأ السكربت في متابعة تلك البنية وتحديث حدودها المتوقعة مع تكوّن الشموع الجديدة.
• رسم القناة
تتكون البنية المؤهلة من حد علوي وحد سفلي متوازٍ معه.
ويمكن عرض خط متقطع في منتصف القناة، إضافة إلى تظليل المنطقة الواقعة بين الحدين الخارجيين.
كما يمكن التحكم في ألوان القناة وخط المنتصف والتظليل وشمعة الاختراق من الإعدادات.
• تقييم جودة القناة
بعد اجتياز القناة لفحص البنية، يقيم Hunter Channel مجموعة من خصائصها.
يأخذ التقييم في الاعتبار عرض القناة مقارنة بظروف ATR الأخيرة، وميل القناة بعد التطبيع، وزاويتها، ومقدار خروج حركة السعر عن نطاق ضيق حول الحدود المتوقعة.
يتم دمج هذه القياسات في تقييم هيكلي من 0 إلى 100.
وتقسم النتائج إلى:
• Elite / ممتاز — من 85 فأعلى.
• Strong / قوي — من 70 إلى 84.
• Good / جيد — من 50 إلى 69.
• Weak / ضعيف — أقل من 50.
ولا يتم تفعيل القناة إلا عندما تحقق الحد المطلوب في نموذج التقييم.
هذا الرقم يصف خصائص القناة المكتشفة، ولا يمثل نسبة نجاح تاريخية أو احتمالًا إحصائيًا أو توقعًا للأداء المستقبلي.
• زاوية القناة
يتم تطبيع ميل القناة مقارنة بالتذبذب الأخير قبل تقييم زاويتها.
ثم تصف لوحة التحليل البنية بحالات مثل أفقي/عرضي، ترند صحي، أو حاد جدًا بحسب الزاوية المقاسة.
توفر هذه الخانة معلومات عن الشكل الهندسي للقناة بصورة مستقلة عن اتجاه الاختراق الذي قد يحدث لاحقًا.
• عرض القناة
يقارن السكربت ارتفاع القناة بظروف ATR الأخيرة.
ويتيح ذلك التمييز بين القنوات الضيقة بصورة غير معتادة، والقنوات ذات العرض المناسب وفق النموذج، والقنوات الواسعة بصورة كبيرة.
ويمثل العرض أحد مكونات تقييم البنية ولا يشكل بمفرده إشارة اتجاهية.
• اكتشاف الاختراق
بعد تفعيل القناة يراقب السكربت بصورة مستمرة الحدود العلوية والسفلية المتوقعة.
وتتوفر ثلاث طرق لتحديد الاختراق:
• Conservative (Close) — تتطلب إغلاق الشمعة خارج حد القناة ذي الصلة.
• Aggressive (Wick) — تعتمد على تجاوز أعلى أو أدنى سعر داخل الشمعة للحد المناسب.
• 10% Body Breakout — تتطلب امتداد السعر خارج الحد بمسافة إضافية مشتقة من ارتفاع القناة.
وتسمح هذه الخيارات للمستخدم بتحديد درجة الصرامة المطلوبة في تأكيد كسر حدود القناة.
الحالة الصاعدة تعني أن شرط اختراق الحد العلوي قد تحقق وفق الطريقة المختارة، والحالة الهابطة تعني تحقق الشرط المقابل أسفل الحد السفلي.
وصف الاختراق يعني تحقق الشرط البرمجي المرتبط بحد القناة، ولا يمثل توصية بالدخول في صفقة.
• الأهداف المتتابعة
بعد تأكيد الاختراق يستخدم المؤشر ارتفاع القناة المكتشفة باعتباره مرجعًا لنظام الإسقاط السعري.
تتقدم الأهداف بمراحل تعادل نصف ارتفاع القناة انطلاقًا من مرجع الاختراق.
وعند وصول السعر إلى الهدف النشط ينتقل السكربت إلى المستوى التالي، مع الاحتفاظ بمستويات الأهداف التي تم الوصول إليها على الشارت.
وبذلك تتم متابعة امتداد الحركة على مراحل بدل الاعتماد على هدف واحد ثابت.
هذه المستويات عبارة عن إسقاطات هندسية مشتقة من القناة، ولا تقيس احتمال وصول السعر إلى أي مستوى معين.
• متابعة إعادة الاختبار
بعد الاختراق يستمر Hunter Channel في مراقبة العلاقة بين السعر والحد المتوقع للقناة.
بعد مرور الشموع الأولى من الاختراق، يفحص السكربت ما إذا كان السعر قد عاد إلى المنطقة القريبة من الحد ذي الصلة ثم أغلق مرة أخرى في جهة الاختراق.
وعند تحقق الشروط المبرمجة تظهر حالة إعادة الاختبار.
وتمثل إعادة الاختبار وصفًا لتفاعل السعر مع حد القناة السابق ولا تضمن استمرار الحركة.
• فشل الاختراق
يحتوي السكربت كذلك على شرط لإبطال حالة الاختراق النشطة.
إذا أغلق السعر بدرجة كافية مرة أخرى داخل القناة المتوقعة بعد الاختراق، مقارنة بارتفاع القناة، تتم معاملة الحالة باعتبارها اختراقًا فاشلًا.
بعد ذلك يتم مسح القناة وأهدافها المرتبطة بها، ويستمر محرك القنوات في تقييم البنى اللاحقة.
وبذلك يعمل المؤشر وفق دورة حالة تبدأ باكتشاف القناة، ثم متابعة الاختراق، ثم متابعة الأهداف أو إعادة الاختبار، أو إبطال الاختراق عند تحقق شروط الفشل.
• سياق Radar
يتضمن Hunter Channel مكونًا مستقلًا باسم Radar لتوفير سياق اتجاهي إضافي إلى جانب البنية الهندسية للقناة.
يعتمد Radar على بنيتين سعريتين بتنعيم مختلف. الأطوال الافتراضية هي 11 و33، يليهما تنعيم قصير إضافي.
ويحدد الموقع النسبي بين خطي Radar لون المنطقة الواقعة بينهما، كما يتم رسم خط في منتصف البنيتين.
Radar لا يحدد نقاط Pivot الخاصة بالقناة، ولا حدودها، ولا تقييم جودتها، ولا شروط الاختراق.
سبب وجوده إلى جانب القناة هو أن كل مكون يصف جانبًا مختلفًا من حركة السعر. القناة تصف البنية الهندسية والتفاعل مع الحدود، بينما يقدم Radar قراءة ممهدة للبيئة الاتجاهية الحالية.
وبذلك يستطيع المستخدم مقارنة القناة أو الاختراق بالسياق الاتجاهي المحيط دون دمج الحسابين في إشارة واحدة.
• لوحة التحليل
تلخص لوحة التحليل حالة القناة التي تتم متابعتها من خلال تقييم الجودة، وزاوية القناة، وعرض القناة، والتقييم السياقي للاختراق، والهدف النشط التالي.
هذه القراءات عبارة عن أوصاف مشتقة من قياسات البنية داخل السكربت، ولا ينبغي تفسيرها على أنها احتمالات إحصائية أو نسب نجاح أو عوائد تداول متوقعة.
• لغة لوحة التحليل
تدعم لوحة المؤشر اللغتين الإنجليزية والعربية.
يمكن تغيير اللغة من:
Settings → Dashboard → Table Language / لغة الجدول
تغيير اللغة يؤثر فقط في النصوص المعروضة ولا يغير اكتشاف القنوات أو تقييمها أو شروط الاختراق أو الأهداف أو حسابات Radar.
• التنبيهات
يتضمن السكربت تنبيهات لعدد من الأحداث المبرمجة، ومنها اكتشاف قناة جديدة مستوفية للشروط، وتأكيد اختراق أحد الحدود، والوصول إلى هدف، واكتمال إعادة الاختبار، واكتشاف فشل الاختراق.
ظهور التنبيه يعني أن الشرط البرمجي المقابل قد تحقق، ولا يمثل أمر تداول أو توجيهًا شخصيًا للدخول أو الخروج.
• طريقة مقترحة لقراءة المؤشر
يمكن البدء بمراجعة القناة نفسها من خلال حدودها وعرضها وزاويتها وتقييم بنيتها.
بعد ذلك تتم مراقبة تفاعل السعر مع الحدين العلوي والسفلي واستخدام طريقة تأكيد الاختراق التي يختارها المستخدم.
إذا تحقق الاختراق، توفر الأهداف المتتابعة وحالة إعادة الاختبار معلومات إضافية عن تطور السعر بعد الحدث.
أما Radar فيمكن استخدامه باعتباره سياقًا اتجاهيًا إضافيًا، وليس شرطًا لاكتشاف القناة أو تأكيد الاختراق.
• حدود الاستخدام
Hunter Channel أداة للتحليل الفني وليس نظام تداول آليًا.
تعتمد البنية على نقاط Pivot مؤكدة، ولذلك لا يمكن تحديد القناة إلا بعد توفر بيانات الارتكاز المطلوبة.
وجود قناة صحيحة تاريخيًا لا يعني أن السعر سيستمر في احترام حدودها.
وقد يفشل الاختراق أو ينعكس أو ينتج عنه امتداد محدود.
تقييم الجودة يصف خصائص القناة المكتشفة ولا يقيس الربحية المستقبلية.
الأهداف عبارة عن إسقاطات هندسية ولا تضمن وصول السعر إلى المستويات المعروضة.
كما أن Radar يصف حركة سعرية ممهدة ولا يستطيع تحديد الاتجاه المستقبلي بصورة مؤكدة.
ونظرًا إلى أن السكربت يعرض حالات اختراق اتجاهية، فهو مخصص للاستخدام على الشارتات السعرية القياسية. أنواع الشارت الاصطناعية مثل Heikin Ashi وRenko وKagi وPoint & Figure وRange قد تنتج بيانات سعرية مختلفة، ولذلك لا ينبغي استخدام نتائجها لتقييم سلوك إشارات الاختراق باعتباره أداء تداول واقعيًا.
• إخلاء المسؤولية
Hunter Channel مخصص للتحليل الفني والأغراض التعليمية.
ولا يقدم نصيحة استثمارية أو مالية أو توصية بشراء أو بيع أي أداة مالية.
ولا تضمن أي قناة أو تقييم جودة أو حالة اختراق أو إعادة اختبار أو هدف أو قراءة Radar أو أي مخرج آخر من السكربت اتجاه السوق المستقبلي أو نتائج التداول.
ويبقى المستخدم مسؤولًا عن تحليله وقرارات التنفيذ وحجم المراكز وإدارة المخاطر.
Hunter Channel is a technical analysis indicator designed to identify structured price channels, evaluate their geometry and price interaction, monitor confirmed boundary breaks, and provide sequential post-breakout projections.
The indicator combines several related stages in one workflow. The channel engine identifies the price structure, the quality model evaluates characteristics of that structure, the breakout engine monitors interaction with the channel boundaries, the target system follows price after a breakout, and the Radar provides a separate view of the current smoothed directional environment.
These components are intended to answer different questions about the same market structure rather than operate as independent trading systems.
• Channel Construction
The channel engine uses confirmed pivot highs and pivot lows.
A potential channel can be constructed from two relevant pivot highs with an intervening pivot low, or from two relevant pivot lows with an intervening pivot high.
The two same-side pivots establish the slope of one boundary. The intervening opposite pivot is then used to position the parallel boundary, creating an equidistant channel structure.
The search is controlled by three principal settings:
• Maximum Lookback Limit — determines how far back the script can consider a qualifying pivot structure.
• Minimum Channel Length — specifies the minimum number of bars required before a candidate structure can qualify.
• Pivot Length — controls the sensitivity used to confirm pivot highs and lows.
A shorter Pivot Length generally reacts to smaller price swings, while a larger value requires broader swing structures.
• Channel Validation
Connecting pivots alone is not sufficient for the script to accept a channel.
After constructing a candidate, the indicator checks price behavior across the formation period. If price has moved excessively beyond the projected boundaries relative to the height of the channel, the candidate is rejected.
This validation is intended to distinguish a channel that has contained the relevant price structure from a geometric connection that does not adequately represent the intervening price action.
Once a qualifying newer channel is detected, the script begins tracking that structure and updates its projected boundaries as new bars are formed.
• Channel Display
A qualified structure contains an upper boundary and a parallel lower boundary.
An optional dashed midline represents the center of the channel, and the area between the outer boundaries can be shaded for visual reference.
Channel, midline, fill, and breakout-candle colors can be adjusted from the indicator settings.
• Channel Quality
After a candidate passes structural validation, Hunter Channel evaluates several characteristics of the detected structure.
The quality model considers channel width relative to recent ATR conditions, normalized channel slope, channel angle, and the amount of price movement that occurred outside a narrow tolerance around the projected boundaries.
These measurements are combined into a 0–100 structural score.
The resulting classifications are:
• Elite — score of 85 or higher.
• Strong — score from 70 to 84.
• Good — score from 50 to 69.
• Weak — score below 50.
Only structures meeting the script's qualifying threshold are activated as channels.
The score evaluates characteristics of the detected channel. It is not a historical win rate, statistical probability, or prediction of future performance.
• Channel Angle
The slope of the channel is normalized relative to recent volatility before its angle is evaluated.
The dashboard then describes the structure as Flat/Ranging, Healthy Trend, or Too Steep according to the measured angle.
This provides information about channel geometry independently of whether price will eventually break upward or downward.
• Channel Width
Channel height is also compared with recent ATR conditions.
This allows the script to identify structures that are unusually narrow, unusually wide, or within the script's normal width range.
Width is one component of the structural quality assessment and is not by itself a directional signal.
• Breakout Detection
Once a channel is active, the script continuously evaluates the current upper and lower projected boundaries.
Three breakout methods are available:
• Conservative (Close) — requires the candle to close beyond the relevant channel boundary.
• Aggressive (Wick) — reacts when the candle high or low crosses the relevant boundary.
• 10% Body Breakout — requires price to extend beyond the boundary by an additional amount derived from the channel height.
These alternatives allow users to choose how strict the boundary-break confirmation should be.
A bullish breakout state represents a confirmed break above the upper channel boundary according to the selected method. A bearish breakout state represents the corresponding break below the lower boundary.
A breakout state describes the programmed boundary condition; it does not represent a recommendation to enter a position.
• Sequential Targets
Following a confirmed breakout, the indicator uses the height of the detected channel as the reference for its projection system.
Target levels progress in half-channel-height increments from the breakout reference.
When price reaches the active target, the script advances to the next target and retains completed target levels on the chart.
This creates a sequential projection process rather than displaying only one fixed objective.
The targets are geometric extensions of the detected channel. They do not estimate the probability that price will reach a particular level.
• Retest Monitoring
After a breakout, Hunter Channel continues monitoring the relationship between price and the projected channel boundary.
After the initial breakout bars have passed, the script checks whether price revisits the relevant boundary area and then closes back on the breakout side of that boundary.
When those programmed conditions occur, the indicator marks the event as a retest.
A retest describes price interaction with the former channel boundary and does not guarantee continuation.
• Failed Breakout
The script also defines a condition for invalidating the active breakout state.
If price closes sufficiently back inside the projected channel after the breakout, relative to the height of the channel, the breakout is treated as failed.
The current channel graphics and associated target sequence are then cleared, allowing the channel engine to continue evaluating subsequent structures.
This creates a state-based workflow in which the indicator moves from channel identification to breakout monitoring and then either target/retest tracking or breakout invalidation.
• Radar Context
Hunter Channel includes a separate Radar overlay to provide directional context alongside the geometric channel structure.
The Radar uses two differently smoothed price-midpoint series. The default lengths are 11 and 33, followed by additional short smoothing.
The relative position of the faster and slower Radar lines determines the color of the area between them. A center line is also plotted between the two structures.
Radar does not determine the channel pivots, channel boundaries, channel quality score, or breakout condition.
It is included because the two components describe different aspects of price behavior: the channel represents geometric structure and boundary interaction, while Radar provides a smoothed view of the current directional environment.
This allows users to compare a channel or breakout with the surrounding directional context without merging the two calculations into a single signal.
• Analytical Dashboard
The dashboard summarizes the currently tracked channel using Quality Score, Channel Angle, Channel Width, breakout-context classification, and the next active target.
The quality and breakout-context fields are descriptive outputs derived from the script's structural measurements. They should not be interpreted as empirical probabilities, statistical success rates, or expected trading returns.
• Dashboard Language
The dashboard supports both English and Arabic.
The language can be selected from:
Settings → Dashboard → Table Language / لغة الجدول
Changing the dashboard language only changes displayed text. It does not modify channel detection, scoring, breakout conditions, targets, or Radar calculations.
• Alerts
The script includes alerts for several programmed events, including detection of a new qualifying channel, a confirmed boundary breakout, achievement of a target level, completion of a retest, and detection of a failed breakout.
An alert only indicates that the corresponding programmed condition has occurred. It does not represent an order or personalized trading instruction.
• Suggested Use
A practical way to read Hunter Channel is to begin with the channel itself: review its boundaries, width, angle, and structural quality.
Next, observe how price interacts with the upper and lower boundaries and apply the preferred breakout-confirmation method.
If a breakout occurs, the sequential targets and retest state provide information about subsequent price development.
Radar can then be used as additional directional context rather than as a requirement for channel detection or breakout confirmation.
• Limitations
Hunter Channel is a technical analysis tool and not an automated trading system.
Pivot-based structures require confirmed swing points, so a channel can only be identified after the required pivot information becomes available.
A valid historical channel does not guarantee that its boundaries will continue to contain price.
Breakouts can fail, reverse, or produce limited follow-through.
Channel-quality scores describe the characteristics of detected structures and do not measure future profitability.
Sequential targets are geometric projections and do not guarantee future price levels.
Radar describes smoothed price behavior and does not predict future direction with certainty.
Because the script displays directional breakout states, it is intended for use on standard price charts. Synthetic chart types such as Heikin Ashi, Renko, Kagi, Point & Figure, and Range charts can produce different price data and should not be used to interpret the script's breakout behavior as realistic trading performance.
• Disclaimer
Hunter Channel is provided for technical analysis and educational purposes.
It does not provide investment advice, financial advice, or a recommendation to buy or sell any financial instrument.
No channel, quality score, breakout state, retest, target, Radar condition, or other script output guarantees future market direction or trading results.
Users remain responsible for their own analysis, execution, position sizing, and risk management.
________________________________________
• نظرة عامة
Hunter Channel هو مؤشر للتحليل الفني صُمم لاكتشاف القنوات السعرية المنظمة، وتقييم خصائصها الهندسية وتفاعل السعر معها، ومتابعة اختراق حدودها، ثم عرض مستويات إسقاط متتابعة بعد تحقق الاختراق.
يجمع المؤشر عدة مراحل مترابطة ضمن سير عمل واحد. يتولى محرك القنوات تحديد البنية السعرية، ويقيّم نظام الجودة خصائص القناة المكتشفة، ويراقب محرك الاختراق تفاعل السعر مع حدودها، بينما يتابع نظام الأهداف تطور السعر بعد الاختراق. ويقدم Radar قراءة منفصلة للسياق الاتجاهي الممهد للسعر.
هذه المكونات تقيس جوانب مختلفة من البنية نفسها، ولا تعمل باعتبارها أنظمة تداول مستقلة عن بعضها.
• تكوين القناة
يعتمد محرك القنوات على قمم وقيعان Pivot مؤكدة.
يمكن تكوين قناة محتملة باستخدام قمتين Pivot مناسبتين مع وجود قاع Pivot بينهما، أو باستخدام قاعين Pivot مناسبين مع وجود قمة Pivot بينهما.
تحدد نقطتا الارتكاز الواقعتان في الجهة نفسها ميل أحد حدود القناة، ثم تستخدم نقطة الارتكاز المقابلة لوضع الحد الموازي الآخر، وبذلك تتكون قناة متساوية الأبعاد.
وتتحكم في عملية البحث ثلاثة إعدادات رئيسية:
• Maximum Lookback Limit — يحدد أقصى نطاق تاريخي يمكن للسكربت البحث داخله عن بنية Pivot مناسبة.
• Minimum Channel Length — يحدد الحد الأدنى لعدد الشموع المطلوبة قبل قبول القناة المرشحة.
• Pivot Length — يتحكم في حساسية اكتشاف القمم والقيعان.
القيم الأصغر لـ Pivot Length تتفاعل عادة مع تحركات سعرية أصغر، بينما تتطلب القيم الأكبر تكوينات Swing أوسع قبل تأكيد نقاط الارتكاز.
• التحقق من القناة
مجرد توصيل نقاط Pivot لا يكفي لاعتماد القناة.
بعد تكوين قناة مرشحة، يفحص المؤشر حركة السعر خلال فترة تكوينها. وإذا تجاوز السعر الحدود المتوقعة بدرجة كبيرة مقارنة بارتفاع القناة، يتم رفض البنية.
الغرض من هذا الفحص هو التفريق بين قناة احتوت الحركة السعرية ذات الصلة وبين مجرد اتصال هندسي بين نقاط منفصلة لا يمثل حركة السعر الواقعة بينها بصورة مناسبة.
وعند اكتشاف قناة أحدث مستوفية للشروط، يبدأ السكربت في متابعة تلك البنية وتحديث حدودها المتوقعة مع تكوّن الشموع الجديدة.
• رسم القناة
تتكون البنية المؤهلة من حد علوي وحد سفلي متوازٍ معه.
ويمكن عرض خط متقطع في منتصف القناة، إضافة إلى تظليل المنطقة الواقعة بين الحدين الخارجيين.
كما يمكن التحكم في ألوان القناة وخط المنتصف والتظليل وشمعة الاختراق من الإعدادات.
• تقييم جودة القناة
بعد اجتياز القناة لفحص البنية، يقيم Hunter Channel مجموعة من خصائصها.
يأخذ التقييم في الاعتبار عرض القناة مقارنة بظروف ATR الأخيرة، وميل القناة بعد التطبيع، وزاويتها، ومقدار خروج حركة السعر عن نطاق ضيق حول الحدود المتوقعة.
يتم دمج هذه القياسات في تقييم هيكلي من 0 إلى 100.
وتقسم النتائج إلى:
• Elite / ممتاز — من 85 فأعلى.
• Strong / قوي — من 70 إلى 84.
• Good / جيد — من 50 إلى 69.
• Weak / ضعيف — أقل من 50.
ولا يتم تفعيل القناة إلا عندما تحقق الحد المطلوب في نموذج التقييم.
هذا الرقم يصف خصائص القناة المكتشفة، ولا يمثل نسبة نجاح تاريخية أو احتمالًا إحصائيًا أو توقعًا للأداء المستقبلي.
• زاوية القناة
يتم تطبيع ميل القناة مقارنة بالتذبذب الأخير قبل تقييم زاويتها.
ثم تصف لوحة التحليل البنية بحالات مثل أفقي/عرضي، ترند صحي، أو حاد جدًا بحسب الزاوية المقاسة.
توفر هذه الخانة معلومات عن الشكل الهندسي للقناة بصورة مستقلة عن اتجاه الاختراق الذي قد يحدث لاحقًا.
• عرض القناة
يقارن السكربت ارتفاع القناة بظروف ATR الأخيرة.
ويتيح ذلك التمييز بين القنوات الضيقة بصورة غير معتادة، والقنوات ذات العرض المناسب وفق النموذج، والقنوات الواسعة بصورة كبيرة.
ويمثل العرض أحد مكونات تقييم البنية ولا يشكل بمفرده إشارة اتجاهية.
• اكتشاف الاختراق
بعد تفعيل القناة يراقب السكربت بصورة مستمرة الحدود العلوية والسفلية المتوقعة.
وتتوفر ثلاث طرق لتحديد الاختراق:
• Conservative (Close) — تتطلب إغلاق الشمعة خارج حد القناة ذي الصلة.
• Aggressive (Wick) — تعتمد على تجاوز أعلى أو أدنى سعر داخل الشمعة للحد المناسب.
• 10% Body Breakout — تتطلب امتداد السعر خارج الحد بمسافة إضافية مشتقة من ارتفاع القناة.
وتسمح هذه الخيارات للمستخدم بتحديد درجة الصرامة المطلوبة في تأكيد كسر حدود القناة.
الحالة الصاعدة تعني أن شرط اختراق الحد العلوي قد تحقق وفق الطريقة المختارة، والحالة الهابطة تعني تحقق الشرط المقابل أسفل الحد السفلي.
وصف الاختراق يعني تحقق الشرط البرمجي المرتبط بحد القناة، ولا يمثل توصية بالدخول في صفقة.
• الأهداف المتتابعة
بعد تأكيد الاختراق يستخدم المؤشر ارتفاع القناة المكتشفة باعتباره مرجعًا لنظام الإسقاط السعري.
تتقدم الأهداف بمراحل تعادل نصف ارتفاع القناة انطلاقًا من مرجع الاختراق.
وعند وصول السعر إلى الهدف النشط ينتقل السكربت إلى المستوى التالي، مع الاحتفاظ بمستويات الأهداف التي تم الوصول إليها على الشارت.
وبذلك تتم متابعة امتداد الحركة على مراحل بدل الاعتماد على هدف واحد ثابت.
هذه المستويات عبارة عن إسقاطات هندسية مشتقة من القناة، ولا تقيس احتمال وصول السعر إلى أي مستوى معين.
• متابعة إعادة الاختبار
بعد الاختراق يستمر Hunter Channel في مراقبة العلاقة بين السعر والحد المتوقع للقناة.
بعد مرور الشموع الأولى من الاختراق، يفحص السكربت ما إذا كان السعر قد عاد إلى المنطقة القريبة من الحد ذي الصلة ثم أغلق مرة أخرى في جهة الاختراق.
وعند تحقق الشروط المبرمجة تظهر حالة إعادة الاختبار.
وتمثل إعادة الاختبار وصفًا لتفاعل السعر مع حد القناة السابق ولا تضمن استمرار الحركة.
• فشل الاختراق
يحتوي السكربت كذلك على شرط لإبطال حالة الاختراق النشطة.
إذا أغلق السعر بدرجة كافية مرة أخرى داخل القناة المتوقعة بعد الاختراق، مقارنة بارتفاع القناة، تتم معاملة الحالة باعتبارها اختراقًا فاشلًا.
بعد ذلك يتم مسح القناة وأهدافها المرتبطة بها، ويستمر محرك القنوات في تقييم البنى اللاحقة.
وبذلك يعمل المؤشر وفق دورة حالة تبدأ باكتشاف القناة، ثم متابعة الاختراق، ثم متابعة الأهداف أو إعادة الاختبار، أو إبطال الاختراق عند تحقق شروط الفشل.
• سياق Radar
يتضمن Hunter Channel مكونًا مستقلًا باسم Radar لتوفير سياق اتجاهي إضافي إلى جانب البنية الهندسية للقناة.
يعتمد Radar على بنيتين سعريتين بتنعيم مختلف. الأطوال الافتراضية هي 11 و33، يليهما تنعيم قصير إضافي.
ويحدد الموقع النسبي بين خطي Radar لون المنطقة الواقعة بينهما، كما يتم رسم خط في منتصف البنيتين.
Radar لا يحدد نقاط Pivot الخاصة بالقناة، ولا حدودها، ولا تقييم جودتها، ولا شروط الاختراق.
سبب وجوده إلى جانب القناة هو أن كل مكون يصف جانبًا مختلفًا من حركة السعر. القناة تصف البنية الهندسية والتفاعل مع الحدود، بينما يقدم Radar قراءة ممهدة للبيئة الاتجاهية الحالية.
وبذلك يستطيع المستخدم مقارنة القناة أو الاختراق بالسياق الاتجاهي المحيط دون دمج الحسابين في إشارة واحدة.
• لوحة التحليل
تلخص لوحة التحليل حالة القناة التي تتم متابعتها من خلال تقييم الجودة، وزاوية القناة، وعرض القناة، والتقييم السياقي للاختراق، والهدف النشط التالي.
هذه القراءات عبارة عن أوصاف مشتقة من قياسات البنية داخل السكربت، ولا ينبغي تفسيرها على أنها احتمالات إحصائية أو نسب نجاح أو عوائد تداول متوقعة.
• لغة لوحة التحليل
تدعم لوحة المؤشر اللغتين الإنجليزية والعربية.
يمكن تغيير اللغة من:
Settings → Dashboard → Table Language / لغة الجدول
تغيير اللغة يؤثر فقط في النصوص المعروضة ولا يغير اكتشاف القنوات أو تقييمها أو شروط الاختراق أو الأهداف أو حسابات Radar.
• التنبيهات
يتضمن السكربت تنبيهات لعدد من الأحداث المبرمجة، ومنها اكتشاف قناة جديدة مستوفية للشروط، وتأكيد اختراق أحد الحدود، والوصول إلى هدف، واكتمال إعادة الاختبار، واكتشاف فشل الاختراق.
ظهور التنبيه يعني أن الشرط البرمجي المقابل قد تحقق، ولا يمثل أمر تداول أو توجيهًا شخصيًا للدخول أو الخروج.
• طريقة مقترحة لقراءة المؤشر
يمكن البدء بمراجعة القناة نفسها من خلال حدودها وعرضها وزاويتها وتقييم بنيتها.
بعد ذلك تتم مراقبة تفاعل السعر مع الحدين العلوي والسفلي واستخدام طريقة تأكيد الاختراق التي يختارها المستخدم.
إذا تحقق الاختراق، توفر الأهداف المتتابعة وحالة إعادة الاختبار معلومات إضافية عن تطور السعر بعد الحدث.
أما Radar فيمكن استخدامه باعتباره سياقًا اتجاهيًا إضافيًا، وليس شرطًا لاكتشاف القناة أو تأكيد الاختراق.
• حدود الاستخدام
Hunter Channel أداة للتحليل الفني وليس نظام تداول آليًا.
تعتمد البنية على نقاط Pivot مؤكدة، ولذلك لا يمكن تحديد القناة إلا بعد توفر بيانات الارتكاز المطلوبة.
وجود قناة صحيحة تاريخيًا لا يعني أن السعر سيستمر في احترام حدودها.
وقد يفشل الاختراق أو ينعكس أو ينتج عنه امتداد محدود.
تقييم الجودة يصف خصائص القناة المكتشفة ولا يقيس الربحية المستقبلية.
الأهداف عبارة عن إسقاطات هندسية ولا تضمن وصول السعر إلى المستويات المعروضة.
كما أن Radar يصف حركة سعرية ممهدة ولا يستطيع تحديد الاتجاه المستقبلي بصورة مؤكدة.
ونظرًا إلى أن السكربت يعرض حالات اختراق اتجاهية، فهو مخصص للاستخدام على الشارتات السعرية القياسية. أنواع الشارت الاصطناعية مثل Heikin Ashi وRenko وKagi وPoint & Figure وRange قد تنتج بيانات سعرية مختلفة، ولذلك لا ينبغي استخدام نتائجها لتقييم سلوك إشارات الاختراق باعتباره أداء تداول واقعيًا.
• إخلاء المسؤولية
Hunter Channel مخصص للتحليل الفني والأغراض التعليمية.
ولا يقدم نصيحة استثمارية أو مالية أو توصية بشراء أو بيع أي أداة مالية.
ولا تضمن أي قناة أو تقييم جودة أو حالة اختراق أو إعادة اختبار أو هدف أو قراءة Radar أو أي مخرج آخر من السكربت اتجاه السوق المستقبلي أو نتائج التداول.
ويبقى المستخدم مسؤولًا عن تحليله وقرارات التنفيذ وحجم المراكز وإدارة المخاطر.
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
Official access to my invite-only indicators
الوصول الرسمي إلى المؤشرات الخاصة
salla.sa/misned
الوصول الرسمي إلى المؤشرات الخاصة
salla.sa/misned
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
Official access to my invite-only indicators
الوصول الرسمي إلى المؤشرات الخاصة
salla.sa/misned
الوصول الرسمي إلى المؤشرات الخاصة
salla.sa/misned
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน