OPEN-SOURCE SCRIPT
Q Wave

Q Wave
What is Q Wave?
Q Wave is a pressure-adaptive trend wave designed to reveal the current state of market structure with clarity.
It does not predict.
It does not generate signals.
It shows structure.
Two waves define the model:
The zone between them tells the regime state:
How it works
At the core of Q Wave is a custom Directional Pressure model: candle body size relative to ATR, scaled by volume activity.
When price expands with strong participation, both waves respond faster.
When activity contracts, the model slows down and becomes more selective.
The slow wave uses intentional Regime Inertia. It does not flip on every structural shift. It requires sustained pressure before confirming or reversing a regime, which helps suppress false transitions during noisy intraday conditions.
Best use cases
Q Wave is designed primarily for futures and other liquid instruments, especially on intraday timeframes such as 15–60 minutes. It can also be used on higher timeframes, including 4H and Daily.
For forex and synthetic instruments, disabling volume weighting may produce cleaner behavior.
Settings
No signals. No arrows. Only structure.
Disclaimer
This script is for informational and educational purposes only. It is not financial or investment advice. Always use your own analysis, risk management, and independent judgment.
Trade with clarity — stay for quality.
What is Q Wave?
Q Wave is a pressure-adaptive trend wave designed to reveal the current state of market structure with clarity.
It does not predict.
It does not generate signals.
It shows structure.
Two waves define the model:
- Fast Wave — reacts quickly to structural shifts in price
- Slow Wave — confirms the broader trend regime only after sustained directional pressure
The zone between them tells the regime state:
- Blue zone — confirmed bullish regime
- Red zone — confirmed bearish regime
- Neutral zone — transition phase, where structure has shifted but regime is not yet confirmed
How it works
At the core of Q Wave is a custom Directional Pressure model: candle body size relative to ATR, scaled by volume activity.
When price expands with strong participation, both waves respond faster.
When activity contracts, the model slows down and becomes more selective.
The slow wave uses intentional Regime Inertia. It does not flip on every structural shift. It requires sustained pressure before confirming or reversing a regime, which helps suppress false transitions during noisy intraday conditions.
Best use cases
Q Wave is designed primarily for futures and other liquid instruments, especially on intraday timeframes such as 15–60 minutes. It can also be used on higher timeframes, including 4H and Daily.
For forex and synthetic instruments, disabling volume weighting may produce cleaner behavior.
Settings
- Structure Period — lookback window for dominant structure detection
- Fast Wave Sensitivity — reaction speed of the fast wave
- Slow Wave Sensitivity — reaction speed of the slow wave
- Regime Inertia — persistence required before a regime confirms or reverses
- ATR / Volume Length — lookback for volatility and average volume
- Use Volume Weighting — optional volume influence for instruments with reliable volume data
No signals. No arrows. Only structure.
Disclaimer
This script is for informational and educational purposes only. It is not financial or investment advice. Always use your own analysis, risk management, and independent judgment.
Trade with clarity — stay for quality.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.