OPEN-SOURCE SCRIPT

Highest/Lowest Range in Timeframe

205
This script helps traders visually identify the highest high and lowest low within a customizable range of recent bars.

🔍 Key Features
Scans the last 100 to 1000 bars (user-defined)

Automatically detects:

The highest wick (high) and lowest wick (low)

Draws dotted green horizontal lines at both levels

Shows a label indicating the percentage range between high and low

Displays real-time high and low price labels directly on the chart

⚙️ Use Cases
Quickly spot price extremes over your desired time window

Visually measure market range and volatility

Identify breakout potential or reversal zones

✅ How to Use
Add the script to your chart.

Set the “Bars to Scan” input to your desired lookback period (between 100–1000).

Use the displayed lines and labels to identify key high/low price levels and range metrics.

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.