The Interbank Price Delivery Algorithm (IPDA) This indicator automates the visualization of the Interbank Price Delivery Algorithm (IPDA) concepts as taught by ICT. The core principle of IPDA is that the market's price delivery mechanism references specific historical data intervals to create the current market structure. By looking back at the highs and lows of the past 20, 40, and 60 trading periods, we can define the key ranges that influence institutional order flow. The ICT-IPDA [MTF + P/D] indicator not only calculates these standard ranges but expands upon them, providing a comprehensive, multi-timeframe tool for traders to analyze market structure, identify areas of premium and discount, and anticipate future price movements with exact precision.
2. Logic
This tool is designed to be both powerful and highly flexible, automatically calculating and plotting crucial data points based on your selected look-back period and desired timeframe.
2.1. Expanded Look-Back Intervals While standard ICT teaching focuses on 20, 40, and 60-day look-backs, this indicator extends the analysis to a much broader spectrum, allowing you to select from intervals spanning 20 all the way up to 240 periods. This provides a multi-layered view of market structure, suitable for all trading styles.
2.2. Multi-Timeframe (MTF) Engine The IPDA ranges are dynamically locked to your chosen timeframe. If the timeframe is set to "1D" (Daily), IPDA 20 represents 20 days. If the timeframe is set to "4H", IPDA 20 represents 20 bars of the 4H chart. This allows you to view HTF (Higher Timeframe) IPDA ranges seamlessly on your LTF (Lower Timeframe) execution charts. The MTF engine explicitly references the last confirmed closed bars to guarantee zero repainting.
2.3. Comprehensive Range Analysis For each active look-back period, the indicator automatically plots:
Premium & Discount Zones: Visualized as boxes, these zones clearly delineate where prices are considered expensive (Premium) or cheap (Discount) relative to the range's Equilibrium.
Key Levels:The Range High, Low, and Equilibrium (50%) are plotted as distinct lines, serving as critical support, resistance, and pivot points.
Internal Range Structures: To provide a more granular view, the indicator plots deep fractal divisions of the range, including 1/4 (Quadrants), 1/8 (Octants), 1/16 (Sedecimants), and 1/32 levels.
3. Settings & Options
The true power of this indicator lies in its extensive customization options, allowing you to tailor the tool to your exact analytical needs.
3.1. Time Settings
Timeframe: Choose the specific timeframe from which to calculate the IPDA ranges (e.g., Daily, 4H, 1H). The calculation remains locked to this timeframe regardless of the chart you are viewing.
Anchor the Lookback Date at: Lock the IPDA calculation to a specific start date. This allows you to analyze how price behaved relative to a fixed historical range without the look-back window rolling forward.
3.2. IPDA Ranges Settings
Range Toggles: Easily toggle any of the 12 available IPDA look-back intervals on or off.
Plot Format: Choose your preferred visualization style: Boxes, Lines, Boxes + Lines, or one of two data Tables. Table A shows the Premium/Discount status, while Table B shows your exact percentage depth inside the range.
Subdivisions: Toggle the visibility of internal fractional levels (1/4, 1/8, 1/16, 1/32).
Custom Styling: Complete control over the colors, line styles, widths, and transparency of all visual elements.
3.3. Cast Forward Lines
Cast Toggles: Project the exact length of any active IPDA range into the future to frame upcoming price action and expected cycles.
Projection Styling: Customize the projection lines independently of the historical IPDA ranges, or sync them by checking "Use IPDA Colors".
3.4. Labels & Hover Tooltips
Pane Labels: Display precise price information on the chart. Customize the horizontal (H-Pos) and vertical (V-Pos) alignment to keep your charts clean.
Data Options: Choose what data the labels display, including Price, Fraction (e.g., 1/4), Decimal (e.g., 0.25), and Percentage (e.g., 25%).
Hover Tooltips: Keep the chart minimalistic by relying entirely on dynamic hover tooltips. Simply hover your mouse over any line to see its exact mathematical data.
3.5. Alerts
Custom Alerts: Be instantly notified when price breaks above the High, falls below the Low, or crosses the Equilibrium of any active higher-timeframe IPDA range.
4. Under the Hood: Engineered for Performance
Built entirely from the ground up using the latest Pine Script™ v6 architecture, this indicator utilizes a highly optimized Object-Oriented Programming (OOP) approach to deliver a lightning-fast, reliable charting experience.
State Machine Architecture: Data ranges, cast parameters, and labels are tracked using custom User-Defined Types (UDTs) and dynamic arrays. This ensures the script executes exceptionally fast while consuming minimal system memory.
True MTF Historical Fetching: The multi-timeframe engine is hard-coded to pull exclusively from the last fully closed higher-timeframe sequence. This eliminates lookahead bias and ensures perfect alignment of 20/40/60 period look-backs, guaranteeing zero lag and zero repainting.
Clean-Room Execution: By strictly utilizing native v6 functionalities and precise execution loops, the indicator's computational footprint is minimized. This provides a highly responsive tool that keeps your charts clean and your terminal running flawlessly.
5. Practical Application & Strategy
For Intraday Traders: The 20-Day Look-Back is invaluable. It helps identify the immediate operational range, allowing you to spot high-probability trade setups at deep discount or premium levels and target the opposing end of the range or its equilibrium.
For Swing & Position Traders:The 40, 60, and 80-Day Look-Backs offer a clearer perspective of the broader market bias. These larger ranges define significant levels that are more likely to act as major turning points or trend continuation levels. Use them to understand the macro context before zooming in for entries.
This website and the invite-only scripts presented here are published and maintained in strict compliance with TradingView’s Terms of Use and House Rules.
All scripts are provided exclusively for non-commercial, educational purposes and are made available completely free of charge to members of our private study and research group, ICT-RG (Research Group).
Access is never sold, rented, or bundled with any paid product or service; it is granted solely upon explicit request and on a discretionary basis to fellow ICT students and traders who are a strong fit for our non-profit study and research community.
HOW TO REQUEST ACCESS To request discretionary access as a fellow ICT student, please reach out via one of the following channels (using the direct link buttons on this site):
TradingView Private Message (Chat)
X.com Direct Message
Telegram
PRESENTATION PROTOCOL When reaching out, please include a succinct introduction covering:
Who you are and what your real name is ?
How old you are and where you are from ?
What your current profession or background is (if applicable) ?
How many years you have been studying ICT concepts ?
How many years (if any) you have been trading ICT concepts ?
How you engage with the market (instruments, sessions, timeframes) ?