﻿Correlation Matrix – DinexSpace
========================================

Correlation Matrix is a free indicator by DinexSpace for MT5 and TradingView. A table of correlation coefficients between the symbols you choose.

Use it to avoid stacking positions that are really the same bet.

On MT5 (MT5/ folder)
1. Unzip the file you downloaded.
2. In MT5 go to File → Open Data Folder and open MQL5\Indicators.
3. Copy the .mq5 file (and the .ex5, if included) from the MT5 folder of the .zip into it.
4. Open MetaEditor (F4), open the .mq5 file and press Compile (F7). You can skip this step if you copied the .ex5.
5. Back in MT5, right-click in the Navigator → Refresh, then drag Correlation Matrix onto a chart.
6. Adjust the settings on the Inputs tab and click OK.

On TradingView (TradingView/ folder)
1. Open a chart on TradingView and click Pine Editor at the bottom of the screen.
2. Create a new script → Indicator.
3. Delete the template code and paste the full Correlation Matrix script (at the bottom of this page or the .pine file in the .zip).
4. Click Save, give it a name, then click Add to chart.
5. Adjust the inputs under the indicator's Settings → Inputs.

License: MIT (stated in the source)
README_EN.md is the full English description.

Indicator page: https://indicators.dinexspace.com/indicators/correlation-matrix/

Indicators are analysis tools, not investment advice. Trading involves risk.
