Pearson product-moment correlation coefficient. 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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
PPMCC:
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.
Author: Scriptor