• Prodotti
  • Comunità
  • Mercati
  • Broker
  • Altro
Inizia
  • Comunità
  • /Indicatori e strategie
  • /Intercommodity

Intercommodity

two_leg_spread_returns_zscoreThis script helps assess the relative returns of each leg in a two-legged spread. It shows the z-score of each period's returns, along with a moving average of the difference between the two returns. A negative moving average implies that the second leg is strengthening, on a relative return basis, against the first leg, and vice versa. The inputs are: - timeframe: the timeframe for the calculations. the default is five minutes. - leg1_sym: the symbol for the first leg - leg2_sym: the symbol for the second leg - ma_length: the length of the moving average. by default it is 48, or the previous four hours, given the default timeframe. The default symbols are RB and HO, simply as an example of an intercommodity spread.
Indicatore Pine Script®
di taylor_o
Aggiornato
44

Dati di mercato forniti da ICE Data services. Dati di riferimento forniti da FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Più che un semplice prodotto
  • Grafici
Screener
  • Azioni
  • ETF
  • Obbligazioni
  • Singole cripto
  • Coppie Cripto
  • Coppie CEX
  • Coppie DEX
  • Pine
Heatmap
  • Azioni
  • ETF
  • Cripto
Calendari
  • Economico
  • Utili
  • Dividendi
Altri prodotti
  • Curve di rendimento
  • Opzioni
  • Notiziario
  • Pine Script®
  • Spunti
Applicazioni
  • Smartphone
  • Desktop
Strumenti e abbonamenti
  • Caratteristiche
  • Costi
  • Dati di mercato
Offerte speciali
  • Futures CME Group
  • Futures Eurex
  • Bundle azioni USA
Informazioni sulla società
  • Chi siamo
  • Manifesto
  • Atleti
  • Blog
  • Carriere
  • Kit multimediale
Merchandising
  • TradingView Shop
  • I tarocchi per i trader
Politiche e sicurezza
  • Condizioni d'uso
  • Declinazione di responsabilità
  • Normativa sulla privacy
  • Politica sui cookies
  • Dichiarazione di accessibilità
  • Rischi per la sicurezza
  • Pagina di stato
Comunità
  • Social network
  • Muro social
  • Invita un amico
  • Regolamento
  • Moderatori
Idee
  • Trading
  • Formazione
  • Selezione editoriale
Pine Script
  • Indicatori e strategie
  • Maestri
  • Freelancer
Soluzioni per le aziende
  • Widget
  • Librerie grafiche
  • Lightweight Charts™
  • Grafici avanzati
  • Piattaforma di trading
Opportunità di crescita
  • Pubblicità
  • Integrazione broker
  • Programma affiliazione
  • Programma di formazione
Look FirstLook First