Hello Franco,
As for the Forex Correlations Table product, the formula used for correlation is the standard, close prices used, including the last unrealized bar, you can select how many bars to use.
The formula is
Correlation Coefficient = ∑(x(i)- mean(x))*(y(i)-mean(y)) / √ (∑(x(i)-mean(x))2 * ∑(y(i)-mean(y))2)
As for "Currency Pair Correlation" it certainly seems different but this is ClickAlgo's code, I suspect the last bar is not included.
Let me know if you have more questions,
Regards,