OPEN-SOURCE SCRIPT

War Index

Introduction
Welcome to the War Index! This project aims to provide traders, investors, and analysts with a specialized financial indicator that tracks the performance of key defense and aerospace companies. By aggregating the percentage changes of selected stocks, the War Index offers insights into the defense sector's dynamics and its relationship with the broader market.

What is the War Index?
The War Index is a custom financial indicator designed to approximate the collective performance of major defense and aerospace companies. It aggregates the daily percentage changes of selected stocks within the defense sector to provide a singular metric that reflects the overall health and trends of this industry. Additionally, the index is compared against the S&P 500 (SPX) to contextualize its performance relative to the broader market.

Index Components
The War Index comprises the following 16 stocks, each representing a significant player in the defense and aerospace industries:
  • Lockheed Martin Corporation ( LMT )
  • Northrop Grumman Corporation ( NOC )
  • Boeing Company ( BA )
  • Raytheon Technologies Corporation ( RTX )
  • General Dynamics Corporation ( GD )
  • BAE Systems plc ( BAESY )
  • L3Harris Technologies, Inc. ( LHX )
  • Textron Inc. ( TXT )
  • Huntington Ingalls Industries, Inc. ( HII )
  • Oshkosh Corporation ( OSK )
  • Leidos Holdings, Inc. ( LDOS )
  • Kratos Defense & Security Solutions, Inc. ( KTOS )
  • Spirit AeroSystems Holdings, Inc. ( SPR )
  • Parsons Corporation ( PSN )
  • CACI International Inc ( CACI )
  • ViaSat, Inc. ( VSAT )


Purpose of the War Index
The War Index serves several key purposes:
  • Sector Performance Tracking: By aggregating the performance of major defense and aerospace companies, the index provides a clear picture of the sector's overall health.
  • Investment Analysis: Investors can use the index to identify trends, evaluate sector strength, and make informed decisions regarding their portfolios.
  • Comparative Benchmarking: Comparing the War Index with broader market indices like the S&P 500 helps in understanding how the defense sector performs relative to the general market.


Disclaimer: This War Index is an approximated indicator intended for informational purposes only. It should not be construed as investment advice. Always conduct your own research or consult with a financial advisor before making investment decisions.
Candlestick analysisPortfolio managementTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal