PROTECTED SOURCE SCRIPT
تم تحديثه OrderBlocks by exp3rts (Non-Repainting)

The OrderBlocks by exp3rts indicator automatically identifies and visualizes bullish and bearish order blocks using confirmed, non-repainting fractals combined with Fair Value Gap (FVG) validation for enhanced accuracy.
This tool is designed to help traders spot high-probability institutional price zones — areas where large buy or sell orders previously caused significant moves — allowing you to anticipate potential reversal, continuation, or mitigation levels with precision.
Core Features
✅ Non-Repainting Logic: Uses confirmed 3- or 5-bar fractals only after full pattern completion.
📈 Dynamic Order Block Detection: Marks both bullish and bearish OBs automatically.
⚖️ FVG Filter (Optional): Optionally require a Fair Value Gap within a user-defined distance to confirm valid OBs.
🎯 Customizable OB Lines: Adjust color, style (solid, dashed, dotted), width, and body/wick placement.
🧹 Auto-Cleanup: Option to remove order block lines once price has been mitigated (touched/filled).
🔺🔻 Fractal Display: Toggle fractal highs/lows on or off for extra structure clarity.
⚡ Optimized for Performance: Uses efficient array management to run smoothly within TradingView’s bar processing limits.
How to Use
Settings Overview
Made for any timeframe & any market.
This tool is designed to help traders spot high-probability institutional price zones — areas where large buy or sell orders previously caused significant moves — allowing you to anticipate potential reversal, continuation, or mitigation levels with precision.
Core Features
✅ Non-Repainting Logic: Uses confirmed 3- or 5-bar fractals only after full pattern completion.
📈 Dynamic Order Block Detection: Marks both bullish and bearish OBs automatically.
⚖️ FVG Filter (Optional): Optionally require a Fair Value Gap within a user-defined distance to confirm valid OBs.
🎯 Customizable OB Lines: Adjust color, style (solid, dashed, dotted), width, and body/wick placement.
🧹 Auto-Cleanup: Option to remove order block lines once price has been mitigated (touched/filled).
🔺🔻 Fractal Display: Toggle fractal highs/lows on or off for extra structure clarity.
⚡ Optimized for Performance: Uses efficient array management to run smoothly within TradingView’s bar processing limits.
How to Use
- Add the indicator to your chart.
- Adjust settings such as Fractal Filter (3/5), FVG distance, and Line Style to match your trading preference.
- Watch for bullish OBs (green lines) near potential demand zones and bearish OBs (red lines) near supply zones.
- Use in confluence with market structure and liquidity concepts for best results.
Settings Overview
- Fractal Filter: Choose between 3-bar or 5-bar swing fractals.
- Order Block Type: Detect OBs based on Close or High/Low break structure.
- FVG Filter: Optionally require nearby Fair Value Gaps.
- Delete After Fill: Automatically remove mitigated OBs.
- Visuals: Customize line color, thickness, and style for clear chart integration.
Made for any timeframe & any market.
ملاحظات الأخبار
v1.1- Added lookback input field
ملاحظات الأخبار
v1.1- Code Cleanup
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.