거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

QQE [v02] and QQE multi-timeframe [v02] - MetaTrader 5용 지표

조회수:
24198
평가:
(28)
게시됨:
2010.09.29 10:45
업데이트됨:
2016.11.22 07:32
qqe.mq5 (11.89 KB) 조회
qqe_mtf.mq5 (10.13 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Real author:

traderak20, based on QQE.mq5 by EarnForex Copyright © 2010, based on version by Tim Hyder (2008), based on version by Roman Ignatov (2006)

The QQE and QQE MTF indicators:

QQE - Qualitative Quantitative Estimation, calculated as two indicators:

  1. MA on RSI
  2. Difference of MA on RSI and MA of MA of ATR 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 MACD Histogram MC_MTF 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:

bool  ShowErrorMessages=false;      // turn on/off error messages for debugging

QQE and QQE MTF


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().
ytg_ADX_V1 ytg_ADX_V1

It uses the values of ADX indicator for trading.

Simple Expert Advisor based on the Simple Moving Average and ADX Simple Expert Advisor based on the Simple Moving Average and ADX

This simple Expert Advisor uses Simple Moving Average and ADX indicators.

An Expert Advisor template An Expert Advisor template

This code is a template of an Expert Advisor, written by Valery Mazurenko (notused) for ATC-2010.

is7n_trend.mq5 (new) is7n_trend.mq5 (new)

This trend indicator is based on moving averages.