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

      Danke, ich werde es berücksichtigen.

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Roberto Blázquez Hi David, I just saw your strategy and it's good!!! I'm going to try it from today in real a...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...
Wilko I am not familiar with the screener function, but I am quite certain it should be quite simp...
Gubben @Wilko have you had a look at this again since MTF support? Heard you talk on Börssnack btw..
Wilko @Gubben not really. It was something I posted to show that simpler is usually better. Hope y...
GraHal Yes sorry, I set up a link to a screen shot on my google drive and then I got locked into th...
gabri Here's the thread https://www.prorealcode.com/topic/multiframe-rsi-of-rsi/
Bernard13 Bonjour Nicolas, Pourriez-vous m'indiquer si cet indicateur fonctionne avec la V11 ? Le di...
nwesterhuijs Thanks, only saw it just now.
juanj For the latest version and discussions see the Ichimoku thread here: https://www.prorealcod...
Louwrens Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is...
ALE
8 years ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
17
Strategies
Jesper I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Wo...
rgrgrgr I have the same problem
avatar
crazytrader Is this working?
Maz
8 years ago
Francesco78 very nice, thanks!
Wilko Interesting! Thanks for sharing!
BjornH Extremely nice, thanks!
finplus Thanks for the job. Which variables do you suggest for timeframe 1 hour? 
Maz Depends massively on your market and the volatility. I suggest using the variable optimizer ...
1Randy This a great momentum filter! I would like to see volume momentum incorporated into the indi...
Nicolas All conditions under parenthesis for the c1 to c4 conditions should be inverted. 
tomus Can you give an example of the overbought codes please? Thanks.
ams123 Frank Merci Nicholas -:)
Djo Not working on V11. The RSI doesn't appear on the chart.
Mika83 Bonjour, J'ai des soucis de lecture de syntaxe avec la variable "drawsegment" sur la versio...
seb234 Salut Mika, j'ai la version V11.1, la formule fonctionne. Mais il est préférable, dixit Nico...
bolsatonimora2 Hi, nice indicator, it´s possible to include a middle line with 50 value? ty!
gabri Hi, EMA26 approximate almost exactly the 50% line
Alain Wilder MA is exactly the 50% line
owes29 Hi is there anyway to develop this for the pro scanner on daily or hourly scans. so it woul...
Nicolas Of course, please add a query in the proscreener forum.
Bruno Carnazzi C'est dommage, cette histoire d'énergie fractale bousille complètement la précision de l'ind...
gregus bonjour a tous quelqu un pourait il recodé en prt il sagit  du dynamique zone ma, je n arri...
Nicolas Merci de faire une requête spécifique sur le forum. 
Nicolas
9 years ago
StepRSI
StepRSI
5
Indicators
Nicolas Thanks for this modification, I still do not have tested it, where did you get this idea to ...
rfsteve Trial and error from study of indicators call it coding mad science was trying to find an in...
Maxime Baudin Nice! Thanks :)
Nicolas
9 years ago
GraHal Forked code I mention above is here ... GraHal wrote: So below is the PRC Stochastic RSI v...
GraHal Try again (quite limited what you can do as Comments in the Library) https://www.prorealco...
AutoFlanders Thanks GraHal, that's what i was looking for
ellejoe Hi Ale, can you please share your live results and updated version with us? Was this strateg...
ALE Hello ellejoe,since 1th november 2016,I can confirm probacktest results, I cant run it in li...
David Thompson I'm new to PRT, and yet I know I need to take away the 'human emotion' from my trading - so ...
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.

Top