OPEN-SOURCE SCRIPT
CandelaCharts - HTF Mappings

📝 Overview
The CandelaCharts - HTF Mappings indicator seamlessly overlays higher timeframe (HTF) candles directly onto your current chart. It allows traders to visualize the broader market context without switching timeframes, making it easier to spot macro trends, support/resistance, and price action dynamics.
📦 Features
⚙️ Settings
⚡️ Showcase
Mapped HTF Candles

HTF Sweeps

HTF Overlays with Trend Lines

Dual HTF Overlays

🚨 Alerts
⚠️ 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.
The CandelaCharts - HTF Mappings indicator seamlessly overlays higher timeframe (HTF) candles directly onto your current chart. It allows traders to visualize the broader market context without switching timeframes, making it easier to spot macro trends, support/resistance, and price action dynamics.
📦 Features
- Dual HTF Overlays: Display up to two distinct higher timeframe candles simultaneously.
- Right-Side Panel: View the current state of your selected HTFs elegantly displayed on the right margin.
- Volatility-Adjusted Opacity: Candle bodies dynamically adjust their opacity based on the Average True Range (ATR), giving you a visual representation of market volatility.
- Historical Candles: Project a defined number of past HTF candles to analyze previous price action on a macro level.
- HTF Sweeps: Automatically detect and project liquidity sweep lines from mapped HTF candles. Sweeps precisely anchor to the HTF high/low wicks and persist until crossed by current price action.
- Trend Lines: Optionally draw a trend line connecting the open and close prices within each mapped HTF candle to track internal momentum.
- Customizable Visuals: Full control over colors, wick widths, vertical separators, and timeframe/time labels.
⚙️ Settings
- Timezone: Set the timezone used for displaying candle timestamps.
- HTF I & II: Configure the timeframes, historical count, colors (bull/bear, body/border), wicks, separators, trend lines, and label visibilities for each HTF.
- Sweeps: Customize sweep line colors, width, styling, and selectively display or hide invalidated (crossed) sweeps.
- HTF Settings: Adjust the position, spacing, margin, and size of the right-side HTF panel.
⚡️ Showcase
Mapped HTF Candles
HTF Sweeps
HTF Overlays with Trend Lines
Dual HTF Overlays
🚨 Alerts
- New HTF Candle: Triggers an alert whenever a new higher timeframe candle opens, keeping you updated on macro shifts without having to constantly monitor 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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
🔵 Tools that give you the edge: candelacharts.com/.
🔵 Join our free discord for updates: candelacharts.com/community
🔵 Join our free discord for updates: candelacharts.com/community
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
🔵 Tools that give you the edge: candelacharts.com/.
🔵 Join our free discord for updates: candelacharts.com/community
🔵 Join our free discord for updates: candelacharts.com/community
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.