On this page
What QQE displays
QQE means Qualitative Quantitative Estimation. This version plots a blue smoothed RSI line and a yellow adaptive trail in a separate window. It is based on EarnForex code, which credits Tim Hyder and Roman Ignatov. Both lines come from the same RSI input; their agreement is not independent confirmation.
ForexBestRobots edition 1.04 is a marked derivative of EarnForex 1.03. It documents one initialization method for both platforms, validates inputs and source history, separates arrow colors, guards object cleanup and confirms events only on closed source candles. Original code, notices, Apache 2.0 and a change patch are included.
RSI smoothing and the adaptive trail
The fixed input is Close RSI14. Blue B is EMA(RSI14,SF), with SF=5 by default. Let D=|B−previous_B|, E1=EMA(D,27), E2=EMA(E1,27), and distance=4.236×E2. These changes are in RSI units, not price ATR or pips. RSI14, 27 and 4.236 are fixed in this program, not exposed settings.
The yellow trail is stateful. Below the previous trail it considers B+distance; if the previous B was also below that trail, the candidate cannot rise above the previous trail. Above the previous trail it considers B−distance; if the previous B was also above, the candidate cannot fall below the previous trail. Equality keeps the previous trail. This is not a second ordinary moving average.
Our common seed sets blue and trail to the first valid RSI14, with both change smoothers initially zero. The first max(SF,27) subsequent source updates are excluded from display and events. Load ample earlier history: the seed and native broker RSI can affect early values. Increasing SF adds smoothing and lag; it does not establish profitability.
Real EUR/USD examples
Figures reconstruct archived real Yahoo Finance EUR/USD H1 with Wilder RSI14 and earlier history from January 2025. Times are UTC. They are our calculations, not MetaTrader screenshots, tick replay or a trading backtest. Letters identify selected source candles; a confirmed event is observable at the next source opening.
On 10 June 2025, A at 09:00 has B=46.972 crossing above the trail T=40.776, observed at 10:00. B at 10:00 has B=50.034 crossing above 50, observed at 11:00. This illustrates a line-cross-then-level-cross idea. On 11 June, the 50 cross at 08:00 precedes the line cross at 10:00: the program treats these families independently and does not enforce a sequence.
On 5 June, line crosses alternate: C at 04:00 is downward, D at 12:00 upward, and E at 18:00 downward. They become observable at 05:00, 13:00 and 19:00. This is a noise example, not three executed trades; no spread, entry price, stop or return is calculated.
For H4 displayed on H1, the 11 June 12:00 H4 candle crosses upward with B=58.129 and T=52.589, confirmed at 16:00. The highlighted 12 June 08:00–12:00 H4 candle has final B=71.199 and T=65.227, known only at 12:00. Historical line projection displays final values earlier within that interval; confirmed arrows wait for the next H4 opening.



Real final OHLC, UTC; own RSI14/QQE reconstruction. CSV records source candles and observation times. Technical B/T line labels are shared; explanations are localized.
Download chart calculation data (CSV) · 1Download chart calculation data (CSV) · 2Download chart calculation data (CSV) · 3
Timeframes and confirmation time
UpperTimeframe defaults to PERIOD_CURRENT; the same or a higher timeframe is allowed, while a lower one is rejected. Developing higher-candle values are mapped across their lower-chart candles and can change together. Historical line snapshots are retrospective, not proof of intrabar availability.
Events use two closed source candles. On an H1 chart with H4 selected, a 12:00–16:00 source event is confirmed at 16:00, not after the first H1 close. Arrows mark that next source opening when a matching chart candle exists. Program times follow the broker clock; UTC in our figures is illustrative. Reattach after older history corrections if a full refresh is needed.
Settings and default values
Both platforms expose the same 15 inputs. SF accepts 1–100000; very large values require much more history. AlertLevel is an integer from 0 to 100. ObjectPrefix must be unique, nonempty, without spaces and at most 40 characters. The plotted reference stays at 50 even when AlertLevel changes.
| Input | Default | Practical meaning |
|---|---|---|
SF | 5 | Blue-line EMA period; default 5, minimum 1. |
AlertOnCrossover | false | Enable line-cross notifications; off by default. |
AlertOnLevel | false | Enable blue-line/level notifications; off by default. |
AlertLevel | 50 | Cross threshold 0–100, default 50; the reference line remains at 50. |
ArrowsOnCrossover | true | Draw confirmed line-cross arrows; on by default. |
CrossoverUpArrow | clrGreen | Color of upward line-cross arrows. |
CrossoverDnArrow | clrRed | Color of downward line-cross arrows. |
ArrowsOnLevel | true | Draw confirmed level-cross arrows; on by default. |
LevelUpArrow | clrGreen | Color of upward level-cross arrows. |
LevelDnArrow | clrRed | Color of downward level-cross arrows. |
NativeAlerts | false | Popup channel; off by default. |
EmailAlerts | false | Email channel; configure it in the terminal. |
NotificationAlerts | false | Mobile push channel; configure it in the terminal. |
UpperTimeframe | PERIOD_CURRENT | Current or higher source timeframe; lower is rejected. |
ObjectPrefix | "ForexBestRobots-QQE-" | Unique object namespace; default ForexBestRobots-QQE-. Duplicate or nested prefixes are rejected. |
Line crosses, level crosses and alerts
Line crosses and level crosses are separate event families. Upward requires a>b now and previous_a<previous_b; downward requires a<b and previous_a>previous_b. Equality on either candle is not a cross. There is no remembered requirement that one family must happen before the other.
Both arrow families are on by default. AlertOnCrossover, AlertOnLevel and all three delivery channels are off. To receive a message, enable the desired family and a configured delivery channel. Arrow switches are independent of message switches; the indicator does not place orders.
The first successful calculation and history resets are silent. Later events are processed once per family per new source candle; failed delivery is not retried every tick. Markers use drawing positions near the observation candle’s open, not executable prices. Different glyphs identify line and level events. Email/push require MetaTrader setup and a running terminal.
Install and compile the source
- Download and extract the ZIP for your desktop platform.
- In MetaTrader select File → Open Data Folder, then MQL4 or MQL5.
- Copy the ZIP’s Indicators folder there; keep upstream separately as an unchanged reference.
- Open QQE_ForexBestRobots.mq4 or .mq5 in the matching MetaEditor, press F7 and inspect errors and warnings.
- Refresh Navigator → Indicators and attach the compiled program to a demo Forex chart.
- Start with a unique ObjectPrefix and notifications off. Both arrow families are on by default; verify source-candle confirmation before enabling messages.
Custom desktop indicators cannot be installed directly in the MetaTrader mobile app. No DLL or extra include dependency is needed.
Download QQE free
Each platform ZIP contains marked MQ4/MQ5 source, the unchanged original, notices, Apache 2.0, changes, a patch, checksums and installation notes in all 12 site languages. No DLL or extra include is required. These are desktop MetaTrader packages.
No ready EX4/EX5 is supplied. Extracted numerical functions were checked outside MetaTrader; native MQL compilation, rendering, broker history synchronization and actual notification delivery remain unverified. Compile with F7 in the matching MetaEditor, inspect errors and warnings, then test on a demo chart.
Free source ZIP · ForexBestRobots edition 1.04 · Compile in MetaEditor
Changing readings and practical limits
QQE transforms past and current prices; it does not estimate a guaranteed win rate. A cross can occur in a range or late in a trend. Neither the trail nor level 50 defines a complete entry, stop, position size or exit rule. The examples establish no trading performance.
The blue/yellow lines move while their source candle forms, including on already closed lower-chart candles in MTF mode. Closed-source event confirmation avoids using that open source candle for alerts, but corrected history, a different feed or initialization can still change historical calculations.
The documented common seed and confirmation-marker placement differ from upstream behavior. Compare the marked source rather than assuming every QQE implementation matches. Full history rebuilds and many MTF instances can slow a terminal; test responsiveness. External numerical checks do not replace a native platform test.
Frequently asked questions
Is QQE a price ATR indicator?
No. Its adaptive distance uses twice-smoothed absolute changes of the smoothed RSI, in RSI units.
Can RSI14 or 4.236 be changed in the inputs?
No. SF is adjustable; RSI14, EMA27 and multiplier 4.236 are fixed in this edition.
Does the program require a line cross before crossing 50?
No. Line and level event families are independent; no sequence is enforced.
Why are arrows visible but no messages arrive?
Arrow switches are on by default, while alert-family gates and all delivery channels are off.
When is an H4 event confirmed on H1?
At the next H4 opening after the source candle closes, provided the source history is available.
Can the lines change after an H1 candle closes?
Yes, when that H1 candle belongs to a still-forming H4 source candle. Confirmed events use closed source candles.
Is the download compiled and tested in MetaTrader?
No. It contains source for F7 compilation. Numerical checks outside MetaTrader do not verify native compilation or runtime.
Sources and review scope
This review follows a pinned EarnForex revision and the marked ForexBestRobots changes. Real-data figures and CSV are our reconstructions. Inclusion does not imply endorsement by EarnForex, Tim Hyder or Roman Ignatov.