OPEN-SOURCE SCRIPT

Major & Modern Wars Timeline

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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.