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 • 6 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 • 4 days ago #

      Danke, ich werde es berücksichtigen.

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
jobswaps Sube como trazar lineas de tendencias a tantas barras
Frankiesc interesting indicator !! Thanks for sharing!!!
robertogozzi Thank you :)
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
HarryPro Hello, Firtly there appears to be a typo on line 6 "lenghkc=20" should this be "lengthkc=...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
dau710 Are the Bulls Blue & the Bears Red?
dau710 Many thanks :)
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
gregoire bonjour nicolas j ai cherché partout sur le net et impossible de trouvé ce que je recherch...
Nicolas Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce ...
bala Hi Nicolas, I have been extensively researching for lot of answers here. I found that you...
Nicolas Don't apply it on price, use the main "indicator and trading system" button found on the top...
Bogdan35 Hello, Is there one for MT4?
Nicolas
7 years ago
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.

Top