Strength of SPX500, EURUSD, XAUUSD and US OIL.
Buy or sell on extreme of strength into the overbought or the oversell.
Buy or sell on extreme of strength into the overbought or the oversell.
study("Strength SPX500 EURUSD XAUUSD USOIL", precision=3) fast=input(5) slow=input(15) v1=security('SPX500/USOIL',period,close) v2=security('SPX500/XAUUSD',period,close) v3=security('SPX500/EURUSD',period,close) v4=security('USOIL/EURUSD',period,close) v5=security('XAUUSD/EURUSD',period,close) v6=security('XAUUSD/USOIL',period,close) SPX=(v1+v2+(v3))/3 EUR=((100-v3)+(100-v4)+(100-v5))/3 XAU=((100-v2)+(v5)+v6)/3 OIL=((100-v1)+(v4)+v6)/3 spx=tsi(SPX,fast,slow) eur=tsi(EUR,fast,slow) xau=tsi(XAU,fast,slow) oil=tsi(OIL,fast,slow) plot(spx,color=green,title='SPX500') plot(eur,color=fuchsia,title='EURUSD') plot(xau,color=#ffcc00,title='XAUUSD',linewidth=2) plot(oil,color=maroon,title='USOIL') hline(0,title='midpoint') hline(0.5,title='overbought') hline(-0.5,title='oversell')