OPEN-SOURCE SCRIPT
QQE Momentum Pulse Pro [identityKa]

Overview
The QQE Momentum Pulse Pro [identityKa] is a highly responsive sub-chart oscillator designed to measure the velocity and magnitude of directional price movements. Traditional Quantitative Qualitative Estimation (QQE) indicators suffer from severe signal lag due to triple-layered EMA smoothing. This script addresses that core flaw by introducing an optional "Zero-Lag Engine," swapping the standard exponential smoothing for a dynamic Hull Moving Average (HMA), effectively eliminating lag while preserving the indicator's mathematical robustness.
Underlying Mathematics & Enhancements
The foundation of the engine is built upon the Relative Strength Index (RSI).
Volatility Trailing Bands: The script calculates the Absolute True Range of the smoothed RSI, which is then further smoothed using Wilder's methodologies. This creates dynamic fast and slow trailing bands that track the momentum.
The Pulse Histogram: Instead of plotting multiple confusing lines on the chart, this script calculates the exact mathematical difference (spread) between the smoothed RSI and the dynamic trailing band. This spread is plotted as a zero-line oscillating histogram.
Four-Color State Logic: The histogram's color intensity provides instant visual feedback regarding momentum acceleration. Bright Neon Green indicates rising positive momentum (acceleration), whereas Dark Green indicates positive but decaying momentum (deceleration). The same logic applies inversely for bearish trends with Bright/Dark Red.
HUD Dashboard & AI Logic
To prevent traders from getting trapped in exhausting trends, the integrated on-chart panel translates the histogram's state into a mechanical directive:
LONG: Triggered when the histogram is positive (above the zero line) and its value is strictly greater than the previous bar (actively growing).
SHORT: Triggered when the histogram is negative (below the zero line) and its value is strictly less than the previous bar (actively deepening).
Dangerous: This is the crucial risk-management state. It is triggered the exact moment the histogram shifts from bright to dark colors. It indicates a mathematical divergence where the macro trend may still exist, but the immediate momentum driving it is rapidly fading.
How to Use It
This tool is best paired with a main-chart trend indicator (like a SuperTrend or Moving Average crossover). Traders should look to execute LONG or SHORT entries when the Pulse Histogram crosses the zero line and the AI Suggestion aligns with their directional bias. If the AI Suggestion switches to "Dangerous", traders should consider scaling out of active positions, tightening stop-losses, or avoiding taking new trend-continuation entries, as a pullback or consolidation phase is statistically imminent.
The QQE Momentum Pulse Pro [identityKa] is a highly responsive sub-chart oscillator designed to measure the velocity and magnitude of directional price movements. Traditional Quantitative Qualitative Estimation (QQE) indicators suffer from severe signal lag due to triple-layered EMA smoothing. This script addresses that core flaw by introducing an optional "Zero-Lag Engine," swapping the standard exponential smoothing for a dynamic Hull Moving Average (HMA), effectively eliminating lag while preserving the indicator's mathematical robustness.
Underlying Mathematics & Enhancements
The foundation of the engine is built upon the Relative Strength Index (RSI).
Volatility Trailing Bands: The script calculates the Absolute True Range of the smoothed RSI, which is then further smoothed using Wilder's methodologies. This creates dynamic fast and slow trailing bands that track the momentum.
The Pulse Histogram: Instead of plotting multiple confusing lines on the chart, this script calculates the exact mathematical difference (spread) between the smoothed RSI and the dynamic trailing band. This spread is plotted as a zero-line oscillating histogram.
Four-Color State Logic: The histogram's color intensity provides instant visual feedback regarding momentum acceleration. Bright Neon Green indicates rising positive momentum (acceleration), whereas Dark Green indicates positive but decaying momentum (deceleration). The same logic applies inversely for bearish trends with Bright/Dark Red.
HUD Dashboard & AI Logic
To prevent traders from getting trapped in exhausting trends, the integrated on-chart panel translates the histogram's state into a mechanical directive:
LONG: Triggered when the histogram is positive (above the zero line) and its value is strictly greater than the previous bar (actively growing).
SHORT: Triggered when the histogram is negative (below the zero line) and its value is strictly less than the previous bar (actively deepening).
Dangerous: This is the crucial risk-management state. It is triggered the exact moment the histogram shifts from bright to dark colors. It indicates a mathematical divergence where the macro trend may still exist, but the immediate momentum driving it is rapidly fading.
How to Use It
This tool is best paired with a main-chart trend indicator (like a SuperTrend or Moving Average crossover). Traders should look to execute LONG or SHORT entries when the Pulse Histogram crosses the zero line and the AI Suggestion aligns with their directional bias. If the AI Suggestion switches to "Dangerous", traders should consider scaling out of active positions, tightening stop-losses, or avoiding taking new trend-continuation entries, as a pullback or consolidation phase is statistically imminent.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.