Patternsmart

Multi Time Frame MTF Correlation Coefficient meter



This indicator shows the Correlation Coefficient between the four input symbols and current chart symbol over the corresponding timeframe and period inputs.



You can input four symbols with different aggregation and period settings.

The period input is the number of bars used to calculate the correlation coefficient.



How to Read the Correlation Coefficient indicator

Each dot shows the correlation coefficient between the two symbols over the corresponding timeframe and period inputs. The following categories indicate a quick way of interpreting the table values. Note that a negative correlation means the two currency pairs correlate in the opposite directions (e.g. when the price for one goes up, the other one goes down and vice versa)



Positive 0.0 to 0.25 weak correlation, shown as small cyan dot.
Positive 0.25 to 0.5 Moderate correlation, shown as medium light blue dot.
Positive 0.5 to 0.75 Strong correlation, shown as big light blue dot.
Positive 0.75 to 1.0 Very strong correlation, shown as large blue dot.

Negative 0.0 to 0.25 weak correlation, shown as small orange dot.
Negative 0.25 to 0.5 Moderate correlation, shown as medium orange dot.
Negative 0.5 to 0.75 Strong correlation, shown as big purple dot.
Negative 0.75 to 1.0 Very strong correlation, shown as large red dot.


You can also change the plot style to meet your needs.


Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact Patternsmart for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.