Orderblock Footprints [InfinityAlgo]
This script highlights orderblocks and then drills into what actually trades inside them. Zones are created only after an abnormal directional impulse, measured with a z-score on consecutive candle bodies, so the orderblocks are tied to real expansion rather than simple pivots
This script highlights orderblocks and then drills into what actually trades inside them. Zones are created only after an abnormal directional impulse, measured with a z-score on consecutive candle bodies, so the orderblocks are tied to real expansion rather than simple pivots. Once a zone exists, the script overlays lower-timeframe volume footprints inside the candle when price trades back into that zone. The goal is to show not just where an orderblock sits, but whether price is being accepted or absorbed when it is revisited.
🟠CONCEPTS
Orderblocks are detected after extreme bullish or bearish impulses. The script tracks consecutive body movement up or down, normalizes that distance with a rolling z-score, and only triggers when the move is statistically large. The last opposite candle before that impulse defines the orderblock range. These zones then extend forward until they are either mitigated by price closing through them or they expire by age.
Inside an active zone, the script switches to a lower timeframe and builds a footprint-style profile for each bar. Each candle is split into price rows, counting time-at-price and volume delta. Positive and negative delta are colored separately. Absorption is flagged when opposing delta prints appear in the wick that rejects the zone. In practice: the impulse defines context; the footprint shows interaction.
🟠FEATURES
- Separate bullish and bearish zones with automatic extension
- Volume split inside each zone candle (up vs down volume)
- Lower-timeframe footprint with TPO-style rows and delta gradient
- Absorption detection using opposing delta in rejection wicks
- Alerts for zone creation and absorption events
🟠 USAGE
- Setup: Add the script to your chart. It works on any market and timeframe. The lower timeframe for footprints is fixed at 5 minutes, so higher chart timeframes show clearer structure. Use the Z-Score Window to control how strict impulse detection is and Max Box Age to limit how long old zones stay on the chart.
- Read the chart: Bullish orderblocks are created after strong upward impulses and are invalidated when price closes below them. Bearish orderblocks are created after strong downward impulses and are invalidated when price closes above them. When price trades inside a zone, footprint rows appear. Green-tinted rows show positive delta; red-tinted rows show negative delta. Absorption labels appear when opposing delta prints into a rejecting wick.
- Settings that matter: Increasing the Z-Score Window makes orderblocks rarer but more significant. Disabling Prevent Overlap allows stacked zones if you want to study clustering. Adjusting Rows per bar changes footprint resolution—lower values are cleaner, higher values show more detail but use more objects.
thumbnail
visual enhancements
Update library imports
Related Products
100% This Pine Scriptâ„¢ code is subject
The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers or standalone support/resistance tools, this script integrates a volatility-adaptive "Trend Cloud" with a "Smart Liquidity" engine.
80+ Pro TradingView Indicators Bundle – Trade Smarter with One Powerful System
An exclusive TradingView indicators package featuring 80+ professional tools designed for precise market analysis and smarter trading decisions. This all-in-one bundle covers trend detection, entry and exit signals, risk management, and advanced market confirmation—ideal for traders who want powerful insights in one premium package.
ACD Indicator for MetaTrader 5 Download - Free
The ACD indicator is a technical analysis tool in MetaTrader 5 developed by Mark Fisher and can also be used as a trading strategy. This tool is highly suitable for detecting daily price trends.
Advanced Gold Trading V6.4 EA MT4
Advanced Gold Trading V6.4 EA MT4 CATEGORY: MT4 EXPERTS
Advanced Hedge EA V4.0 MT4
Discover the Advanced Hedge EA V4.0 for MT4. This powerful automated trading tool helps users manage multiple hedged positions while optimizing profits and minimizing risks. Perfect for Forex traders who seek a reliable and sophisticated hedging strategy. CATEGORY: MT4 EXPERTS
AI Gen XII EA V2.5 MT4
A sophisticated AI-driven AI Gen XII EA V2.5 that leverages machine learning for pattern prediction and high-frequency trading on MT4.
