OPEN-SOURCE SCRIPT

CandelaCharts - HTF Sweeps

698
📝 Overview

This indicator lets you overlay a higher timeframe (HTF) onto your current chart, giving you a clearer view of broader market movements without switching timeframes.

快照

This indicator also detects liquidity sweeps and plots them on both the higher timeframe (HTF) and the current lower timeframe (LTF), helping traders clearly spot potential reversal points. It adds LTF dividers for better structure clarity, making it easier to align with HTF shifts and refine entry timing with greater precision.

📦 Features

This indicator identifies price sweeps and their invalidations, helping traders spot potential liquidity grabs and failed breakout attempts.
  • Overlay a configurable higher timeframe (HTF) on the current chart
  • Detects and plots liquidity sweeps on both HTF and LTF
  • Adds lower timeframe (LTF) dividers for improved structure clarity
  • Ideal for ICT-style top-down analysis and precision entries without switching charts


⚙️ Settings

Customize the indicator to suit your strategy. Alert options are also available, so you can stay informed when key market events are triggered.
  • Timeframes: Select the higher timeframe (HTF) to overlay on your current chart.
  • HTF Coloring: Customize the color scheme for HTF candles.
  • HTF Offset: Space of HTF Candles and current chart.
  • HTF Size: Adjust the size of HTF candles.
  • HTF Labels: Toggle labels for HTF.
  • LTF H/L Line: Show or hide high/low lines from the lower timeframe.
  • LTF O/C Line: Display open/close lines from the lower timeframe.
  • Sweep: Enable detection and plotting of liquidity sweeps.
  • I-sweep: Toggle invalidated sweep detection.
  • Alerts: Enable Sweep Formation or Invalidation alerts


⚡️ Showcase

See the indicator applied in live market scenarios, illustrating how sweep detections and invalidations unfold on various charts.

HTF Candles
快照

HTF Sweeps
快照

LTF Sweeps
快照

Invalidated Sweeps
快照

🚨 Alerts

This indicator includes built-in alert functionality to keep you informed of key market events in real time. It supports the following customizable alerts on TradingView:
  • Sweep Detection: Notifies you when a price sweep is detected—either a liquidity sweep above recent highs or below recent lows. This can be a strong signal of potential reversals or liquidity grabs by larger market participants.
  • Sweep Invalidation: Alerts you when a previously detected sweep becomes invalidated due to price action moving beyond a defined threshold. This helps traders stay adaptive and avoid acting on outdated signals.

These alerts are fully integrated with TradingView’s native alert system, so you can receive notifications via app, email, or pop-up—ensuring you're always up to date, even when you're away from the chart.

⚠️ Disclaimer

Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。