OPEN-SOURCE SCRIPT
IQE + Volume Bubbles Engine Lite

IQE + Volume Bubbles Engine Lite
Overview
Recently I have just seen DeepCharts and BookMap and HeatMaps with Volume Bubbles. I trade XAUUSD and scalp that instrument and wanted this for TradingView. But realised the way TradingView implements Level 2 MBO data it would not be possible to implement the heatmaps and Volume Bubbles, but I cracked on regardless and created IQE. I was trying to identify Institutional Particpation. Then I came across Volume Bubbles (QuantAlgo) and how they implemented Volume Bubbles and thought I could implement that methodology, Then I put both indicators on the chart and thought how much richer the Indicators when merged together looked, giving increased insights into Volume.
IQE + Volume Bubbles Engine Lite combines the Institutional Quality Engine (IQE) with an enhanced Volume Bubble Engine to identify high-quality institutional participation and volume events on a single chart.
Rather than relying on volume alone, IQE analyses multiple aspects of market behaviour to classify the quality of each move before combining that information with significant Volume Bubble events.
The result is a simple visual representation of potential institutional participation using three signal families:
The Lite version is designed to provide a powerful institutional participation indicator while remaining easy to understand and configure.
Institutional Quality Engine (IQE)
IQE is an original multi-engine scoring model developed to evaluate the overall quality of market participation rather than relying on a single technical indicator.
Every candle is analysed using five independent market components.
Participation Engine
Measures whether unusually large market participation is occurring by analysing:
This attempts to distinguish genuine participation from normal market activity.
Efficiency Engine
Evaluates how efficiently price moved during the candle.
Factors include:
Strong institutional candles generally close efficiently with limited rejection.
Structure Engine
Evaluates market structure including:
This helps identify meaningful structural moves rather than random price fluctuations.
Analyses trend quality using:
EMA trend direction
This helps distinguish trend participation from counter-trend movement.
Liquidity Engine
Evaluates potential liquidity behaviour including:
The Lite version includes this internal liquidity assessment as part of the IQE score.
IQE Classification
Each candle is classified into one of three quality levels.
PRO
Professional participation.
Represents above-average institutional quality and is often the earliest indication of meaningful activity.
INST
Institutional participation.
Requires stronger agreement between the IQE engines and generally indicates higher confidence.
EXCE
Exceptional participation.
Reserved for the strongest institutional-quality candles where multiple market conditions align.
Volume Bubble Engine
The Volume Bubble Engine identifies statistically significant volume clusters and classifies them into three levels.
Small
Medium
Big
Each cluster may be classified as:
Buy
Sell
Mixed
depending on the selected classification method.
The Volume Bubble settings remain intentionally compatible with the original implementation.
For a detailed explanation of the Volume Bubble detection methods, percentile settings, consensus modes and lower timeframe delta calculations, users are encouraged to refer to the original Volume Bubbles publication by QuantAlgo.
Combined Signal Engine
The Lite version introduces three independent signal families.
VI
Volume Bubble and IQE occur together.
This represents the strongest confluence because both engines independently agree on institutional participation.
V
Volume Bubble only.
Used when significant volume is detected without an accompanying IQE classification.
I
IQE only.
Used when institutional-quality price behaviour is detected without a qualifying Volume Bubble.
Consecutive Signal Confirmation
One of the major additions in the Lite version is the ability to require multiple qualifying signals within a user-defined lookback period before a signal is displayed.
This helps reduce isolated signals and instead highlights repeated institutional participation.
Each signal family can be configured independently.
VI Confirmation
Require multiple VI signals within a configurable lookback window.
Useful for confirming repeated institutional participation combined with elevated volume.
V Confirmation
Require multiple Volume Bubble signals.
Useful for identifying persistent high-volume activity rather than isolated spikes.
I Confirmation
Require multiple IQE signals.
Useful for confirming repeated institutional-quality behaviour even when volume remains below cluster thresholds.
TDFI Trend Filter
The Lite version includes an integrated TDFI v2 filter which can optionally suppress signals that occur against the prevailing trend.
Two filtering modes are available.
Threshold Hold
Signals are permitted whenever TDFI remains inside its bullish or bearish threshold.
This is the more responsive mode and generally produces more trading opportunities while still filtering obvious counter-trend signals.
Momentum / Recovery
Signals require both:
This is a stricter confirmation method designed for traders who prefer stronger trend continuation before allowing signals.
Informative Alerts
Dynamic alerts include:
Candle Colouring
The indicator supports four colouring modes.
When both engines are enabled, Volume Bubble colours take priority while IQE colours remain visible on candles without an active Volume Bubble.
Attribution
This indicator combines original work with adapted open-source components.
Original work
nrendall
Original developments include:
Volume Bubble Engine
This indicator includes an adapted implementation of the open-source Volume Bubbles indicator.
Original author:
QuantAlgo
When using a laptop hovering over the Bubbles gives additional volume insights. This does work of a phone or tablet but does not work as well as when using a laptop
TDFI Trend Filter
This indicator includes an adapted implementation of TDFI v2.
Original author:
causecelebre
The TDFI filter has been integrated into the IQE signal engine and extended with configurable filtering modes while respecting TradingView's House Rules for open-source scripts.
Looking Ahead – IQE Professional
IQE + Volume Bubbles Engine Lite is the community edition of the IQE platform.
The upcoming IQE Professional will introduce a completely new proprietary architecture, including:
Institutional Absorption Engine - Completed
EMA Squeeze / Market State filter showing Squeeze and Ranging Markets - Completed
Participation Persistence Engine
Advanced Liquidity Analysis
Institutional Confidence Scoring
Multi-engine confirmation
Advanced dashboards
Premium alerts
Iceberg Identification
Multi-timeframe participation analysis
Accumulation and distribution regimes
Institutional continuation and reversal models
Liquidity sweep sequences
Reload and estimated iceberg behaviour
Cross-engine confluence scoring
Configurable trade-rating framework
Session and regime analytics
Research/export tools
These may have to be split into two different indicators as the Pro is already 3000+ lines and creeping towards the max of PineScript.
Additional institutional market analytics
The long-term goal is the IQE Institutional Suite, bringing together original institutional participation and market-structure analysis into a unified professional trading platform.
Overview
Recently I have just seen DeepCharts and BookMap and HeatMaps with Volume Bubbles. I trade XAUUSD and scalp that instrument and wanted this for TradingView. But realised the way TradingView implements Level 2 MBO data it would not be possible to implement the heatmaps and Volume Bubbles, but I cracked on regardless and created IQE. I was trying to identify Institutional Particpation. Then I came across Volume Bubbles (QuantAlgo) and how they implemented Volume Bubbles and thought I could implement that methodology, Then I put both indicators on the chart and thought how much richer the Indicators when merged together looked, giving increased insights into Volume.
IQE + Volume Bubbles Engine Lite combines the Institutional Quality Engine (IQE) with an enhanced Volume Bubble Engine to identify high-quality institutional participation and volume events on a single chart.
Rather than relying on volume alone, IQE analyses multiple aspects of market behaviour to classify the quality of each move before combining that information with significant Volume Bubble events.
The result is a simple visual representation of potential institutional participation using three signal families:
- VI – Volume Bubble + IQE
- V – Volume Bubble Only
- I – IQE Only
The Lite version is designed to provide a powerful institutional participation indicator while remaining easy to understand and configure.
Institutional Quality Engine (IQE)
IQE is an original multi-engine scoring model developed to evaluate the overall quality of market participation rather than relying on a single technical indicator.
Every candle is analysed using five independent market components.
Participation Engine
Measures whether unusually large market participation is occurring by analysing:
- Relative volume
- Volume acceleration
- Volume persistence
- Candle expansion
- Overall participation quality
This attempts to distinguish genuine participation from normal market activity.
Efficiency Engine
Evaluates how efficiently price moved during the candle.
Factors include:
- Body size
- Wick size
- Close location
- ATR efficiency
- Directional close strength
Strong institutional candles generally close efficiently with limited rejection.
Structure Engine
Evaluates market structure including:
- Break of previous highs/lows
- Breakout strength
- Range compression
- Close outside previous structure
This helps identify meaningful structural moves rather than random price fluctuations.
- Trend Engine
Analyses trend quality using:
EMA trend direction
- Trend slope
- Higher highs
- Higher lows
- Lower highs
- Lower lows
- Trend continuation
This helps distinguish trend participation from counter-trend movement.
Liquidity Engine
Evaluates potential liquidity behaviour including:
- Liquidity sweeps
- Rejection candles
- High-volume stalls
- Exhaustion characteristics
The Lite version includes this internal liquidity assessment as part of the IQE score.
IQE Classification
Each candle is classified into one of three quality levels.
PRO
Professional participation.
Represents above-average institutional quality and is often the earliest indication of meaningful activity.
INST
Institutional participation.
Requires stronger agreement between the IQE engines and generally indicates higher confidence.
EXCE
Exceptional participation.
Reserved for the strongest institutional-quality candles where multiple market conditions align.
Volume Bubble Engine
The Volume Bubble Engine identifies statistically significant volume clusters and classifies them into three levels.
Small
Medium
Big
Each cluster may be classified as:
Buy
Sell
Mixed
depending on the selected classification method.
The Volume Bubble settings remain intentionally compatible with the original implementation.
For a detailed explanation of the Volume Bubble detection methods, percentile settings, consensus modes and lower timeframe delta calculations, users are encouraged to refer to the original Volume Bubbles publication by QuantAlgo.
Combined Signal Engine
The Lite version introduces three independent signal families.
VI
Volume Bubble and IQE occur together.
This represents the strongest confluence because both engines independently agree on institutional participation.
V
Volume Bubble only.
Used when significant volume is detected without an accompanying IQE classification.
I
IQE only.
Used when institutional-quality price behaviour is detected without a qualifying Volume Bubble.
Consecutive Signal Confirmation
One of the major additions in the Lite version is the ability to require multiple qualifying signals within a user-defined lookback period before a signal is displayed.
This helps reduce isolated signals and instead highlights repeated institutional participation.
Each signal family can be configured independently.
VI Confirmation
Require multiple VI signals within a configurable lookback window.
Useful for confirming repeated institutional participation combined with elevated volume.
V Confirmation
Require multiple Volume Bubble signals.
Useful for identifying persistent high-volume activity rather than isolated spikes.
I Confirmation
Require multiple IQE signals.
Useful for confirming repeated institutional-quality behaviour even when volume remains below cluster thresholds.
TDFI Trend Filter
The Lite version includes an integrated TDFI v2 filter which can optionally suppress signals that occur against the prevailing trend.
Two filtering modes are available.
Threshold Hold
Signals are permitted whenever TDFI remains inside its bullish or bearish threshold.
This is the more responsive mode and generally produces more trading opportunities while still filtering obvious counter-trend signals.
Momentum / Recovery
Signals require both:
- TDFI to remain inside the bullish or bearish threshold
- Momentum to continue in the same direction (or remain pinned near an extreme)
This is a stricter confirmation method designed for traders who prefer stronger trend continuation before allowing signals.
Informative Alerts
Dynamic alerts include:
- Signal family
- Buy or Sell direction
- IQE classification
- IQE score
- Volume Bubble level
- Volume ratio
- Delta information
- Signal occurrence count
- TDFI status
- Trend filter state
Candle Colouring
The indicator supports four colouring modes.
- Off
- IQE Only
- Volume Bubbles Only
- IQE + Volume Bubbles
When both engines are enabled, Volume Bubble colours take priority while IQE colours remain visible on candles without an active Volume Bubble.
Attribution
This indicator combines original work with adapted open-source components.
Original work
nrendall
Original developments include:
- Institutional Quality Engine (IQE)
- IQE scoring methodology
- Participation, Efficiency, Structure, Trend and Liquidity engines
- VI / V / I Combined Signal Engine
- Consecutive signal confirmation
- TDFI integration
- Dynamic alert system
- Candle colouring system
- Overall architecture and user interface
Volume Bubble Engine
This indicator includes an adapted implementation of the open-source Volume Bubbles indicator.
Original author:
QuantAlgo
When using a laptop hovering over the Bubbles gives additional volume insights. This does work of a phone or tablet but does not work as well as when using a laptop
TDFI Trend Filter
This indicator includes an adapted implementation of TDFI v2.
Original author:
causecelebre
The TDFI filter has been integrated into the IQE signal engine and extended with configurable filtering modes while respecting TradingView's House Rules for open-source scripts.
Looking Ahead – IQE Professional
IQE + Volume Bubbles Engine Lite is the community edition of the IQE platform.
The upcoming IQE Professional will introduce a completely new proprietary architecture, including:
Institutional Absorption Engine - Completed
EMA Squeeze / Market State filter showing Squeeze and Ranging Markets - Completed
Participation Persistence Engine
Advanced Liquidity Analysis
Institutional Confidence Scoring
Multi-engine confirmation
Advanced dashboards
Premium alerts
Iceberg Identification
Multi-timeframe participation analysis
Accumulation and distribution regimes
Institutional continuation and reversal models
Liquidity sweep sequences
Reload and estimated iceberg behaviour
Cross-engine confluence scoring
Configurable trade-rating framework
Session and regime analytics
Research/export tools
These may have to be split into two different indicators as the Pro is already 3000+ lines and creeping towards the max of PineScript.
Additional institutional market analytics
The long-term goal is the IQE Institutional Suite, bringing together original institutional participation and market-structure analysis into a unified professional trading platform.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.