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

Pearson product-moment correlation coefficient (Pearson's PCC) displays the linear relation between the moving average values of two instruments ranging from -1 to +1. When the chart is above zero, a positive correlation is marked. Correlation is negative below zero. Zero indicates that there is no correlation.

The indicator has five input parameters:

  • Period - MA calculation period
  • First symbol name - the name of the first financial instrument
  • First symbol applied price - the calculation price of the first financial instrument
  • Second symbol name - the name of the second financial instrument
  • Second symbol applied price - the calculation price of the second financial instrument

If an invalid symbol name is used (for the first symbol, the second one, or both), the indicator prints a message to the log and is unloaded with an error.

The first symbol in the settings can differ from the one the indicator is running on. In this case the indicator values will be updated only after the arrival of a new tick of the symbol, which the indicator is running on. To display the line, the indicator needs the history of the symbols it is working with. If the required history is not available, the indicator first downloads the necessary history, and then displays the line after the arrival of a tick on the symbol on which it is running.

Fig.1. EURUSD/USDJPY


Fig.2. EURCAD/AUDUSD


Fig.3. GBPUSD/EURGBP

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

Positive_Negative_Volume Positive_Negative_Volume

An indicator of volumes relative to the positive/negative price increment

T3_MA T3_MA

A moving average by Tim Tillson

PR PR

Period Range

Prevailing_Trend Prevailing_Trend

An indicator of the prevailing trend.