RSI Momentum LockConcept & Philosophy This indicator is a unique hybrid trend-following system that combines the momentum power of RSI with the visual simplicity of the SuperTrend. Unlike standard indicators that flip constantly during choppy markets, the RSI Momentum Lock uses a "State Machine" logic to capture and hold strong trends.
How It Works The indicator creates a "Trend Lock" based on RSI breakout levels:
Bullish Lock (Green): Triggered ONLY when RSI closes above 70 (Overbought Breakout). The trend remains bullish even if RSI falls back to neutral levels (50-60), filtering out minor corrections.
Bearish Lock (Red): Triggered ONLY when RSI closes below 30 (Oversold Breakdown). The trend remains bearish until a new bullish breakout occurs.
Visuals The plot looks like a SuperTrend, calculated using ATR (Average True Range) to provide a dynamic Trailing Stop line.
Green Line: Support level during an uptrend.
Red Line: Resistance level during a downtrend.
Why Use This Indicator?
Filters Noise: It ignores sideways movement between RSI 30 and 70.
Early Entry: Catches the momentum explosion right at the breakout.
Longer Rides: Keeps you in the trade longer than traditional SuperTrends.
Settings
RSI Length: Default is 14.
Levels: Default triggers are 70 (Buy) and 30 (Sell).
ATR Factor: Controls the distance of the line from the price (Default 3.0).
الفكرة والفلسفة (Concept & Philosophy)
هذا المؤشر هو نظام اتجاه هجين فريد يجمع بين قوة زخم مؤشر RSI والبساطة البصرية لمؤشر SuperTrend.
على عكس المؤشرات التقليدية التي تغيّر اتجاهها باستمرار في الأسواق العرضية (المتذبذبة)، يعتمد مؤشر RSI Momentum Lock على منطق آلة الحالات (State Machine) لالتقاط الاتجاهات القوية والاحتفاظ بها لأطول فترة ممكنة.
كيف يعمل المؤشر؟ (How It Works)
يقوم المؤشر بإنشاء ما يُعرف بـ قفل الاتجاه (Trend Lock) بناءً على اختراقات مؤشر RSI:
قفل صاعد (Bullish Lock – أخضر)
يتم تفعيله فقط عندما يغلق مؤشر RSI أعلى مستوى 70 (اختراق تشبع شرائي).
يظل الاتجاه صاعدًا حتى لو عاد RSI إلى مناطق محايدة (50 – 60).
هذا الأسلوب يمنع الخروج المبكر بسبب التصحيحات البسيطة.
قفل هابط (Bearish Lock – أحمر)
يتم تفعيله فقط عندما يغلق مؤشر RSI أسفل مستوى 30 (اختراق تشبع بيعي).
يظل الاتجاه هابطًا حتى يحدث اختراق صاعد جديد.
يساعد على تجنب الإشارات الكاذبة أثناء التذبذب.
الشكل البصري (Visuals)
يظهر المؤشر بصريًا بشكل مشابه لـ SuperTrend، ويتم حسابه باستخدام ATR (متوسط المدى الحقيقي) لإنشاء خط وقف متحرك ديناميكي:
الخط الأخضر: مستوى دعم أثناء الاتجاه الصاعد.
الخط الأحمر: مستوى مقاومة أثناء الاتجاه الهابط.
لماذا تستخدم هذا المؤشر؟ (Why Use This Indicator?)
فلترة الضوضاء: يتجاهل الحركة العرضية عندما يكون RSI بين 30 و70.
دخول مبكر: يلتقط انفجار الزخم مباشرة عند الاختراق الحقيقي.
صفقات أطول: يبقيك داخل الصفقة لفترة أطول مقارنة بمؤشرات SuperTrend التقليدية.
الإعدادات (Settings)
طول RSI: القيمة الافتراضية 14
المستويات:
شراء: 70
بيع: 30
عامل ATR: يحدد بُعد الخط عن السعر (القيمة الافتراضية 3.0)
Pine Script® indicator






















