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.
Below is both scripts on a 2 panel page set to 1 hour.
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
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