OPEN-SOURCE SCRIPT
Atualizado

CandelaCharts - HTF Candle Anticipation

3 556
📝 Overview

The CandelaCharts - HTF Candle Anticipation indicator provides a multi-timeframe analysis view by rendering higher timeframe (HTF) candles directly on your current chart, offset to the right. Not only does it show historical HTF candles, but it also generates an Anticipated Candle representing the expected future price action based on liquidity sweeps, structure breaks (BOS), and lower timeframe Changes of Character (CHoCH).

The indicator analyzes the relationship between the two most recently closed HTF candles. Based on how the current candle interacts with the high and low of the previous candle, the indicator projects the next candle's bias:
  • Sweep: Piercing the previous candle's extreme (high or low) but closing back in range signals a liquidity grab (targeting the opposite side).
    snapshot
  • BOS: Closing beyond the previous candle's extreme (high or low) signals continuation.
    snapshot
  • CHoCH: If no sweep or BOS occurs, the script relies on a specified Lower Timeframe (LTF). A bearish CHoCH in the top 50% of the HTF candle anticipates a bearish move, while a bullish CHoCH in the bottom 50% anticipates a bullish move.
    snapshot
  • Respect: The current candle's body respects the previous candle's equilibrium (50% level), signaling continuation.
    snapshot
  • Disrespect: The current candle's body disrespects the previous candle's equilibrium (50% level), signaling reversal.
    snapshot


📦 Features

  • Multi-Group Display: Supports up to 4 different HTF groups simultaneously (e.g., 1H, 4H, 1D, 1W), allowing top-down analysis without switching charts.
  • Customizable LTF CHoCH: Explicitly define the Lower Timeframe and pivot length to use for CHoCH detection for each HTF group.
  • Interactive Dashboard: An on-chart dashboard tracks the current Anticipation Stage for all active groups, including the progression of stages (e.g., Sweep ↓ → CHoCH ↑).
  • Clean Visuals: Highly customizable visuals including offsets, spacing, label sizes, and colors. The anticipated candle is drawn with a customizable opacity to distinguish it from historical candles.


⚙️ Settings

  • General: Global settings for text size, font, and the CHoCH Swing Length used for detecting LTF pivots.
  • HTF Groups (1-4): Toggle visibility, set the timeframe, the number of historical candles to show, and the specific LTF used for CHoCH.
  • Styling & Labels: Customize colors for bullish/bearish anticipated candles, spacing, margins, label display, and rendering offsets.
  • Dashboard: Toggle the stage tracking dashboard and set its position on the chart.


⚡️ Showcase

Next Candle
snapshot

HTF Dividers
snapshot

Dashboard
snapshot

🚨 Alerts

  • Anticipation Formed: Triggered when a new anticipated scenario is confirmed on any active HTF group.


⚠️ 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.
Notas de Lançamento
CandelaCharts - HTF Candle Anticipation 1.0.1
  • Fix plotting divider visual issue

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.