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

Another_Symbol - MetaTrader 4용 지표

조회수:
16492
평가:
(13)
게시됨:
2016.02.08 12:05
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

In some cases, it is necessary to display quotes of another financial instrument (hereinafter - the symbol) or timeframe withing the window of the current chart. An example of this necessity: searching for divergences between the quote charts of two symbols.

The solution to this problem is available in a variety of options, up to the display of the chart of a different symbol. In this case, however, it will be limited to the display of a simple line, which is one of the four characteristics of the candlestick of another symbol: the opening price, closing, high or low.

The Another_Symbol indicator displays the data of another symbol in the subwindow of the current chart. The symbol name is specified in the "Symbol" parameter. In addition, it is possible to specify the desired timeframe (the "Chart period" parameter) and the price of one of the candles (the "Price" parameter). To extend the functionality, the "Price" parameter contains options for the calculation of the average price of candles (Median), typical (Typical) and weighted (Weighted Close) prices.

A simple example of the indicator operation - display of the closing price of GBPUSD symbol on the chart of the EURUSD symbol.

The simplicity of the indicator lies in the fact that it does not synchronize the charts. Data is output by the bars indexes, not by time. That is, if for any of the bars of the current chart there is no corresponding bar of the other symbol, there the data from the adjacent (earlier of later) bar will be displayed. This problem is not relevant on the higher timeframes, as such bar gaps are rare. But on the lower timeframes, especially on the chart periods like M1, the time lag can be significant.

The result of this discrepancy is the distortion of the real appearance of the quote chart of the other symbol. For this reason, this version of the indicator is more suitable for the timeframes in which the bar gaps almost never happen: M30 or higher.

The flip side of the problem is the advantage: it is possible to display the M15 or even the M5 chart on the H1 chart.

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

TEMA_Custom TEMA_Custom

Triple Exponential Moving Average with customizable parameters.

Regression Сhannel Regression Сhannel

The channel indicator plots a linear regression channel.

UP bot 1 UP bot 1

A simple Expert Advisor, which works without the use of any indicators. Enters at trend reversal attempt.

Trade when the market is closed Trade when the market is closed

The script is designed to place orders at the time when it is not possible, for example, when the market is closed.