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

An interesting regularity is observed in the EUR/USD chart. Some time before a reversal, bar appear that have:

1) rate=(High-Low)/MathAbs(Close-Open) remarkably higher than 1

2) Low touches the lower border of the channel (price increasing is possible), or

High touches the upper border of the channel (price decreasing is possible).

Such bars are conventionally called X-points.

The indicator searches for X-points by parameter xrate (rate >= xrate) && (High-Low) >= xsize && (Up-Dn)>= xminupdn.

To filter false signals, the indicator analyzes the bar following the X-point to detect at least small price movement in the predicted direction, and it detects the positions of middle points of bars as related to the mid-channel and to each other.

(See the code of the indicator.)

Parameters:

extern int per=3; - channel building period

extern double xrate=1.5; - minimal rate

extern double xsize=5.0; - minimal bar height (High-Low)

extern double xslope=0.0; - minimal increment of the next bar

extern double xminupdn=10.0; - minimal channel width

extern int xhour1=9; - minimal hour, from which signals are allowed (inclusively)
extern int xhour2=19;- maximal hour, up to which channels are allowed (inclusively)
extern int xindent=15; - signal indent from the chart (it can be used for StopLoss, too)

As you can see from the chart, signals of XPoints (straight arrows) are often ahead of or are more precise than FATL (round arrows).

False signals have not been excluded yet, so you should use additional filtering with other indicators or consider the signals as warnings against too early opening of positions directed oppositely the predicted movement.

Signal filtering by time is added. By default, new signals are ignored.

During tests, another interesting peculiarity of the 'indent' parameter has been found: this parameter can be used for the accurate calculation of opening time, for example, you can open short positions when the price is above the arrow, and vice versa. This approaches the opening to the local extremum point.

Above is the graph of an Expert Advisor based on the indicator under the conditions of modeling the ATC'2007.

The Ea increased the capital by 35 times within three months using some special methods of aggressive refinancing with the maximal drawdown of 22%.

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

Price_BarsM2_MTF Price_BarsM2_MTF

The indicator colors candlesticks.

Prusax_v61 Prusax_v61

The indicator colors bars.

Stochastic_Cross_Alert_SigOverlayM_cw Stochastic_Cross_Alert_SigOverlayM_cw

The indicator displays signals to buy/sell.

STRATEGY REPORT INTO CHART STRATEGY REPORT INTO CHART

Drawing all results from a strategy tester report file into a chart.