Order Block Matrix [Alpha Extract]The Order Block Matrix indicator identifies and visualizes key supply and demand zones on your chart, helping traders recognize potential reversal points and high-probability trading setups.
This tool helps traders:
Visualize key order blocks with volume profile histograms showing liquidity distribution.
Identify high-volume price levels where institutional activity occurs.
rank historical order blocks and analyze their strength based on volume.
Receive alerts for potential trading opportunities based on price-block interactions.
🔶 CALCULATION
The indicator processes chart data to identify and analyze order blocks:
Order Block Detection
Inputs:
Price action patterns (consolidation areas followed by breakouts).
Volume data from current and lower timeframes.
User-defined lookback periods and thresholds.
Detection Logic:
Identifies consolidation areas using a dynamic range comparison.
Confirms breakout patterns with percentage threshold validation.
Maps volume distribution across price levels within each order block.
🔶Volume Analysis
Volume Profiling:
Divides each order block into configurable grid segments.
Maps volume distribution across price segments within blocks.
Highlights zones with highest volume concentration.
Strength Assessment:
Calculates total block volume and relative strength metrics.
Compares block volume to historical averages.
Determines probability of reversal based on volume patterns.
isConsolidation(len) =>
high_range = ta.highest(high, len) - ta.lowest(high, len)
low_range = ta.highest(low, len) - ta.lowest(low, len)
avg_range = (high_range + low_range) / 2
current_range = high - low
current_range <= avg_range * (1 + obThreshold)
🔶 DETAILS
Visual Features
Volume Profile Histograms:
Color-coded bars showing volume concentration within order blocks.
Gradient coloring based on relative volume (high volume = brighter colors).
Bull blocks (green/teal) and bear blocks (red) with varying opacity.
Block Visualization:
Dynamic box sizing based on volume concentration.
Optional block borders and background fills.
Volume labels showing total block volume.
Screener Table:
Real-time analysis of order block metrics.
Shows block direction, proximity, retest count, and volume metrics.
Color-coded for quick reference.
Interpretation
High Volume Areas: Zones with institutional interest and potential reversal points.
Block Direction: Bullish blocks typically support price, bearish blocks typically resist price.
Retests: Multiple tests of an order block may strengthen or weaken its influence.
Block Age: Newer blocks often have stronger influence than older ones.
Volume Concentration: Brightest segments within blocks represent the highest volume areas.
🔶 EXAMPLES
The indicator helps identify key trading opportunities:
Bullish Order Blocks
Support Zones: Identify strong support levels where price is likely to bounce.
Breakout Confirmation: Validate breakouts with volume analysis to avoid false moves.
Retest Strategies: Enter trades when price retests a bullish order block with high volume.
Bearish Order Blocks
Resistance Zones: Identify strong resistance levels where price is likely to reverse.
Distribution Areas: Detect zones where smart money is distributing to retail.
Short Opportunities: Find optimal short entry points at high-volume bearish blocks.
Combined Strategies
Order Block Stacking: Multiple aligned blocks create stronger support/resistance zones.
Block Mitigation: When price breaks through a block, it often indicates a strong trend continuation.
Volume Profile Applications: Higher volume segments provide more precise entry and exit points.
🔶 SETTINGS
Customization Options
Order Block Detection:
Consolidation Lookback: Adjust the period for consolidation detection.
Breakout Threshold: Set minimum percentage for breakout confirmation.
Historical Lookback Limit: Control how far back to scan for historical order blocks.
Maximum Order Blocks: Limit the number of visible blocks on the chart.
Visual Style:
Grid Segments: Adjust the number of volume profile segments.
Extend Blocks to Right: Enable/disable extending blocks to current price.
Show Block Borders: Toggle border visibility.
Border Width: Adjust thickness of block borders.
Show Volume Text: Enable/disable volume labels.
Volume Text Position: Control placement of volume labels.
Color Settings:
Bullish High/Low Volume Colors: Customize appearance of bullish blocks.
Bearish High/Low Volume Colors: Customize appearance of bearish blocks.
Border Color: Set color for block outlines.
Background Fill: Adjust color and transparency of block backgrounds.
Volume Text Color: Customize label appearance.
Screener Table:
Show Screener Table: Toggle table visibility.
Table Position: Select positioning on the chart.
Table Size: Adjust display size.
The Order Block Matrix indicator provides traders with powerful insights into market structure, helping to identify key levels where smart money is active and where high-probability trading opportunities may exist.
Orderblockanalysis
Multitimeframe Order Block Finder (Zeiierman)█ Overview
The Multitimeframe Order Block Finder (Zeiierman) is a powerful tool designed to identify potential institutional zones of interest — Order Blocks — across any timeframe, regardless of what chart you're viewing.
Order Blocks are critical supply and demand zones formed by the last opposing candle before an impulsive move. These areas often act as magnets for price and serve as smart-money footprints — ideal for anticipating reversals, retests, or breakouts.
This indicator not only detects such zones in real-time, but also visualizes their mitigation, bull/bear volume pressure, and a smoothed directional trendline based on Order Block behavior.
█ How It Works
The script fetches OHLCV data from your chosen timeframe using request.security() and processes it using strict pattern logic and volume-derived strength conditions. It detects Order Blocks only when the structure aligns with dominant pressure and visually extends valid zones forward for as long as they remain unmitigated.
⚪ Bull/Bear Volume Power Visualization
Each OB includes proportional bars representing estimated buy/sell effort:
Buy Power: % of volume attributed to buyers
Sell Power: % of volume attributed to sellers
This adds a visual, intuitive layer of intent — showing who controlled the price before the OB formed.
⚪ Order Block Trendline (Butterworth Filtered)
A smoothed trendline is derived from the average OB value over time using a two-pole Butterworth low-pass filter. This helps you understand the broader directional pressure:
Trendline up → favor bullish OBs
Trendline down → favor bearish OBs
█ How to Use
⚪ Trade From Order Blocks Like Institutions
Use this tool to find institutional footprints and reaction zones:
Enter at unmitigated OBs
⚪ Volume Power
Volume Pressure Bars inside each OB help you:
Confirm strong buyer/seller dominance
Detect possible traps or exhaustion
Understand how each zone formed
⚪ Find Trend & Pullbacks
The trendline not only helps traders detect the current trend direction, but the built-in trend coloring also highlights potential pullback areas within these trends.
█ Settings
Timeframe – Selects which timeframe to scan for Order Blocks.
Lookback Period – Defines how many bars back are used to detect bullish or bearish momentum shifts.
Sensitivity – When enabled, the indicator uses smoothed price (RMA) with rising/falling logic instead of raw candle closes. This allows more flexible detection of trend shifts and results in more Order Blocks being identified.
Minimum Percent Move – Filters out weak moves. Higher = only strong price shifts.
Mitigated on Mid – OB is removed when price touches its midpoint.
Show OB Table – Displays a panel listing all active (unmitigated) Order Blocks.
Extend Boxes – Controls how far OB boxes stretch into the future.
Show OB Trend – Toggles the trendline derived from Order Block strength.
Passband Ripple (dB) – Controls trendline reactivity. Higher = more sensitive.
Cutoff Frequency – Controls smoothness of trendline (0–0.5). Lower = smoother.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Volume Order Blocks [BigBeluga]Volume Order Blocks is a powerful indicator that identifies significant order blocks based on price structure, helping traders spot key supply and demand zones. The tool leverages EMA crossovers to determine the formation of bullish and bearish order blocks while visualizing their associated volume and relative strength.
🔵 Key Features:
Order Block Detection via EMA Crossovers:
Plots bullish order blocks at recent lows when the short EMA crosses above the long EMA.
Plots bearish order blocks at recent highs when the short EMA crosses below the long EMA.
Uses customizable sensitivity through the “Sensitivity Detection” setting to fine-tune block formation.
Volume Collection and Visualization:
Calculates the total volume between the EMA crossover bar and the corresponding high (bearish OB) or low (bullish OB).
Displays the absolute volume amount next to each order block for clear volume insights.
Percentage Volume Distribution:
Shows the percentage distribution of volume among bullish or bearish order blocks.
100% represents the cumulative volume of all OBs in the same category (bullish or bearish).
Order Block Removal Conditions:
Bullish order blocks are removed when the price closes below the bottom of the block.
Bearish order blocks are removed when the price closes above the top of the block.
Helps maintain chart clarity by only displaying relevant and active levels.
Midline Feature:
Dashed midline inside each order block indicates the midpoint between the upper and lower boundaries.
Traders can toggle the midline on or off through the settings.
Shadow Trend:
Shadow Trend dynamically visualizes trend strength and direction by adapting its color intensity based on price movement.
🔵 Usage:
Supply & Demand Zones: Use bullish and bearish order blocks to identify key market reversal or continuation points.
Volume Strength Analysis: Compare volume percentages to gauge which order blocks hold stronger market significance.
Breakout Confirmation: Monitor block removal conditions for potential breakout signals beyond support or resistance zones.
Trend Reversals: Combine EMA crossovers with order block formation for early trend reversal detection.
Risk Management: Use OB boundaries as potential stop-loss or entry points.
Volume Order Blocks is an essential tool for traders seeking to incorporate volume-based supply and demand analysis into their trading strategy. By combining price action, volume data, and EMA crossovers, it offers a comprehensive view of market structure and potential turning points.