Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Correlation

Correlation of two symbols. Values are oscillating between +1 (complete positive correlation) and -1 (complete negative correlation). Correlation value 0 is denoting absence of correlation (random changes without correlated price changes between the two observed symbols).

Usage

  • Use the correlation period to calculate either longer term correlation using longer period (good for observing if the symbols that are monitored are tending to trend in the same direction) or using short period (good for sudden price changes observation - usually when news are issued for one symbol and not for the other).
  • Enter in either or both of the symbol parameters the symbol you wish to monitor.
  • If the symbol parameter is left empty, current chart symbol will be used.
  • Set the coloring mode (two color mode is displaying different colors when zero value - no correlation level - is crossed).

MetaTrader Experts, Indicators, Scripts and Libraries

Recommendations

  • If the symbols observed tend to be either completely positively or negatively correlated, a break in the opposite direction usually can be used for entries.
  • In cases like the above estimate which is the symbol that is deviating from the usual trend, and enter in the direction of the other observed symbol.
  • All values above 0.8 or bellow -0.8 can be considered as a high level of correlation.

P.S. Using same symbols in both symbol parameters will always produce result 1.

19832

Best MetaTrader Indicators + Profitable Expert Advisors