OPEN-SOURCE SCRIPT

Major & Modern Wars Timeline

552
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.