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.
Remove from Favorite Scripts Add to Favorite Scripts
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')
gianfranco60
2 months ago
Can I get a chart with XAU , XAG , EURUSD and DAX? Thank you
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out