# QQE Weighted Oscillator

QQE Weighted Oscillator is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

The QQE Weighted Oscillator sharpens the classic Quantitative Qualitative Estimation: a weighting stage makes the smoothed RSI work harder to cross its own trailing stop, filtering casual crossovers into smoother, more cyclic signals. Overbought and oversold reads against 70/30 levels and factor-scaled trailing stops for momentum traders who want fewer false flips.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Aug 10, 2023.
- Access: free.
- Concepts: [QQE](https://www.luxalgo.com/library/concept/qqe/) (primary), [RSI](https://www.luxalgo.com/library/concept/rsi/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4zgo006zvhsgcryuh35o
- Page: https://www.luxalgo.com/library/indicator/qqe-weighted-oscillator/

**QQE Weighted Oscillator** is LuxAlgo's build of [QQE](https://www.luxalgo.com/library/concept/qqe/), a smoothed RSI paired with a trailing stop derived from that same RSI, plus a weighting stage that raises the effort required for the oscillator to cross its stop. With the RSI above the trailing stop, a higher Weight demands a more significant negative price fluctuation before a bearish cross prints; the output turns smoother and more cyclic as a result.

## How to Trade the QQE Weighted Oscillator?

- **Overbought / oversold reads**: stretch in the smoothed [RSI](https://www.luxalgo.com/library/concept/rsi/) flags conditions ripe for a turn, with the leading character of the oscillator giving early warning of potential reversals.
- **Trailing stop crosses**: the oscillator crossing its trailing stop marks a momentum shift. The weighting filters out the casual crosses.
- **Divergences**: as with a regular RSI, disagreement between price and oscillator can precede reversals.
- **Higher Factor values**: configure a longer-term trailing stop suited to medium- and long-horizon reads.

Because weighting suppresses marginal crossings, the line spends longer stretches on one side of its stop, useful for traders whose strategies favor consistency over reaction speed.

## QQE Weighted Oscillator Settings

- **Length**: the period of the RSI oscillator.
- **Factor**: multiplicative factor in the trailing stop calculation. Higher values track longer-term.
- **Smooth**: the smoothing level applied to the RSI.
- **Weight**: how heavily the RSI is weighted. More weight means crossings require larger moves.

## Frequently Asked Questions

### What does the weighting add over a classic QQE?
It scales the effort needed for the RSI to cross the trailing stop, so shallow wobbles no longer flip the signal. The trade-off is later confirmation in exchange for smoother, more cyclic output.

### What markets and settings should I start with?
It runs on stocks, forex, cryptocurrencies, and commodities alike. Defaults are a reasonable baseline; adjust Length and Weight to your market and style rather than hunting a universal number.

### Is it free, and what related oscillator should I know?
Yes, the QQE Weighted Oscillator is one of the Library's free tools, and it runs in Quant, our coding agent, right on this page. For an RSI that adapts its input rather than weighting its crossings, see the [Rainbow Adaptive RSI](https://www.luxalgo.com/library/indicator/rainbow-adaptive-rsi/). You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [RSI Multi Length](https://www.luxalgo.com/library/indicator/rsi-multi-length/) (RSI): markdown at https://www.luxalgo.com/library/indicator/rsi-multi-length.md
- [RSI Candlestick Oscillator](https://www.luxalgo.com/library/indicator/rsi-candlestick-oscillator/) (RSI): markdown at https://www.luxalgo.com/library/indicator/rsi-candlestick-oscillator.md
- [Internal Candle Strength](https://www.luxalgo.com/library/indicator/internal-candle-strength/) (Balance of Power): markdown at https://www.luxalgo.com/library/indicator/internal-candle-strength.md
- [Pretty Good Oscillator](https://www.luxalgo.com/library/indicator/pretty-good-oscillator/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/pretty-good-oscillator.md
- [Gator Oscillator](https://www.luxalgo.com/library/indicator/gator-oscillator/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/gator-oscillator.md
- [Wave Trend Oscillator](https://www.luxalgo.com/library/indicator/wave-trend-oscillator/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/wave-trend-oscillator.md
- [Traders Dynamic Index](https://www.luxalgo.com/library/indicator/traders-dynamic-index/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/traders-dynamic-index.md
- [Center of Gravity](https://www.luxalgo.com/library/indicator/center-of-gravity/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/center-of-gravity.md

---

Source: https://www.luxalgo.com/library/indicator/qqe-weighted-oscillator/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
