OPEN-SOURCE SCRIPT

[LJ] HTF Candles with Volume POC [Highly Optimized]

184
Welcome to the ultimate Higher Timeframe (HTF) fusion tool.
This indicator seamlessly merges Higher Timeframe price action with precise volume profiling on Lower Timeframe (LTF) charts. By utilizing advanced array memory management, it bypasses TradingView's drawing limits to render clean HTF candle boxes and their exact Volume Point of Control (POC), ensuring peak performance and accuracy even on extreme timeframe combinations.

🔎 Visual Guide: What's on Your Chart?
The Big Boxes (Wick & Body): These represent the Open, High, Low, and Close of your selected Higher Timeframe (e.g., a 1-Hour candle projected onto your 5-Minute chart). Color-coded for bullish/bearish momentum.

The Midline: A horizontal line dividing the HTF candle perfectly in half. Useful for gauging if LTF price is in a "premium" or "discount" zone relative to the HTF.

The Yellow Box (The POC): This is the Point of Control. When an HTF candle closes, this yellow box locks in place, showing the exact price zone that saw the highest volume accumulation during that period, calculated using precise LTF hlc3 price data.

⚙️ Key Settings & Configuration
To get the most out of this indicator, check these inputs in the settings menu:

Box Time Interval: Set this to your desired HTF (e.g., "1H", "4H", "D").
Tip: A good rule of thumb is an HTF that is 5x to 12x higher than your current chart.

POC Resolution (Levels): This is your fine-tuning dial.
  • Set to 50 - 100: Creates a very thin, precise POC line. Great for exact support/resistance levels.
  • Set to 15 - 35: Creates a thicker POC "Zone". Great for capturing broader areas of high liquidity.
  • Max Historical Boxes: Controls how far back the indicator draws. Keep this at 50 for a clean chart and fast loading times.


📈 Trading Strategies: How to Trade the HTF POC
1. The "Magnet" Mean Reversion High volume nodes (POCs) act as price magnets. If the current LTF price is far away from the previous HTF candle's POC, look for setups that trade back toward that yellow box.

2. The Break & Retest The POC box acts as a heavy Support/Resistance wall. If price breaks through the yellow POC box with strong momentum, look to enter on the retest of that box in the direction of the breakout.

3. Trend Continuation In a strong uptrend, look for the current LTF price to bounce off the Midline or the previous candle's POC to join the dominant HTF trend.

⚡ Performance Note
This indicator uses advanced Pine Script Array Management. Unlike standard volume profile scripts that crash when calculating big timeframes, this indicator guarantees zero lag and no disappearing boxes, even when looking at a Daily HTF on a 1-Minute chart.

🙏 Credits
This is a refactored and heavily optimized fusion of two great concepts:
Original HTF Box logic by © krollo041
Original Volume Thermometer concept by © ChartPrime
Merged, debugged, and optimized for v6 Array Management by ©Luki_eR [LJ]

Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.