Gorbie

Strength SPX500 EURUSD XAUUSD USOIL

Strength of SPX500 , EURUSD , XAUUSD and US OIL .
Buy or sell on extreme of strength into the overbought or the oversell.
Skript med en öppen källkod

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Frånsägelse av ansvar

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Vill du använda det här skriptet i ett diagram?
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')