OPEN-SOURCE SCRIPT

Greater Currency Correlation Matrix (Forex)

Updated
Other available matrixes I found have a limited number of forex symbols. Consequentially, you need to keep switching them if you want to do a proper analysis. As a result of that, I produced my own currency matrix.

Correlation studies relationships between different price charts.

High correlation may be completely random in the short term, but it may signify a fundamental relationship between the two symbols if calculated over the long term.

For example, the currency of an oil-producing country may rally along with oil, whereas the importer's currency may drop. This means that watching the oil price chart may be worth it for such pairs.

The script includes all Major and Minor pairs with the addition of Gold (XAUEUR) and two optional symbols.

▬▬▬▬

To avoid too frequent use of security(), I decided to calculate all symbol values from EUR pairs. It should improve performance and keep room for some additional symbols in the future.

Please report any bugs.
Release Notes
Text size of the axis is now editable.
correlationCorrelation Coefficient (CC)correlationsForexforexanalysismatrixmatrixfxRelative Strength ComparisonstatisticsTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer