First created by Glaz in 2015 and updated a few times by JustUncleL in 2017 , I have stripped out the plot functions and color coded results against pairs.
I feel this makes the results easier to interpret. The darker the color the stronger the asset.
As Pine Script only allows a maximum of outputs, I have split this into 2 Scripts to cover all 28 pairs.
8 Pair Strength - AUD/CAD/NZD/USD for AUD/CAD - AUD/CHF - AUD/JPY - AUD/NZD
AUD/USD - CAD/CHF - CAD/JPY - NZD/CAD
NZD/CHF - NZD/JPY - NZD/USD - USD/CAD
USD/CHF - USD/JPY
8 Pair Strength - CHF/EUR/GBP for CHF/JPY - EUR/AUD - EUR/JPY - EUR/CAD
EUR/CHF - EUR/NZD - EUR/GBP - EUR/USD
GBP/AUD - GBP/CAD - GBP/CHF - GBP/JPY
GBP/NZD - GBP/USD