
Concept Introduction
Indicator Features
Settings and usage
Concept Introduction
DD IFVG° [Pro+] is an automated charting tool built to track inversion logic after displacement events—specifically when Fair Value Gaps (FVGs) are closed through and act as an inversion gaps. The tool adheres to logic taught by DodgyDD and inspired by InnerCircleTrader methodology, offering a clean visual interface to support traders studying price behavior after liquidity sweeps, FVG closures, and delivery to targets.
This indicator does not draw zones or suggest direction. It operates entirely on confirmed price events and produces logic-bound visuals designed for traders who already understand IFVG-based reasoning, seeking visual consistency across sessions and timeframes.
Key Terms and Definitions
Swing High / Swing Low: A swing high is a local price peak with lower highs on either side. A swing low is a local trough with higher lows on either side. These are used to detect where liquidity may rest and are required for confirming the initial raid condition in the IFVG model.
Liquidity Raid: This occurs when price breaks a prior swing high or low, effectively “sweeping” a level where orders may be clustered. A raid is a required precursor to inversion logic in this model. The tool will not evaluate a potential Fair Value Gap or DD Inversion unless a swing high or low has been raided first.
Fair Value Gap (FVG): A Fair Value Gap is a price imbalance that occurs when a strong move leaves a gap between candles—specifically, when the high of one candle and the low of a later candle do not overlap. FVGs often emerge during displacement and are commonly studied as inefficiencies to rebalance within a price leg.
DD Inversion: A DD inversion happens when price fully closes through an existing Fair Value Gap after raiding liquidity, suggesting the original imbalance rebalanced, and looks to reverse its original role. For example, when a bearish FVG is closed above after raiding a swing low, it may behave with a change of orderflow (bullish inversion). The tool recognizes IFVGs as “inverted” after a full-body candle closes through the gap post raid.
Displacement: A strong, directional price move—typically with momentum—that leaves a Fair Value Gap behind. Displacement is important with inversion logic, as it creates the context and confidence in comparing and contrasting standard FVGs and DD Inversions for obvious flips in market behavior.
DD Line: Once inversion occurs, the tool draws a single horizontal array on the very next candle. This is the DD (Dodgy Dungeon) line. It marks the model’s activation level—not a prediction level or a support/resistance zone. It serves as a reference for when model logic is sequentially active.
Opposing Swing: The swing high or low opposing the confirmed sweep. This becomes the model’s first target for mechanical delivery and is automatically drawn once the DD line is triggered. When price reaches this swing, the model has reached its objective and could offer opportunities for further continuation to additional liquidity pools.
Invalidation Condition: When selected upon Inversion Closure, this feature extends model tracking only until price closes back into the detected inversion. In a bullish example, if price closes above a bearish FVG (triggering a bullish inversion) and then closes back down through that FVG, the model is considered failed by default.
If the indicator setting enables invalidate upon swing, the DD line will continue plotting and a warning symbol appears on the candle to signal this event. The setup will continue to extend until either the opposing swing high is reached (completion), or the swing low that formed before the original bearish FVG is taken out (invalidation). This logic allows users to track deeper retracements without prematurely invalidating the model. If the high or low of the swing that caused the inversion is later breached, the model is structurally invalidated. The DD line turns gray and stops extending at the time of invalidation.
Consequent Encroachment (CE): The midpoint (50%) of the FVG or IFVG. This line can be optionally displayed for users who use midpoint reference logic. It is not required by the model’s internal logic but may assist with discretionary interpretation.
Indicator Features
The Bias Filter allows traders to define whether to track bullish inversions (closing above bearish FVGs), bearish inversions (closing below bullish FVGs), or neutral for both. This allows the trader to isolate directional focus or display all structures on the same chart mechanically.

The Liquidity Timeframe defines the Timeframe for swing highs and lows that are identified for the required liquidity raid. The “Chart” mode allows analysts to use the active chart timeframe. “Auto” enables a custom Timeframe Alignment, explained inside of the setting infotip. “Custom” allows for specific frame alignment, which is helpful when syncing with specific higher-timeframe structure.

Liquidity Timeframe: Chart

Liquidity Timeframe: Automatic

Liquidity Timeframe: Custom (15m)
The FVG Filter Timeframe requires the DD setup to trade into a FVG before qualifying the raid filter. For instance, setting this to “4H” ensures that only setups that form within a 4-hour FVG. This gives analysts an additional filter to qualify the start of the mechanical model.

Session Filtering allows traders to define up to four specific time blocks for model activation, enabling targeted tracking during high-impact sessions such as the London Open or New York Close.
For added precision, the “Macros Only” toggle restricts activation to the first and last 10 minutes of each hour, ideal for isolating displacement-heavy windows where rapid order flow shifts often occur. This refined approach helps traders focus on key structural moves without the noise of less impactful periods.

The Invalidation Toggle controls whether failed models remain visible or are automatically removed from view, allowing traders to manage chart visuals based on their analysis preferences.
When active, invalidated DD lines are hidden, streamlining the visual interface. When off, these lines persist in gray, serving as reference points for post-mortem study and review of structural breakdowns.

Visual Styling provides comprehensive customization options for the DD line, opposing swing marker, and invalidated states, allowing traders to adjust label appearance, line styles, and extension behavior for tailored visual clarity.
Users can activate a Consequent Encroachment (CE) line, highlighting the 50% midpoint of the original FVG as a discretionary reference point for potential price reactions. While this line is optional and discretionary, it is important to note the CE line does not impact the model’s core logic.

The Info Table provides a centralized display of the current model state, showcasing key data points such as bias direction, active timeframes, ticker, and Time session for quick reference. Fully positionable and customizable, it can be styled to align with chart preferences, ensuring visual consistency. Additionally, DD line tooltips update dynamically to indicate status changes—whether active or invalidated—allowing traders to monitor developments in real time.

Alert Settings
Alerts?
Enables the Alerts.
To turn on alerts, follow these steps:
Make sure the ‘Alerts’ toggle is ON, and your preferred alerts are selected below.
Find, and click on, the three dots next to the indicator title on the top left of your chart, or right-click on the indicator on the chart.
Click ‘Add Alert on DD IFVG [Pro+]’
Choose the symbol or pre-defined watchlist.
Choose the Alert Name, if you wish, and confirm by clicking ‘Create’

DD Inversion Active?
Alert fires when we have an active DD IFVG.
Warning on Close?
Alert fires when we close back below/above the DD IFVG once active.
Opposing Swing Hit?
Alert fires when an active DD IFVG tags the Opposing Swing.
Invalidation Inversion?
Alert fires when an active DD IFVG tags the hypothetical v-shape reversal swing.
General Settings
History
The history setting determines the amount of historical DD IFVG’s plotted on the chart, in chronological order. When equal to 0 only the latest bullish and bearish active DD IFVGs will be shown, if no DD IFVG is active, nothing will plot.
Note: History is based on when the status of the invalidation is defined.
Bias
Traders have the option to filter on bullish, bearish or neutral bias on the indicator. A neutral bias will show all DD IFVGs, both bullish and bearish
IFVG Type
Single: This will use the first DD IFVG of a given price leg.
Series: This will wait for all FVG in a given leg to be closed through creating a larger cumulative DD IFVG. If there is no qualified Series, the script will behave as if “Single” is enabled.
Invalidation Condition
This setting allows traders to change the way the DD IFVG is invalidated.
Close: means that the DD IFVG will be invalidated when price closes back above / below the qualified inversion.
Swing: will invalidate the DD IFVG once the most recent swing prior to the qualified inversion is traded through.
Liquidity Timeframe
This setting defines the timeframe used to detect swing highs and lows that qualify as liquidity raids.
You can choose from three options:
Chart: Uses the active chart timeframe.
Auto: Automatically selects a slightly higher timeframe for clarity and smoother raid detection.
Custom: Allows you to specify an exact timeframe, ideal for syncing entries with higher-timeframe structure.
This control helps align the DD IFVG° [Pro+] model with your preferred structural view and liquidity logic.

Remove Invalidated
This setting controls whether invalidated DD lines are automatically removed from the chart.
When enabled, any setup that becomes invalid—by breaching the origin candle's high/low or failing clean delivery—will be hidden to reduce visual clutter.
When disabled, invalidated lines will remain visible in gray, which is useful for backtesting and reviewing failed setups.
This feature helps you choose between a clean charting experience or keeping full visual context for post-trade analysis.

Model Filter
IFVG Filter
IFVGs are qualified based on a statistical calculation which is dynamically adjusted for the current asset.
The IFVGs can be filtered on:
All sizes
Small + Medium + Large
Medium + Large
Large only
Opposing Swing Filter
This setting determines how the indicator identifies the appropriate Opposing Swing target after a DD IFVG is confirmed.
No Opposing Sweep: Only shows setups where the DD IFVG does not sweep opposing liquidity upon confirming. It will point to the closest valid Opposing Swing that remains untouched.
Momentum: Displays all valid setups, including those with fast directional movement, and points to the closest qualified Opposing Swing liquidity regardless of sweep behavior.
Use this setting to refine the model’s behavior in identifying structurally clean vs. momentum-driven targets.

FVG Filter
The FVG Filter controls whether the DD IFVG° [Pro+] model can only trigger inside a Fair Value Gap from a specific timeframe.
This setting ensures that setups are formed within the context of higher-timeframe imbalances, adding confluence and structure to model activation.
For example, selecting 4H means the model will only activate if the setup occurs inside a 4-hour FVG.
Analyst Insight: Use this filter to reinforce the quality of entries by anchoring them within significant price imbalances.
Model Style
Labels Size
Controls the size of the on-chart text labels, such as “DD” or “$$$.”
Choose from multiple options (Tiny → Huge) to best match your chart layout and personal preferences.
FVG Filter Color
Sets the color for Fair Value Gaps that qualify through the FVG Filter setting.
You can customize both bullish and bearish FVGs independently for clearer visual distinction.
Show CE
Toggles the display of the Consequent Encroachment (CE) level, marked at the 50% midpoint of the original FVG.
Analyst Insight: Useful for traders who reference midpoints for additional confluence, pyramid logic, strength measurements, position management, and body respect.
Liquidity Sweep
Changes the line style used to mark liquidity sweeps (e.g., solid, dashed, dotted).
This is purely visual and helps differentiate sweep markers from other model elements on the chart.
Bullish / Bearish Style
Bullish / Bearish IFVG Transparency
This section allows you to fully customize the visual appearance of the DD IFVG° [Pro+] model, independently for bullish and bearish setups. All settings below apply to line style and thickness.
Active
Defines how the DD Line appears when the model is valid and actively tracking delivery.
You can adjust the line style (e.g., solid, dashed) and thickness to suit your visual needs.
Invalidated
Controls the appearance of the DD Line when a model becomes invalid.
Delayed
Sets the style for DD setups that close inside of the inversion used but fail to breach the swing, meaning price has re-entered the inversion zone but hasn’t yet invalidated.
This helps visually separate clean deliveries from ones requiring extended tracking.
Opposing Swing
Defines the visual styling of the opposing swing marker, which represents the target for structural completion.
Adjust the line type and width to match your chart layout or highlight it clearly from other elements.
Time Filters
The Session Filter allows you to define when the DD IFVG° [Pro+] model is allowed to plot, based on your preferred trading hours or session logic. This ensures setups only appear during relevant time windows, adding structure to your workflow.

Custom Timezone?
Enables a manual offset for aligning the model to your local or preferred timezone.
Apply Below
Determines how the session filter is applied relative to timeframe.
For example, selecting 1 hour means the session logic will only apply to setups on the 1H chart and below.
Custom Session Inputs
Define up to four specific time blocks when setups are allowed to trigger.
Each filter lets you set a custom start and end time, perfect for mapping out Killzones, or session-specific models (e.g., London or NY AM).
Liquidity?: By enabling the ‘Liquidity?’ the indicator will refer to session liquidity pools formed during the custom sessions. For example, if the custom session is 02:00 - 05:00, the indicator will look at the highest high, and the lowest low formed during the session.

Macros Only?
When enabled, setups will only trigger during the first and last 10 minutes of every hour ideal for catching algorithmic or macro-based displacement windows.
This is especially useful for scalpers and intraday traders focused on volatility bursts.

Info Table
The Info Table displays real-time model metadata directly on your chart giving you quick insight into the current settings.

Show Info?
Toggles the display of the Info Table.
You can also adjust the text size to fit your chart (Normal, Small, Large, etc.).
Hide Border/Background?
Use these options to remove the border or background from the table for a cleaner, more minimal look.
Table Location
Allows you to place the Info Table anywhere on the chart by selecting the vertical (Top/Bottom) and horizontal (Left/Center/Right) alignment.
Table Display Options
Choose which model data is shown in the Info Table:
IFVG Timeframe: Timeframe of the confirmed inversion gap.
Liquidity Timeframe: Timeframe used to detect the liquidity raid.
FVG Filter Timeframe: Source timeframe required for FVG filtering.
Bias: Current directional bias (Bullish/Bearish/Neutral).
Time Filter: Displays active session filter window.
Ticker: The instrument symbol (e.g., NQ1!, ES1!, etc.).
Date: Shows the model’s activation date.