OPEN-SOURCE SCRIPT

Filtered Trend Levels with Fibonacci

Current Timeframe Check: I added isCurrentTimeframe to only display Fibonacci levels, trend labels, and other elements when the current timeframe matches the chart’s timeframe.
For example, this will show the Fibonacci levels only on a "5-minute" timeframe if timeframe.period == "5" or on a daily chart if timeframe.period == "1D".
Limit to Current Timeframe: All the labels and shapes (for Fibonacci levels, HH/HL, etc.) will only be shown if the isCurrentTimeframe condition is true, which ensures they only appear on the active timeframe.
How to Use:
Change your chart to different time frames (e.g., 5-minute, 1-hour, or daily).
The labels and circles will only show up when the script is applied to that specific timeframe.
This version ensures that only the relevant data for the currently active time frame is displayed, while you can also adjust the Fibonacci levels as needed.

Let me know if this works for you!

Clause de non-responsabilité