OPEN-SOURCE SCRIPT

HTF Auction Candle (Zeiierman)

7 959
█ Overview
HTF Auction Candle (Zeiierman) is a multi-timeframe auction profiling indicator that reconstructs the currently forming Higher Timeframe candle and analyzes the lower-timeframe activity developing inside it.

Rather than viewing the Higher Timeframe candle only as a single OHLC structure, the indicator breaks its full high-to-low range into individual price cells. It estimates how buying and selling activity is distributed across those levels.

Battle Bubbles provide an additional view of the auction by showing which side is winning across broader price segments and the relative strength of each battle.
snapshot
█ HTF Auction Structure
The center of the indicator displays the reconstructed Higher Timeframe candle.

⚪ Buy and sell activity is displayed on opposite sides of the candle:
• Sell activity extends to the left.
• Buy activity extends to the right.

The width of each profile section represents the estimated amount of activity concentrated at that price level. Wider areas therefore highlight prices where greater participation occurred during the developing Higher Timeframe auction.

⚪ When Delta Dominance is enabled, each price cell also compares estimated buying and selling activity.
• Positive Delta extends to the right.
• Negative Delta extends to the left.
• Larger Delta cells represent stronger directional imbalance.

⚪ Battle Bubbles summarize buyer-versus-seller control across 20 equal sections of the Higher Timeframe range.
• Green bubbles indicate a buyer win.
• Red bubbles indicate a seller win.
• Larger bubbles represent stronger battles with greater participation.

Together, the Volume Wings, Delta Dominance, and Battle Bubbles provide different views of participation, imbalance, and directional control inside the developing Higher Timeframe candle.
snapshot
█ How It Works
⚪ Higher Timeframe Reconstruction

The indicator reconstructs the selected Higher Timeframe candle using its live open, high, low, and current close. The high and low are also linked back to the chart bars where those extremes first formed.

⚪ Lower Timeframe Sampling
The internal auction is built from Lower Timeframe candles, using their open, high, low, close, and volume. The selected Lower Timeframe must remain below the Higher Timeframe and cannot exceed the chart timeframe.

⚪ Buy and Sell Volume Estimation
Each Lower Timeframe candle’s volume is divided into estimated buy and sell activity using its close position, candle direction, and wick structure.
Pine Script®

A stronger bullish structure receives a larger estimated buy share, while a stronger bearish structure receives a larger sell share. This is an estimation model and does not use true bid and ask transaction data.

⚪ Price Cell Distribution
The Higher Timeframe range is divided into Price Cells, with each Lower Timeframe candle contributing activity only to the cells touched by its range.

Buy and sell volume is weighted toward separate directional areas, while Cell Concentration controls how tightly that activity is distributed.

⚪ Volume Wings
Estimated sell activity forms the left profile and buy activity forms the right profile. Wider sections indicate greater participation at that price level.

⚪ Delta Dominance
Delta measures the difference between estimated buy and sell activity inside each Price Cell.
Pine Script®

• Positive Delta indicates stronger estimated buying.
• Negative Delta indicates stronger estimated selling.
• Wider Delta areas represent stronger imbalance.

⚪ Battle Bubbles
The Higher Timeframe range is divided into 20 equal Battle segments.

Each segment combines estimated volume Delta with directional Lower Timeframe win consistency to determine buyer or seller control.

• Green bubbles indicate buyer control.
• Red bubbles indicate seller control.
• Larger bubbles represent stronger battles with greater participation.

Bubble size is normalized against the strongest Battle segment in the current Higher Timeframe candle.

⚪ Higher Timeframe Delta
The indicator also calculates estimated Delta across the entire Higher Timeframe candle.
Pine Script®

Positive values indicate overall buying dominance, while negative values indicate selling dominance.

█ How to Use

⚪ Analyze the Developing Higher Timeframe Candle
Use the reconstructed candle to monitor a Higher Timeframe auction without leaving the current chart timeframe.

Instead of waiting for the Higher Timeframe candle to close, traders can observe how its structure and internal participation are developing in realtime.

This can be useful when monitoring larger timeframe candles from lower execution timeframes.
snapshot

⚪ Identify High-Participation Areas
Wide sections of the Volume Wings show price levels where more estimated activity has accumulated.

These areas can highlight important zones of acceptance, consolidation, support, resistance, or repeated participation within the current Higher Timeframe candle. Narrow profile areas show prices where relatively less activity occurred.
snapshot
⚪ Use the Control Price
The Control Price identifies the price cell with the highest combined estimated activity.

Traders can use it as a reference for where the current Higher Timeframe auction has concentrated the greatest participation.

Price holding around the Control Price can suggest continued acceptance, while movement away from it can help highlight changes in the developing auction.
snapshot

⚪ Read Delta Across the Range
Delta Dominance shows which side is stronger at individual price levels.

• Positive Delta highlights areas of stronger estimated buying activity.
• Negative Delta highlights areas of stronger estimated selling activity.
• Large Delta cells highlight stronger directional imbalance.

This can help reveal whether buying or selling pressure is concentrated near specific parts of the Higher Timeframe candle.

For example, strong positive Delta near the upper portion of the range can show aggressive bullish participation, while strong negative Delta near the highs can indicate selling pressure developing into higher prices.
snapshot
⚪ Read the Battle Bubbles
Battle Bubbles provide a simplified view of which side is winning across different parts of the Higher Timeframe range.

Clusters of larger buyer or seller bubbles can highlight areas where directional control is especially strong, while smaller bubbles indicate weaker or less significant battles.

They can be used alongside the Volume Wings and Delta Dominance to distinguish broad directional control from the more detailed activity occurring inside individual price cells.
snapshot
█ Settings
  • Higher Timeframe: Selects the Higher Timeframe candle used for the live auction. It must be greater than the chart timeframe.
  • Auto LTF: Automatically selects a suitable Lower Timeframe used to build the internal auction.
  • Manual LTF: Selects the Lower Timeframe manually when Auto LTF is disabled. It must remain below the Higher Timeframe and no higher than the chart timeframe.
  • Price Cells: Controls how many price levels divide the Higher Timeframe range. More cells provide finer profile and Delta resolution.
  • Cell Concentration: Controls how tightly estimated buy and sell activity is distributed around each Lower Timeframe candle's directional activity centers.
  • LTF Sample Capacity: Sets the maximum number of Lower Timeframe samples retained before older samples are compressed to maintain performance.

-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.