OPEN-SOURCE SCRIPT

Major & Modern Wars Timeline

320
Description:

This indicator overlays vertical lines and labels on your chart to mark the start and end dates of major global wars and modern conflicts.

Features:

Displays start (red line + label) and end (green line + label) for each war.

Covers 20th century wars (World War I, World War II, Korean War, Vietnam War, Gulf War, Afghanistan, Iraq).

Includes modern conflicts: Syrian Civil War, Ukraine War, and Israel–Hamas War.

For ongoing conflicts, the end date is set to 2025 for timeline visualization.

Customizable: label position (above/below bar), line width.

Works on any chart timeframe, overlaying events on financial data.

Use case:
Useful for historical market analysis (e.g., gold, oil, S&P 500), helping traders and researchers see how wars and conflicts align with market movements.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。