거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
9048
평가:
(23)
게시됨:
2013.07.12 10:12
업데이트됨:
2016.11.22 07:32
xpoints.mq5 (12.87 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Real author:

RedPlumSoft, Inc

The indicator predicts the possible reversal points. The EURUSD chart show an interesting pattern - some time before the reversal, there are bars with the following features:

  1. rate = (High - Low) / MathAbs(Close - Open) is significantly greater than 1;
  2. the lowest point (Low) touches the bottom of the channel (possible price growth), or the highest point (High) touches the top of the channel (possible price fall)

These bars are conventionally called X-points. The indicator finds X-points based on the xrate parameter:

(rate >= xrate) && (High-Low) >= xsize && (Up-Dn)>= xminupdn

To filter out false signals, the indicator analyzes the bar that follows the X-point for any price movement in the predicted direction, as well as the position of bar midpoints relative to the center of the channel and each other.

Indicator input parameters:

//+-----------------------------------------------+
//|  INDICATOR INPUT PARAMETERS                   |
//+-----------------------------------------------+
input uint   iper=3;        // Channel construction period
input double ixrate=1.5;    // Minimal relation
input uint   ixsize=5;      // Minimal bar height (High-Low) in points
input uint   ixslope=0;     // Minimal increase of the next bar in points
input uint   ixminupdn=10;  // Minimal channel width in points

input Hour1  ixhour1=H09;   // Minimal hour staring with which signals are allowed
input Hour2  ixhour2=H_19;  // Maximal hour up to which signals are allowed
input uint   ixindent=15;   // Shift of the signal from the chart in points

input int    Shift=0;       // Horizontal shift of the indicator in bars

It is possible that the indicator may produce false signals. Therefore it is necessary to apply additional filtering using other indicators, or treat the indicator signals as a warning against hasty opening of positions that contradict the prediction.

Added time filtering of signals. By default, the night signals are ignored.

The testing revealed another interesting feature of the ixndent parameter - it can be used to accurately calculate the opening moment. For example, open short positions when the price is above the arrow and vice versa, which provides an approximation of the opening to the point of a local extremum.

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 07.06.2008. 

Figure 1. The XPoints indicator

Figure 1. The XPoints indicator

 

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1716

SignalTable SignalTable

The original indicator that shows buy and sell signals of three indicators on nine timeframes

prusax prusax

The indicator paints the part of the bar depending on the direction of the candlestick

Triggerlines Shift Modified Triggerlines Shift Modified

A simple trend indicator in the form of a colored cloud

PLdot PLdot

The simplest moving-like indicator