OPEN-SOURCE SCRIPT
Fed Rate Change Impact

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