Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

PPMCC - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

PPMCC - indicator for MetaTrader 5

PPMCC - indicator for MetaTrader 5

PPMCC - indicator for MetaTrader 5

The Pearson Product-Moment Correlation Coefficient (Pearson PCC) shows the linear relationship between the moving averages of the two instruments, ranging from -1 to +1. When the graph is above zero, it is marked as a positive correlation. Correlation is negative below zero. Zero means there is no correlation.

The indicator has five input parameters:

If an invalid symbol name is used (for the first symbol, the second symbol or both), the indicator will print a message in the log and give an error when uninstalling.

The first symbol in the settings may be different from the symbol of the running indicator. In this case, the indicator value is updated only after the arrival of new quotes for the symbol on which the indicator runs. In order to display this line, the indicator needs the history of the symbol it is using. If the required history is not available, the indicator first downloads the necessary history and then displays the line after a price movement on the symbol it runs on.

PPMCC - indicator for MetaTrader 5

Figure 1. EURUSD/USDJPY

PPMCC - indicator for MetaTrader 5

Figure 2. EUROCAD/AUDUSD

PPMCC - indicator for MetaTrader 5

Figure 3. GBP USD/EUR GBP


Attachment download

📎 ppmcc.mq5 (23.34 KB)

Source: MQL5 #20375

Verification code Refresh