OPEN-SOURCE SCRIPT

Dynamic Range Finder [The_lurker]

هو أداة تهدف إلى تحديد نطاق السعر الديناميكي بناءً على التقلبات ومتوسط الأسعار . حيث يتم التعرف على مناطق التوحيد السعري (Consolidation) ويعطي إشارات شراء وبيع عند اختراق أو كسر هذا النطاق .

// يفضل استخدام المؤشر على اطار 4 ساعات واكثر //


مميزات المؤشر :

1- اكتشاف النطاق السعري الديناميكي

- يقوم المؤشر بحساب متوسط السعر خلال فترة محددة ومقارنة الإغلاقات الحديثة بمدى تقلب الأسعار (ATR) لمعرفة ما إذا كان السعر يتحرك داخل نطاق معين.

2- تحديد الاختراقات Breakout Signals

- عند اختراق السعر الحد العلوي للنطاق، يظهر المؤشر إشارة شراء (BUY).
- عند كسر السعر الحد السفلي للنطاق، يظهر المؤشر إشارة بيع (SELL).

3- دعم أنماط متعددة للمتوسطات المتحركة

- يسمح للمستخدمين باختيار نوع المتوسط المتحرك (SMA، EMA، WMA) المستخدم في حساب متوسط السعر.

4- إعدادات مخصصة للفلترة بحجم التداول (اختياري)

- فلترة حجم التداول هي ميزة اختيارية في المؤشر تسمح بتصفية إشارات الشراء والبيع بناءً على قوة الحجم المتداول مما يعزز دقة الإشارات عن طريق التأكد من أن الاختراقات السعرية مدعومة بحجم تداول قوي

5- تصميم مرن مع تخصيص للألوان والأنماط

- يمكن للمستخدمين تغيير ألوان النطاق وإشارات البيع والشراء حسب رغبتهم.

6- تنبيهات آلية عند حدوث كسر أو اختراق

- يتضمن تنبيهات (Alerts) عند حدوث إشارة بيع أو شراء.


كيف يعمل المؤشر؟

* يتم حساب متوسط السعر خلال الفترة المحددة (rangePeriod).

* يتم حساب التقلب السعري (ATR) ومضاعفته بمعامل النطاق (rangeMultiplier).

* يتم رسم مستطيل يعبر عن النطاق السعري بين (متوسط السعر ± التقلب).

* إذا تجاوز السعر الحد العلوي → إشارة شراء (BUY).

* إذا كسر السعر الحد السفلي → إشارة بيع (SELL).

* يمكن تصفية الإشارات باستخدام حجم التداول (اختياري).

1.0 → الحجم الحالي يجب أن يكون على الأقل مساويًا للمتوسط.
1.2 → الحجم الحالي يجب أن يكون أعلى من المتوسط بنسبة 20%.
1.5 → الحجم الحالي يجب أن يكون أعلى من المتوسط بنسبة 50%.


تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.

إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.

It is a tool that aims to determine the dynamic price range based on fluctuations and average prices. Consolidation areas are identified and buy and sell signals are given when this range is breached or broken.

// It is preferable to use the indicator on a 4-hour frame or more //

Features of the indicator:

1- Detecting the dynamic price range

- The indicator calculates the average price over a specific period and compares recent closings with the price volatility range (ATR) to see if the price is moving within a specific range.

2- Identifying Breakout Signals

- When the price breaks the upper limit of the range, the indicator shows a buy signal (BUY).
- When the price breaks the lower limit of the range, the indicator shows a sell signal (SELL).

3- Support for multiple moving average patterns

- Allows users to choose the type of moving average (SMA, EMA, WMA) used to calculate the average price.

4- Custom settings for filtering by trading volume (optional)

- Trading volume filtering is an optional feature in the indicator that allows filtering buy and sell signals based on the strength of the trading volume, which enhances the accuracy of the signals by ensuring that price breakouts are supported by strong trading volume

5- Flexible design with customization of colors and patterns

- Users can change the colors of the range and buy and sell signals as they wish.

6- Automatic alerts when a breakout or breakout occurs

- Includes alerts when a buy or sell signal occurs.

How does the indicator work?

* The average price is calculated over the specified period (rangePeriod).

* The price volatility (ATR) is calculated and multiplied by the range factor (rangeMultiplier).

* A rectangle is drawn that represents the price range between (average price ± volatility).

* If the price exceeds the upper bound → a buy signal (BUY).

* If the price breaks the lower bound → a sell signal (SELL).

* Signals can be filtered using trading volume (optional).

1.0 → Current volume should be at least equal to the average.
1.2 → Current volume should be 20% above the average.
1.5 → Current volume should be 50% above the average.

Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis to achieve the best results.

Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.

Penafian