QQ E [v02] and QQ E multi-timeframe [v02]
This is a powerful addition to your MetaTrader 5 toolkit designed to optimize market analysis and performance. This technical indicator acts as a specialized analysis tool designed to visualize market data. It helps traders identify emerging trends, momentum shifts, and key support or resistance levels by plotting statistical calculations directly onto price charts.
How to Setup and Use QQ E [v02] and QQ E multi-timeframe [v02]
1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.
2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.
3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.
4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.
Frequently Asked Questions
Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."
Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).
Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.
Description & Settings
The QQE and QQE MTF indicators:
QQE - Qualitative Quantitative Estimation, calculated as two indicators:
on
Difference of MA on RSI and MA of MA of of MA of RSI
BUY signal: when the blue line crosses level 50 from below after crossing the yellow line from below.
SELL signal: when the blue line crosses level 50 from above after crossing the yellow line from above.
The QQE MTF indicator can be applied to any timeframe, higher or lower than the current chart's timeframe.
Compared to the original single-timeframe QQE indicator, the only extra setting is the second timeframe used as input for the calculations.
When the QQE MTF indicator is applied to a timeframe lower than the current chart's time frame it's not possible to display all values. In this case, depending on the price type chosen, it will use a different approach to give the most appropriate value.
Two examples:
timeframe_1=5 minutes, timeframe_2=1 minute, calculations based on
Close
price series:
For any bar on timeframe_1, the indicator will show the latest bar of timeframe_2 with a Close time before or at the Close time of the bar at timeframe_1. This goes for bars that have been closed as well as the current bar that's still open.
timeframe_1=5 minutes, timeframe_2=1 minute, calculations based on
Open
price series:
For any bar at timeframe_1, the indicator will show the latest bar of timeframe_2 with a opening time before or at the Open time of the bar on timeframe_1. This goes for bars that have been closed as well as the current bar that's still open. The logic here is that if you choose to calculate your indicators on the Open time of a bar then probably you will also trade when a new bar opens. In that case, at the Open of a new 5-minute bar, you will only know the Open of the first of the five 1-minute bars that are part of it. The Open of the second to fifth 1-minute bars are therefore ignored in the calculations.
You can mix any time frame with any other time frame, even if they are not in sync, e.g. timeframe_1 = 5 minutes and timeframe_2 = 12 minutes. The indicator will make sure they stay synced. The way this works is similar to the examples above.
See the indicator for a more visual explanation in an excel sheet.
When switching between time frames, allow some time (a few seconds) for the price data to be loaded. If the indicator is not displayed, refresh the chart manually.
Put both
qqe_mtf.mq5
and
qqe.mq5
in the \MQL5\Indicators folders for the indicator to work.
Look in the source to switch on/off error messages:
Update history QQE:
2010 09 26: v02
Code rewritten to make the indicator work better with MetaTrader5;
Fixed wrong values returned at the start of the chart;
Update history QQE MTF:
2010 09 26: v02
Improved display of values on timeframes smaller than the chart's timeframe;
Set buffers to EMPTY_VALUE instead of 0 after: if(convertedTime<tempTimeArray_TF2[0]);
Code optimization;
Removed PLOT_DRAW_BEGIN from OnInit() - inherited from single time frame indicator;
Moved ArraySetAsSeries of buffers and arrays into OnInit().