당사 팬 페이지에 가입하십시오
- 조회수:
- 9255
- 평가:
- 게시됨:
- 2013.07.12 10:12
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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:
- rate = (High - Low) / MathAbs(Close - Open) is significantly greater than 1;
- 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
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1716
![SignalTable](https://c.mql5.com/i/code/indicator.png)
The original indicator that shows buy and sell signals of three indicators on nine timeframes
![prusax](https://c.mql5.com/i/code/indicator.png)
The indicator paints the part of the bar depending on the direction of the candlestick
![Triggerlines Shift Modified](https://c.mql5.com/i/code/indicator.png)
A simple trend indicator in the form of a colored cloud
![PLdot](https://c.mql5.com/i/code/indicator.png)
The simplest moving-like indicator