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
Take a quite a few seconds to load so be patient.
Open a new tab for pair chart.
Try changing the 80 to 95 on "CHF_DOWN and JPY_DOWN ? color(red,80) : CHF_UP and JPY_UP ? color(green,80) lines 180-201.
these show when both asset strengths are either going UP or DOWN at the same time