HorizonAI
IndicatorPro

HTF Candle Projection

Advanced HTF candle tool that projects potential candle close levels based on current momentum and historical patterns. Helps you anticipate HTF candle formations before they complete.

Full Source Code
Alert Templates
Build on with HorizonAI

What's Included

HTF candle close projection
Momentum-based estimation
Multiple projection scenarios
Visual projection zones
Works with any HTF
Real-time updates

How HTF Candle Projection works

HTF candle projection is about reasoning ahead: while a higher-timeframe candle is still forming, you try to anticipate where it is likely to close rather than waiting passively for it to complete. Because a single daily or weekly candle can take many hours to finish, having an informed expectation of its likely direction and closing area helps you plan entries and exits before the picture is confirmed.

The projection draws on momentum inside the current candle and on how similar candles have behaved recently. If the higher-timeframe candle has pushed strongly off its open and is holding, that carries a different implication than one that has stalled or reversed intra-candle. The idea is to translate what has happened so far into a reasonable expectation of how it may resolve.

This is anticipation, not prediction. A projection is a working hypothesis about candle formation that must be updated as new information arrives, and it can be invalidated quickly if price shifts. Its purpose is to let you position around higher-timeframe closes with a plan instead of reacting only after the candle has sealed.

When to use it

  • Planning around a higher-timeframe close before it happens, such as end-of-day or end-of-week positioning.
  • Deciding whether to hold or trim a position based on where the forming HTF candle looks likely to settle.
  • Anticipating whether a higher-timeframe candle may close strong or weak to inform lower-timeframe entries.
  • Framing bias early in a session rather than waiting hours for confirmation.

When it's not the right tool

  • Treating the projected close as a fixed target, since the candle can still resolve very differently as new price data arrives.
  • During major news or unusual volatility, when intra-candle behaviour becomes erratic and past patterns stop applying.
  • As a sole basis for high-conviction entries without confirmation from structure and your own risk plan.

Source Code Preview

Get the full PineScript v6 source code—use it as a foundation and build on top of it with HorizonAI.

htf-candle-projection.pine
1//@version=6
2indicator("HTF Candle Projection", overlay=true)
3// ─────────────────────────────────────
4// HTF Candle Projection - Full Source Code
5// ─────────────────────────────────────
6
7// Input Settings
8pivotLen = input.int(5, "Pivot Length")
9showLabels = input.bool(true, "Show Labels")
10
11// Core Logic
12pivotHigh = ta.pivothigh(high, pivotLen, pivotLen)
13pivotLow = ta.pivotlow(low, pivotLen, pivotLen)
14
15// Structure Detection
16var float lastHigh = na
17var float lastLow = na
18
19if not na(pivotHigh)
20 lastHigh := pivotHigh
21 // ... more logic
22
23// Break of Structure
24bosUp = close > lastHigh

200+ lines of source code

Unlock premium to access the full source code

Unlock Source Code

Frequently asked questions

Is a candle projection a prediction of the exact close?

No. It is an evolving estimate of where the current higher-timeframe candle may finish based on momentum and prior behaviour. It should be revised continuously as the candle develops and treated as a plan, not a guarantee.

Why bother anticipating a close instead of waiting for it?

Higher-timeframe candles take a long time to complete, and waiting for confirmation can mean missing the move or entering late. Projecting the likely close lets you position with a plan and manage risk around the outcome ahead of time.

What most often invalidates a projection?

A shift in momentum, a break of nearby structure, or a volatility spike from news can all flip how the candle is likely to close. Because of that, any projection needs active monitoring and a clear invalidation point rather than blind commitment.

Get access to all 23+ scripts

Full source code, alert templates, and the perfect base to build on with HorizonAI. Join 10,000+ traders.