OPEN-SOURCE SCRIPT
US Macro Indicators (CPI YoY, PPI YoY, Interest Rate)

US Macro Indicators (CPI YoY, PPI YoY, Interest Rate)
This indicator overlays the most important US macroeconomic trends for professional traders and analysts:
CPI YoY (%): Tracks year-over-year change in the Consumer Price Index, the main measure of consumer inflation, and a core focus for Federal Reserve policy.
PPI YoY (%): Shows year-over-year change in the Producer Price Index, often a leading indicator for future consumer inflation and margin pressures.
Fed Funds Rate (%): Plots the US benchmark interest rate, reflecting the real-time stance of US monetary policy.
Additional Features:
Key policy thresholds highlighted:
2% (Fed’s formal inflation target)
1.5% (comfort floor)
3% and 4% (upper risk/watch zones for inflation)
Transparent background shading signals elevated inflation zones for quick visual risk assessment.
Works on all asset charts and timeframes (macro data is monthly).
Why use it?
This tool lets you instantly visualize inflation trends versus policy and spot key macro inflection points for equities, FX, and rates. Perfect for anyone applying macro fundamentals to tactical trading and investment decisions.
This indicator overlays the most important US macroeconomic trends for professional traders and analysts:
CPI YoY (%): Tracks year-over-year change in the Consumer Price Index, the main measure of consumer inflation, and a core focus for Federal Reserve policy.
PPI YoY (%): Shows year-over-year change in the Producer Price Index, often a leading indicator for future consumer inflation and margin pressures.
Fed Funds Rate (%): Plots the US benchmark interest rate, reflecting the real-time stance of US monetary policy.
Additional Features:
Key policy thresholds highlighted:
2% (Fed’s formal inflation target)
1.5% (comfort floor)
3% and 4% (upper risk/watch zones for inflation)
Transparent background shading signals elevated inflation zones for quick visual risk assessment.
Works on all asset charts and timeframes (macro data is monthly).
Why use it?
This tool lets you instantly visualize inflation trends versus policy and spot key macro inflection points for equities, FX, and rates. Perfect for anyone applying macro fundamentals to tactical trading and investment decisions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.