This Pine Script indicator dynamically plots the high and low of a selected previous candle from any timeframe. Traders can customize the reference candle period (e.g., 4-hour, daily, weekly, or custom) to suit their strategy. These levels serve as key support and resistance areas, helping traders identify breakout zones, liquidity sweeps, and price reaction points.
Key Features:
✅ Customizable Reference Timeframe – Select any previous candle’s high and low (e.g., 1H, 4H, Daily, Weekly, etc.). ✅ Dynamic Level Updates – The levels automatically refresh once a new candle of the chosen timeframe forms. ✅ Multi-Timeframe Compatibility – Works seamlessly on all chart timeframes while maintaining accuracy. ✅ Custom Visual Settings – Adjust line color, style, and visibility to match your charting preferences. ✅ Trading Confluence Tool – Helps identify strong support/resistance zones, liquidity grabs, and breakout areas. ✅ Alerts Integration – Optionally set alerts to notify when price interacts with the plotted levels.
This indicator is perfect for traders who rely on previous key levels for entries, stop placements, and profit targets. Whether you trade intraday, swing, or long-term, this tool provides crucial price reference points for strategic decision-making.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
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.