OPEN-SOURCE SCRIPT
(US) Historical Trade Wars

Historical U.S. Trade Wars Indicator
Overview
This indicator visualizes major U.S. trade wars and disputes throughout modern economic history, from the McKinley Tariff of 1890 to recent U.S.-China tensions. This U.S.-focused timeline is perfect for macro traders, economic historians, and anyone looking to understand how America's trade conflicts correlate with market movements.
Features
Comprehensive U.S. Timeline: Covers 130+ years of U.S.-centered trade disputes with historically accurate dates.
Color-Coded Events:
🔴 Red: Marks the beginning of a U.S. trade war or major dispute.
🟡 Yellow: Highlights significant events within a trade conflict.
🟢 Green: Shows resolutions or ends of trade disputes.
Global Partners/Rivals: Tracks U.S. trade relations with China, Japan, EU, Canada, Mexico, Brazil, Argentina, and others.
Country Flags: Uses emoji flags for easy visual identification of nations in trade relations with the U.S.
Major Trade Wars Covered:
McKinley Tariff (1890-1894)
Smoot-Hawley Tariff Act (1930-1934)
U.S.-Europe Chicken War (1962-1974)
Multifiber Arrangement Quotas (1974-2005)
Japan-U.S. Trade Disputes (1981-1989)
NAFTA and Softwood Lumber Disputes
Clinton and Bush-Era Steel Tariffs
Obama-Era China Tire Tariffs
Rare Earth Minerals Dispute (2012-2014)
Solar Panel Dispute (2012-2015)
TPP and TTIP Negotiations
U.S.-China Trade War (2018-present)
Airbus-Boeing Dispute
Usage
Analyze how markets historically responded to trade war initiations and resolutions.
Identify patterns in market behavior during periods of trade tensions.
Use as an overlay with price action to examine correlations.
Perfect companion for macro analysis on daily, weekly, or monthly charts.
About
This indicator is designed as a historical reference tool for traders and economic analysts focusing on U.S. trade policy and its global impact. The dates and events have been thoroughly researched for accuracy. Each label includes emojis to indicate the U.S. and its trade partners/rivals, making it easy to track America's evolving trade relationships across time.
Note: This indicator works best on larger timeframes (daily, weekly, monthly) due to the historical span covered.
Overview
This indicator visualizes major U.S. trade wars and disputes throughout modern economic history, from the McKinley Tariff of 1890 to recent U.S.-China tensions. This U.S.-focused timeline is perfect for macro traders, economic historians, and anyone looking to understand how America's trade conflicts correlate with market movements.
Features
Comprehensive U.S. Timeline: Covers 130+ years of U.S.-centered trade disputes with historically accurate dates.
Color-Coded Events:
🔴 Red: Marks the beginning of a U.S. trade war or major dispute.
🟡 Yellow: Highlights significant events within a trade conflict.
🟢 Green: Shows resolutions or ends of trade disputes.
Global Partners/Rivals: Tracks U.S. trade relations with China, Japan, EU, Canada, Mexico, Brazil, Argentina, and others.
Country Flags: Uses emoji flags for easy visual identification of nations in trade relations with the U.S.
Major Trade Wars Covered:
McKinley Tariff (1890-1894)
Smoot-Hawley Tariff Act (1930-1934)
U.S.-Europe Chicken War (1962-1974)
Multifiber Arrangement Quotas (1974-2005)
Japan-U.S. Trade Disputes (1981-1989)
NAFTA and Softwood Lumber Disputes
Clinton and Bush-Era Steel Tariffs
Obama-Era China Tire Tariffs
Rare Earth Minerals Dispute (2012-2014)
Solar Panel Dispute (2012-2015)
TPP and TTIP Negotiations
U.S.-China Trade War (2018-present)
Airbus-Boeing Dispute
Usage
Analyze how markets historically responded to trade war initiations and resolutions.
Identify patterns in market behavior during periods of trade tensions.
Use as an overlay with price action to examine correlations.
Perfect companion for macro analysis on daily, weekly, or monthly charts.
About
This indicator is designed as a historical reference tool for traders and economic analysts focusing on U.S. trade policy and its global impact. The dates and events have been thoroughly researched for accuracy. Each label includes emojis to indicate the U.S. and its trade partners/rivals, making it easy to track America's evolving trade relationships across time.
Note: This indicator works best on larger timeframes (daily, weekly, monthly) due to the historical span covered.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.