OPEN-SOURCE SCRIPT
RB — Rejection Blocks (Price Structure)

This indicator highlights potential Rejection Blocks (RB) from pure price structure.
What it does
• Detects bullish and bearish RBs using simple candle rules
• Draws zones as boxes, optional lines, and labels
• Keeps the chart readable with minimal, focused visuals
How it works
• Bullish RB: a down candle with a lower low than both the previous and the next candle
• Bearish RB: an up candle with a higher high than both the previous and the next candle
Use case
Useful for visually studying potential rejection areas and market structure on any timeframe.
Note
This tool is not a signal system; it’s a visual aid for discretionary analysis.
What it does
• Detects bullish and bearish RBs using simple candle rules
• Draws zones as boxes, optional lines, and labels
• Keeps the chart readable with minimal, focused visuals
How it works
• Bullish RB: a down candle with a lower low than both the previous and the next candle
• Bearish RB: an up candle with a higher high than both the previous and the next candle
Use case
Useful for visually studying potential rejection areas and market structure on any timeframe.
Note
This tool is not a signal system; it’s a visual aid for discretionary analysis.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.