QQE Threshold Indicator – Enhanced Signal Precision with Dynamic RSI Bands

QQE Threshold Indicator – Enhanced Signal Precision with Dynamic RSI Bands

1. Introduction

The QQE Threshold indicator is an advanced variation of the classic Quantitative Qualitative Estimation (QQE), developed by Glaz. This version adds intelligent threshold-based signal recognition to the traditional QQE model, giving traders enhanced insights into market momentum, reversals, and breakout strength.

This indicator is especially useful for traders seeking early and visually clear signals based on RSI dynamics, combined with adaptive volatility filters and a powerful color-coded visualization.

Note: This indicator builds upon the original QQE (Quantitative Qualitative Estimation) logic, which was also published on ProRealCode. If you’re unfamiliar with the core QQE concept, you can read the detailed breakdown here.

2. Indicator Fundamentals

The QQE Threshold is based on a smoothed Relative Strength Index (RSI) and integrates it with a volatility-based trailing line derived from Average True Range (ATR) of the RSI. Here’s how it works:

  • The base RSI is calculated and then smoothed using a simple moving average (SF).

  • From the smoothed RSI, a dynamic ATR of the RSI is computed and multiplied by a constant factor (QQE) to determine the distance of the upper and lower bands.

  • These bands evolve with price action and define a trailing stop-like structure for RSI values.

The innovation in this version lies in the use of threshold zones, visually displayed with user-defined upper and lower boundaries (default ±10), highlighting overbought and oversold pressure zones.

3. Signal Interpretation

The QQE Threshold indicator provides three core types of signals, which are customizable via toggles in the code:

  1. Trend Signal Crosses (showQQEx)
    When the smoothed RSI crosses the dynamic band:

    • Green dot (●) → Long signal (bullish shift)

    • Blue dot (●) → Short signal (bearish shift)

  2. Zero Line Crosses (showQQEz)
    When the smoothed RSI crosses the 50 level:

    • Aqua square (◼) → Upward momentum

    • Fuchsia square (◼) → Downward momentum

  3. Threshold Channel Exits (showQQEc)
    When RSI exits the threshold zone:

    • Green down triangle (▼) → RSI above +Threshold → Potential overbought

    • Red up triangle (▲) → RSI below -Threshold → Potential oversold

These signals help traders identify momentum shifts, trend reversals, and extreme sentiment zones with great clarity.

Additionally, a histogram colored based on the RSI position relative to the threshold adds quick visual feedback:

  • Green → Above threshold (bullish)

  • Red → Below threshold (bearish)

  • Orange → Neutral zone

4. Customizable Parameters

The indicator is flexible and includes several parameters for user customization:

  • RsiPeriod (default: 14): Period for the base RSI calculation.

  • SF (default: 5): Smoothing factor for the RSI.

  • QQE (default: 4.238): Multiplier applied to ATR of RSI to form the bands.

  • Threshold (default: 10): Threshold zone for overbought/oversold levels.

  • showQQEx, showQQEz, showQQEc: Toggles to show/hide specific signals.

Users can adapt these values depending on their trading strategy, asset volatility, or timeframe. For example:

  • A lower threshold (e.g., 5) makes the system more sensitive.

  • A higher smoothing factor slows down the reaction for trend-following strategies.

5. Practical Use Cases

This indicator can be applied in multiple trading styles:

  • Trend Confirmation: Confirm entries when RSI crosses the dynamic trailing band in the direction of the trend.

  • Reversal Detection: Use threshold zone exits as alerts for possible exhaustion and mean reversion.

  • Momentum Filtering: Combine with other indicators (e.g., moving averages) to confirm strength before acting.

  • Visual Clarity: The signal markers help discretionary traders spot important moments without second-guessing.

It’s ideal for swing trading, day trading, and momentum-based setups on any asset class.

6. Indicator Code in ProRealTime

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Chrisinobi • 7 days ago #

    Hallo Iván
    Ein sehr schöner guter Indikator, nach meinen ersten Tests ist er sehr Effektiv und in Verbindung mit anderen Indikatoren liefert er gute Trading Signale. Nun meine Frage, für die Trendsignalkreuzungen hast du mal ein Screener geplant oder das man ein Alarm setzen könnte ? Alarm und Screener wären Perfekt. Die anderen Signale sind nicht ganz so wichtig , dienen nur zur schnelleren Information. Ich hoffe du kannst uns da was erstellen. Danke im Voraus
    Gruß Chrisinobi

    • Iván • 5 days ago #

      Danke, ich werde es berücksichtigen.

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
jeanphi0034 Hello, I would like to use the QQE indicator which is based on smooth RSI as far as I unders...
ilstefano Bonjour Nicolas, te serait il possible de rajouter la fast ATR manquante dans le code? Merci
Nicolas Désolé je ne comprends pas la question ?
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...

Top