Is there any calculation formula for Correlation Pairs?

Hello everyone .Good day.

EURUSD AND USDCHF correlation is around -70 and -80 .

How can calculate this correlated value in mql4?

Thanks 

Aung Swar:

Hello everyone .Good day.

EURUSD AND USDCHF correlation is around -70 and -80 .

How can calculate this correlated value in mql4?

Thanks 

How did you calculate without using mql4?

Keith Watford:

How did you calculate without using mql4?

<Link to commercial website deleted>

Keith Watford:

How did you calculate without using mql4?

using MT5