All indicators

HTF Cross Breakout

Oct 14, 2025

Static chart image
Volume BasedSignalsTime BasedMoving Averages

The HTF Cross Breakout indicator detects higher timeframe close crossovers to identify potential breakout signals while providing trend validation through anchored VWAP lines. It is designed to filter out lower timeframe noise and "whipsaws" by using stable higher timeframe (HTF) reference points and directional bar confirmation.

Usage

This tool identifies moments when the current chart's close price crosses a higher timeframe close level. When a valid breakout occurs, the indicator anchors a volume-weighted average price (VWAP) from the breakout point to track the health of the trend.

Visual labels update dynamically to classify the price action as a "Continuation" (if the level holds) or a "Trap" (if price reverses). Users can monitor the distance between the breakout level and current price via a delta percent extension, and a secondary extension provides an automated stop-loss level anchored to the VWAP.

Details

The indicator utilizes request.security calls to pull HTF data with optional repainting controls to balance real-time feedback and historical stability.

  • Breakout Detection: Triggers when the current close crosses the HTF close, provided the bar shows directional strength (matching open/close polarity).
  • Anchored VWAP: Resets at every new signal, accumulating volume-weighted price data starting exclusively from the breakout bar.
  • Trend Validation: A background tint warns if the price deviates adversely from the VWAP, signaling potential trend exhaustion.
  • Visual Management: To maintain chart clarity, old lines and labels are automatically pruned after a user-defined bar extension period.

Settings

Parameters

  • Plateau Length: Reserved for future stability features (default: 3).
  • Line Width: Adjusts the thickness of breakout and VWAP lines (1–5).
  • +Bars after next HTF event: Determines how many bars old visuals persist before deletion.
  • Evaluate label only on HTF close: If enabled, label updates (Continuation/Trap) wait for the HTF bar to close for higher stability.
  • Allow Repainting: Toggles between real-time data updates (True) or stable historical bars (False).
  • Timeframe Type: Choose between Auto (dynamic), Multiplier (e.g., 5x the current chart), or Manual fixed timeframes.

Extensions

  • Extension 1: Toggles a dotted line and delta percent label between the breakout level and current close.
  • Extension 2: Toggles a stop-loss marker at the end of the VWAP line.
  • Stop Method: Choose between "Percent" or "Ticks" to calculate the stop-loss distance from the VWAP.

FAQ

How do I interpret the labels?

Green/Red "Cont." labels indicate the price is successfully holding above/below the breakout level. Gray "Trap" labels suggest the breakout has failed and price has crossed back over the reference level.

Can I use this on non-standard charts?

It is recommended to avoid using this on Heikin-Ashi, Renko, or Range charts, as these can produce unrealistic signal results.

How do I access HTF Cross Breakout?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.