INVITE-ONLY SCRIPT

Order Blocks V5 by Gary

46
In financial markets, Order Blocks are a powerful Price Action concept representing large-scale buying/selling by institutional investors or major capital at specific price ranges. They often signal potential reversals or trend continuations. However, standard Order Block definitions are often overly broad, generating excessive noise in real-market conditions and leading to misjudgments.
Order Blocks V5 was developed to address this pain point. It integrates complementary technical tools and flexible analysis logic to help you screen high-quality, reliable trading opportunities.
Core Features & Functions:
1. Dual Structure Detection
Swing Order Blocks: Identifies large-scale Order Blocks formed on the primary trend structure based on your custom Swing Length (e.g., 50 bars). These blocks typically indicate significant market turning points.
Internal Order Blocks: Detects smaller-scale Order Blocks within trends using a shorter Internal Structure Length (e.g., 5 bars). This helps capture short-term pullback and reversal opportunities.
2. Complementary Technical Tools for Filtering
Built-in Bollinger Bands (For Reference): The indicator displays Bollinger Bands (customizable length and standard deviation) directly on the chart. While it doesn’t include automatic Bollinger Bands filtering logic, you can use this tool to assess market volatility and overbought/oversold conditions manually. For example, prioritize Internal Order Block signals when price touches or nears the upper/lower bands—adding a discretionary filter to reduce false signals.
Moving Averages for Trend Context: Integrated with 5-period, 10-period, 20-period, 40-period, and 60-period EMAs. Use these to judge the current trend direction:
Focus on bullish Order Block signals when EMAs are in a bullish alignment (uptrend).
Focus on bearish Order Block signals when EMAs are in a bearish alignment (downtrend).
This helps you trade with the trend and filter low-quality counter-trend signals.
3. "Touch & Reversal" Signals
The indicator not only marks Order Blocks but also intelligently monitors price interactions with them. A price retest of an Order Block is inherently noteworthy.
More importantly, when price touches an Order Block and then:
Breaks above the high of the touch bar (for bullish Order Blocks), or
Breaks below the low of the touch bar (for bearish Order Blocks),
The indicator instantly generates prominent labels like B-SOB (Buy - Swing Order Block) or S-IOB (Sell - Internal Order Block) on the chart—signaling a potential reversal confirmed by market action.
4. Highly Customizable
Tailor the indicator to your trading style and instruments with adjustable parameters:
Display colors and transparency for both Order Block types.
Detection lengths for swing and internal structures.
Option to remove Order Block boxes after price breaks.
Sensitivity of Touch & Reversal signals (e.g., max signals per block, minimum bars between touches).
Toggle visibility of Bollinger Bands and individual EMAs.

How to Use Order Blocks V5 to Enhance Your Trading?
1. Identify Trend Direction: Use the built-in EMA system (e.g., 20/40/60 EMA alignment) to determine if the market is in an uptrend, downtrend, or consolidation.
2. Locate Key Zones: Focus on green (bullish) and red (bearish) Order Block boxes automatically drawn on the chart—these are potential support/resistance areas.
3. Apply Discretionary Filtering:
Use Bollinger Bands to gauge volatility: Avoid signals in narrow-range (low-volatility) markets; prioritize signals when price approaches extreme bands.
Combine with trend direction from EMAs to filter 逆势 (counter-trend) signals.
4. Wait for Confirmation:
Conservative Strategy: Enter trades only after price retests an Order Block and triggers a Touch & Reversal signal (e.g., B-... or S-... labels).
Aggressive Strategy: Monitor price when it first touches an Order Block, combining with indicators like RSI or MACD to identify potential entry points.
5. Risk Management: Place stop-loss orders outside the Order Block box to filter false breaks.

Risk Disclaimer: No indicator guarantees 100% win rate. Use this tool as part of your trading system, combine it with other analysis methods, and strictly follow risk management rules.
Download, test it out, and share your feedback in the comments!

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.