OPEN-SOURCE SCRIPT

Fed Rate Change Impact

52
📊 Fed Rate Change Impact — Macro Event-Driven Indicator

Fed Rate Change Impact is an advanced indicator designed to analyze the impact of Federal Reserve interest rate changes on financial markets. It integrates event-driven logic with dynamic visualization, percentage diagnostics, and multi-asset selection, offering a clear and customizable view of post-event effects.

🔍 Key Features 📅 Preloaded Fed Events: Includes over 30 historical rate cut (↓) and hike (↑) dates from 2008 to 2024.

📈 Post-Event Analysis: Calculates the percentage change of the selected asset 5, 10, and 30 days after each event.

📌 Vertical Chart Lines: Visually highlights each event directly on the chart, with dynamic coloring (red for hikes, green for cuts).

📋 Diagnostic Table: Displays real-time impact for each event, with color-coded values and a compact layout.

🧠 Interactive Filter: Choose to display only hikes, only cuts, or both.

🧭 Flexible Asset Selection: Analyze the current chart asset, pick from a predefined list, or manually input any ticker via input.symbol().

🎯 Contextual Highlighting: The table highlights the analyzed asset if it matches the active chart symbol.

⚙️ Customizable Parameters lookahead5, lookahead10, lookahead30: Define the time horizon for measuring post-event impact.

eventFilter: Choose which type of events to display.

presetAsset / customAsset: Select or input the asset to analyze.

🧪 Recommended Use Cases Macroeconomic analysis on indices, commodities, crypto, and forex

Studying delayed effects of rate changes on sensitive assets

Building event-driven strategies or diagnostic overlays

Visual backtesting and cross-asset comparison

🧠 Technical Notes The indicator is compatible with overlay=true and works best on Daily timeframe.

The table automatically adapts to the number of events and includes visual padding for improved readability.

All calculations are performed in real time and require no external data.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.