Intraday Trading Helper Tools v1.0.14Intraday Trading Helper Tools
A multi-feature intraday analysis indicator combining Fair Value Gaps, session visualization, key price levels and daily gap detection into a single lightweight script.
Fair Value Gaps (FVG)
Detects and draws bullish and bearish FVGs on the current timeframe. Only the closest N gaps above and below price are shown — filled gaps are removed instantly with fill % tracked live.
Per-timeframe on/off toggle (1m → 1M) — disabled TFs skip all calculation, not just drawing
HTF Layers: overlay FVGs from up to 5 higher timeframes (1H, 4H, 1D, 1W, 1M), each showing the single closest gap above and below price
All layers independently toggleable with custom colors
Trading Sessions
Colored background boxes for Sydney, Tokyo, Frankfurt, London and New York with automatic DST adjustment.
Configurable history in days (separately for 1H and minute TFs)
Option to merge Sydney + Tokyo into a single Asia box
Zero calculation cost when sessions are disabled
Daily Opening Gap
Real gap detection — fires only when today's open differs from the previous day's close. Visible on all timeframes. Box is deleted automatically the moment price fills the zone. Works correctly on 24/7 markets (crypto) and traditional markets.
Key Levels
PDH / PDL - Previous Day High and Low
PWH / PWL - Previous Week High and Low
PMH / PML - Previous Month High and Low
DO - Current Day Open (resets each day)
MO - Current Month Open (resets each month)
All levels independently toggleable with custom colors and labels.
Extremum Points
Confirmed swing highs and lows marked with triangle shapes. Configurable pivot strength. Per-timeframe visibility control.
Indicator

MTF CISD Trade System + Alerts🔹 Introduction
This indicator, MTF CISD Trade System + Alerts, identifies high-probability trade entries by detecting Change in State of Delivery (CISD) events across up to six user-defined timeframes simultaneously, and only triggering an entry signal when every enabled timeframe agrees on directional bias — confirmed by a matching CISD on the chart's own timeframe.
The core idea is this: when the market's delivery mechanism — the way price is being distributed or accumulated by institutional participants — shifts in the same direction across multiple timeframes at once, that convergence is meaningful. A single timeframe CISD is noise. Six timeframes aligning and then confirming on your entry timeframe is a structurally significant event.
No model of institutional order flow or delivery state is perfect. CISD is a proxy — a price-action-based inference about intent, not direct visibility into the order book. I'll address this limitation honestly throughout.
🔹 The Premise
🔸 What is "Delivery"?
Markets don't move randomly. Price is delivered from one level to another by participants with directional intent. When a large participant — a bank, fund, or algorithm with size — wants to accumulate a long position, they need sellers. When they want to distribute, they need buyers. The process of filling that intent leaves observable footprints in price structure.
Delivery state refers to the current directional intent baked into recent price action. Is the market delivering price upward — making higher closes, respecting higher opens, absorbing sell-side resistance? Or is it delivering downward — closing below opens, treating prior bullish structure as supply?
The key insight is that delivery doesn't change instantaneously. It tends to persist. A market that has been delivering bullishly for the past several candles is more likely to continue doing so than to suddenly reverse — until it shows you structural evidence of a state change.
That evidence is what CISD captures.
🔸 The Mechanics of a CISD
Consider a concrete example. Assume price has been in a bearish delivery phase. The most recent non-inside bearish candle closed at $99 with an open of $101. That open — $101 — becomes a bull target: a structural level that, if reclaimed on a close, suggests the market is no longer delivering bearishly.
Now assume price trades sideways for a few candles and then a candle closes at $102. The prior close was at $100, meaning price was below $101 going into this candle and has now closed above it. That crossover — price transitioning through the open of a prior bearish candle — is a Bullish CISD.
Why does the open matter and not, say, the high or the body midpoint? Because the open of a directional candle represents where price started before commitment was expressed. Reclaiming it suggests that commitment is being challenged at the source. It's the most structurally defensible level to use without access to actual order book data.
The inverse applies for Bearish CISD: the open of the last non-inside bullish candle becomes a bear target, and a close below it — crossing from above — signals a shift toward bearish delivery.
Inside candles are excluded. A candle whose high is lower than the prior high and whose low is higher than the prior low is an inside candle — it expresses no directional commitment of its own. Using it to set a target would contaminate the signal with indecision. The indicator skips inside candles entirely when updating targets.
🔸 Why Multiple Timeframes?
A single CISD on a 5-minute chart happens dozens of times per session. Most are meaningless. They represent micro-fluctuations in a market that is, at higher timeframes, still clearly trending in the opposite direction.
The core challenge in intraday trading is timeframe alignment: you want to be trading with the higher timeframe bias, not against it. A bullish 5-minute CISD during a bearish hourly, daily, and weekly structure is a counter-trend scalp at best, a trap at worst.
Lo and MacKinlay (1988) documented that returns at different frequencies are not independent — price structure at higher timeframes significantly conditions the distribution of outcomes at lower timeframes. This is the academic underpinning of what traders know empirically: trade with the higher timeframe, not against it.
When the Weekly, Daily, H4, H1, M15, and M5 have all individually confirmed a bullish CISD — meaning delivery has demonstrably shifted to bullish on every relevant timeframe — the probability that a long entry will find follow-through is structurally higher than any single-timeframe setup could provide.
Six-timeframe alignment is rare. That rarity is the filter.
🔸 The Confirmation Gate — Why Not Enter Immediately on Alignment?
This is a subtle but critical design decision, and one that separates this system from a naive multi-timeframe crossover.
When a higher timeframe — say, the hourly — registers its CISD and becomes the final piece needed for full bearish alignment, the current 5-minute candle might already have a bullish CISD baked into it. That candle existed before the alignment completed. It's not a response to bearish alignment — it's a relic of the prior bullish structure.
Entering short on that candle would be entering against the very confirmation you're requiring. You'd be using a bullish local signal as a short entry trigger simply because the timing happened to coincide with a higher timeframe shift.
The indicator solves this with a pending state. The moment full alignment is achieved, the system arms a directional pending flag and waits. It does not enter. It listens. The entry only fires when the next local CISD — the one that occurs after alignment is confirmed — appears in the correct direction. A bearish pending state requires a new bearish CISD on the chart timeframe. A bullish pending state requires a new bullish CISD.
The entry is always a fresh confirmation, never a recycled one.
🔹 How It Works
🔸 CISD Detection Engine
The indicator runs an identical CISD detection function on every timeframe, including the local chart timeframe and all six user-selected higher timeframes via request.security. For each timeframe, it maintains two levels:
Bull target — the open of the most recent non-inside bearish candle
Bear target — the open of the most recent non-inside bullish candle
A Bullish CISD fires when the prior close was at or below the bull target and the current close is above it. A Bearish CISD fires when the prior close was at or above the bear target and the current close is below it.
State updates — the "Last CISD" label in the table — only occur on confirmed (closed) bars. This prevents the state from flickering during the formation of a live candle. What you see in the table reflects the last completed directional shift, not a mid-bar reading.
Small green triangles below bars mark Bullish CISD events on the chart timeframe. Small red triangles above bars mark Bearish CISD events. These are visual anchors showing you where delivery shifts are occurring locally — independently of whether alignment is achieved.
🔸 Multi-Timeframe Alignment Table
In the top-right corner, a compact table displays the current CISD state for each of the six configured timeframes.
Green (Bullish) — that timeframe's last confirmed CISD was bullish
Red (Bearish) — that timeframe's last confirmed CISD was bearish
Gray (Neutral) — insufficient history or no CISD has fired yet
Full alignment — all enabled timeframes showing the same state — triggers a green or red background on the chart. This background is persistent: it stays active for the entire duration that alignment holds, giving you a continuous visual context for the trade environment.
Individual timeframes can be enabled or disabled. Disabling a timeframe removes it from the alignment calculation entirely — it doesn't count for or against alignment. This lets you configure the system for your specific trading style, whether that's a 3-timeframe approach for faster setups or all 6 for maximum confluence.
🔸 Entry Signals
Larger triangles — green below the bar for longs, red above the bar for shorts — mark actual entry signals. These only appear when:
All enabled timeframes are aligned in the same direction
The CISD confirmation gate is armed (alignment was freshly achieved or is ongoing)
A new local CISD fires in the matching direction
The entry falls within the configured time window and day-of-week filter
Entries are taken at the close of the confirmation candle. This is an important assumption: in practice, you would place a limit order at the close price or enter at the open of the next candle. Bar-close entries are the most common convention for CISD-based strategies because the CISD itself is only confirmed on the close.
🔸 Trade Lines and Risk Management
When an entry fires, the indicator automatically draws three horizontal lines extending forward in time:
Blue (Entry) — the close price at the moment of entry
Red dashed (Stop Loss) — the open of the entry candle by default, or the low of the prior candle for longs / high of the prior candle for shorts if the "Use Previous Candle for SL" option is enabled
Green dashed (Take Profit) — calculated as Entry + (Risk × RR Ratio) for longs, Entry − (Risk × RR Ratio) for shorts
The Risk-Reward Ratio is fully adjustable. The default is 2.0, meaning TP is twice the distance of SL from entry. Increasing this improves the reward per trade but will reduce win rate as price needs to travel further to close the trade as a winner. Decreasing it improves win rate at the cost of expected value per trade — there is a direct tradeoff.
The stop loss placement assumption matters significantly. Using the entry candle's open assumes you're targeting the candle where delivery shifted as your invalidation point — if price returns to that open, the CISD failed. Using the prior candle's extreme gives the trade slightly more room but widens risk. Neither is universally superior — it depends on the volatility of the instrument and the timeframe you're trading.
Lines extend bar-by-bar until alignment breaks, at which point the trade is considered closed.
🔸 Session and Day-of-Week Filters
The entry filter uses America/New_York timezone with automatic DST adjustment. You set a start and end hour/minute in Eastern time, and the indicator computes whether each potential entry candle's close time falls within that window.
This matters because CISD setups during illiquid hours — Asian session for US equities, overnight for forex majors during off-hours — tend to produce false alignment from low-volume price drift rather than genuine institutional delivery shifts. Restricting entries to the primary session for your instrument significantly reduces noise.
Days of the week are individually toggleable. Sunday and Saturday are off by default. Mondays and Fridays around major economic events are worth monitoring carefully — many traders prefer to disable Friday entries to avoid holding through weekend gaps.
🔸 Performance Statistics Table
In the bottom-left, a live stats table tracks:
Total Trades — all entry signals that fired within the allowed session
Wins — trades where price reached the TP level before alignment broke
Losses — trades where price hit the SL level, or alignment broke before either level was reached
Win Rate — wins as a percentage of total trades
There are limitations here worth stating clearly. The stats count a trade as a loss if alignment breaks before either TP or SL is hit — which is the conservative assumption. In live trading, you might hold the trade past alignment if your personal rules allow it. The stats reflect the mechanical rules of the system as coded, not all possible discretionary interpretations.
🔹 Closing Remarks
CISD is one of the more structurally sound price-action concepts available to retail traders because it is anchored to a specific, objectively defined level — the open of a prior directional candle — rather than a subjective pattern or a lagging average. It doesn't predict the future. It identifies where delivery has demonstrably shifted and asks whether the market is confirming that shift across the timeframes that matter to you.
This system is not a black box that prints money. Full six-timeframe alignment is rare by design. When it occurs, you are looking at a market that has, at every relevant structural level, shifted its delivery state in the same direction. That's meaningful context — not a guarantee.
The most important thing this system can do for your trading is force discipline: you cannot enter unless structure agrees. You cannot enter on a stale signal. You cannot override the session filter in the code. The rules are the rules.
Use it as a confluence tool. Study the setups it finds. Understand why some hit TP and others break alignment early. The patterns in that data will teach you more about your instrument than any indicator description can.
🔹 References
Market Microstructure & Timeframe Dependency
Lo, A. W., & MacKinlay, A. C. (1988). Stock market prices do not follow random walks: Evidence from a simple specification test. Review of Financial Studies, 1(1), 41–66.
Easley, D., & O'Hara, M. (1992). Time and the process of security price adjustment. Journal of Finance, 47(2), 577–605.
Order Flow and Directional Delivery
Hasbrouck, J. (1991). Measuring the information content of stock trades. Journal of Finance, 46(1), 179–207.
Glosten, L. R., & Milgrom, P. R. (1985). Bid, ask and transaction prices in a specialist market with heterogeneously informed traders. Journal of Financial Economics, 14(1), 71–100.
Multi-Timeframe Analysis
Müller, U. A., Dacorogna, M. M., Davé, R. D., Pictet, O. V., Olsen, R. B., & Ward, J. R. (1993). Fractals and intrinsic time — a challenge to econometricians. Olsen & Associates Research Group, Zurich. Indicator

HTF Reversal Divergences [LuxAlgo]The HTF Reversal Divergences indicator is a multi-timeframe analysis tool that integrates higher timeframe (HTF) price action patterns, RSI divergences, and advanced candle projections (PO3) to identify potential market reversals.
🔶 USAGE
The indicator is designed to provide traders with a comprehensive view of market exhaustion and trend shifts by combining momentum oscillators with structural price patterns.
Users can monitor HTF candles (e.g., 1H, 4H) while trading on lower timeframes (e.g., 5m, 15m). When a reversal pattern like an Engulfing candle or a Pin Bar forms on the higher timeframe, the script highlights the specific area on the chart using styled boxes and labels.
🔹 RSI Divergences
The script calculates the Relative Strength Index (RSI) and automatically detects regular divergences. These are visualized with connecting lines on both the indicator pane and the main price chart:
Bullish Divergence : Occurs when price makes a lower low but the RSI makes a higher low, suggesting waning downward momentum.
Bearish Divergence : Occurs when price makes a higher high but the RSI makes a lower high, suggesting waning upward momentum.
🔹 Advanced HTF PO3 (Power of 3)
A unique feature of this tool is the projection of Higher Timeframe candles to the right of the current price action. This allows traders to see how the current lower-timeframe bars are contributing to the formation of the larger HTF candle (Open, High, Low, Close).
The PO3 projection includes a "Running Delta" which tracks volume-based buying and selling pressure within the current HTF period. Dashed lines connect the projected candle's OHLC levels back to the specific bars where those levels were established on the current timeframe.
🔶 DETAILS
The indicator uses request.security() to fetch data from the user-specified higher timeframe. The reversal patterns are defined as follows:
Engulfing : A candle that completely overlaps the body of the previous candle in the opposite direction.
Pin Bars : Hammers and Shooting Stars, defined by a long wick representing at least 60% of the total candle range.
The PO3 (Accumulation, Manipulation, Distribution) logic is reflected in the live candle projection, helping traders visualize where the "open" of the session is relative to current price, and whether the high or low of the HTF bar has likely been set.
🔶 SETTINGS
🔹 HTF Reversal Patterns
High Timeframe : Sets the timeframe used for pattern detection and candle projections.
Show Engulfing Patterns : Toggles the detection of bullish and bearish engulfing candles.
Show Pin Bars : Toggles the detection of Hammers and Shooting Stars.
Colors : Customize the visual representation of bullish and bearish structural patterns.
🔹 RSI Divergence
Show RSI Divergences : Toggles the calculation and display of momentum divergences.
RSI Length : The lookback period for the RSI calculation.
Pivot Lookbacks : Determines the sensitivity of the pivot detection used for finding divergence points.
🔹 Advanced: HTF PO3
Show HTF PO3 : Toggles the projected candle interface on the right side of the chart.
Candles to Show : The number of historical HTF candles to project alongside the live one.
Right Offset : How many bars to the right the projection is rendered.
Show PO3 Price Labels/Delta : Toggles specific data points on the projection UI.
Indicator

HTF S&D ZonesThis indicator is a comprehensive Supply and Demand engine designed to identify and track significant price levels from a Higher Timeframe (HTF) onto your current chart. It features a dynamic scoring system and automated lifecycle management to filter out weak levels and focus on high-probability zones.
Core Functionalities -
Multi-Factor Scoring Engine (0-100): Every zone is assigned a real-time score based on its initial formation and subsequent price action:
Departure Strength: Measures how explosively price moved away from the zone.
Volume Confirmation: Evaluates relative volume at the time of the zone's creation.
Zone Tightness: Thinner zones are weighted more heavily for higher precision.
Freshness & Age: Bonus points are awarded to untested zones, with a gradual decay for older ones.
Dynamic Lifecycle & Mitigation:
Test Tracking: Automatically counts "touches" (mitigations). Zones fade in visibility as they are tested and are deleted once they reach a user-defined test limit or fall below a minimum score.
Polarity Flipping: If a zone is breached by a candle close, it can optionally "flip" (e.g., Supply becomes Demand) rather than being deleted, maintaining its historical significance as a support/resistance flip.
On-Chart Dashboard: A real-time table that sorts active zones by score, displaying critical data like price level, test count, and volume ratio.
Visual Intelligence:
Transparency Scaling: Stronger, higher-scoring zones appear bold, while weak or exhausted zones become increasingly transparent.
Proximity Highlighting: Zones brighten and borders thicken when price enters the alert distance of a high-score level.
Usage -
Volatile Assets (NQ/ES): Increase the Min Departure (×ATR) and Edge Padding to filter out market noise and account for price "wicking" through levels.
Clean Charts: Set the Min Score threshold (e.g., 50) to automatically hide low-probability or exhausted zones.
Trend Alignment: Use the dashboard to identify Fresh (●) zones for high-probability reversals or Flipped (⟲) zones for S/R flip entries. Indicator

Indicator

ICT Power of 3 with Multi Bar and HTF EMA Display : PO3MyFXRoom HTF Bar Rejection — Higher Timeframe Overlay Indicator
This indicator plots higher timeframe candles directly onto your current chart, so you can analyse HTF price action and structure without switching between timeframes.
What it does:
Instead of flipping between charts, you get up to 15 candles from your chosen higher timeframe (H1, H4, Daily, Weekly or any other) displayed as a clean overlay on the right side of your chart.
Each candle shows the full body and wicks, colour-coded to match bullish and bearish price action.
Features:
HTF Candle Overlay — displays up to 15 higher timeframe bars directly on your chart
Fair Value Gaps — detects and highlights FVGs on both the current timeframe and the HTF overlay, so you can see where price may draw to
HTF Opening Price Line — marks the current HTF bar's opening price with a horizontal line for quick reference
Liquidity Grabs & Failed Breaks — automatically identifies when price grabs a high or low and fails to close beyond it, marking potential reversal points
Dual EMA (25 & 50) — plots both EMAs across the HTF overlay bars so you can gauge trend direction on the higher timeframe at a glance
EMA Trend Filter — long signals only when the 25 EMA is above the 50, short signals only when below
Fully customisable — colours, line styles, candle width, and positioning all adjustable
Who it's for:
Traders who use multi-timeframe analysis and want to keep their higher timeframe context visible at all times — particularly useful for ICT-based concepts including Power of 3, Fair Value Gaps, and liquidity. Indicator

ICT Power of 3 with Multi Bar and HTF EMA Display : PO3MyFXRoom HTF Bar Rejection — Higher Timeframe Overlay Indicator
This indicator plots higher timeframe candles directly onto your current chart, so you can analyse HTF price action and structure without switching between timeframes.
What it does:
Instead of flipping between charts, you get up to 15 candles from your chosen higher timeframe (H1, H4, Daily, Weekly or any other) displayed as a clean overlay on the right side of your chart. Each candle shows the full body and wicks, colour-coded to match bullish and bearish price action.
Features:
HTF Candle Overlay — displays up to 15 higher timeframe bars directly on your chart
Fair Value Gaps — detects and highlights FVGs on both the current timeframe and the HTF overlay, so you can see where price may draw to
HTF Opening Price Line — marks the current HTF bar's opening price with a horizontal line for quick reference
Liquidity Grabs & Failed Breaks — automatically identifies when price grabs a high or low and fails to close beyond it, marking potential reversal points
Dual EMA (25 & 50) — plots both EMAs across the HTF overlay bars so you can gauge trend direction on the higher timeframe at a glance
EMA Trend Filter — long signals only when the 25 EMA is above the 50, short signals only when below
Fully customisable — colours, line styles, candle width, and positioning all adjustable
Who it's for:
Traders who use multi-timeframe analysis and want to keep their higher timeframe context visible at all times — particularly useful for ICT-based concepts including Power of 3, Fair Value Gaps, and liquidity. Indicator

Session Breaks [crlmx]Session break lines with 3 separate customisable time frames - visibility control for
LTF / MTF / HTF conditions, replacing standard option that clutters charts.
Key Features
- Three independent time-tiers (default: Daily / Weekly / Monthly)
- Options per tier: 30min, 1H, 4H, 12H, D, W, M, Q
- Visibility toggles
- Per-tier colour with opacity, line style, width
- Lookback setting limits how many break lines display
- Overlap handling, only the highest timeframe draws
- Streamlined input / UI brought to you by crlmx
Trading Applications
- Keep daily breaks visible on intraday TF while hiding them on daily+
- Use weekly and monthly breaks as structural reference
- Layer multiple break types with distinct styles for quick session boundary identification
- Disable visibility at or above the break timeframe to avoid redundant lines
Scalping: (1): 30min / (2): 4H / (3): D
Default / Day Trading: (1): D / (2): W / (3): M
Version History
v1.0 (Latest - 04 Mar 2026)
- Three configurable break tiers with visibility toggles
- Per-tier styling, lookback, and overlap priority
- Responsive colour, width, and style controls
Indicator

Indicator

Indicator

HTF Candle Profile [UAlgo]HTF Candle Profile is a higher timeframe candle visualization tool that rebuilds each selected HTF candle from the lower timeframe bars that form it, then projects a horizontal volume profile inside that HTF candle range. The goal is to make intrabar participation visible directly on the price chart, so you can see where volume concentrated within the candle, where it was thin, and where the dominant traded price level emerged.
Instead of treating a daily or four hour candle as a single block, the script aggregates the lower timeframe bars as they arrive and distributes their volume across price bins covering the HTF candle’s high to low range. The result is a compact profile drawn from the start time of the HTF candle toward the right, with width proportional to relative volume per bin and color intensity driven by a gradient. This provides a fast read of internal structure: balanced candles, directional candles, rejection wicks, and consolidation pockets become easier to interpret because you can see the volume distribution inside the candle.
The indicator draws on the main chart and keeps a small rolling history of recent HTF candles to stay responsive and to respect object limits.
🔹 Features
1) Multi Timeframe HTF Candle Reconstruction
The script listens for a new HTF candle event using the selected timeframe input. When a new HTF candle begins, the previous one is finalized and drawn. During the active HTF candle, each incoming lower timeframe bar updates the running OHLC and stores its high, low, and volume for profiling.
This approach enables a live building profile for the current HTF candle while preserving completed profiles for recent candles.
2) Intrabar Volume Profile Built from LTF Data
For each HTF candle, the price range from low to high is divided into a user defined number of bins. Each lower timeframe bar contributes volume into all bins it spans. Volume is distributed evenly across the spanned bins to approximate participation within that bar’s range. This produces a per bin volume distribution that is stable and visually interpretable even when lower timeframe candles have large ranges.
3) Gradient Based Profile Intensity
Each bin is drawn as a horizontal box. Its color comes from a gradient that maps low volume to a softer profile color and high volume to a stronger profile color. This makes it easy to spot high participation nodes and low participation voids within the HTF candle.
Inputs allow independent control for bullish and bearish candle coloring and for the low volume and high volume profile colors.
4) POC Line Option
The script can optionally plot a POC line representing the price level of maximum volume within the HTF candle. This is drawn as a dashed horizontal line that spans the candle’s start time to end time. POC is often used as a reference for acceptance, fair value, or a magnet level during retracements.
5) Candle Body, Wick, and Time Boundaries
To keep the profile anchored and readable, the script also draws:
A translucent body box from HTF open to HTF close
A vertical wick line from HTF high to HTF low
A dotted start boundary and a dotted end boundary for the HTF candle window
These elements provide context so the profile is always interpreted within the candle structure that produced it.
6) Object Management and Rolling History
To keep charts clean and avoid exceeding platform limits, the script maintains a small history of HTF candles and deletes drawings for older ones. Each candle owns its objects and can fully clear them when removed from the rolling window.
🔹 Calculations
1) New HTF Candle Detection
A new candle event is detected using timeframe change on the selected timeframe:
isNew = timeframe.change(tf)
When isNew is true:
The previous HTF candle is finalized by setting its end time and drawing it
A new HTF candle object is created and added to the array
Old candles beyond the history limit are removed and their drawings deleted
2) HTF Candle Aggregation from LTF Bars
Each incoming lower timeframe bar updates the active HTF candle:
method addLtf(HtfCandle this, float h, float l, float c, float v) =>
this.ltfData.push(LtfBar.new(h, l, v))
this.h := math.max(this.h, h)
this.l := math.min(this.l, l)
this.c := c
Interpretation:
High is updated to the maximum seen so far within the HTF candle window
Low is updated to the minimum seen so far
Close is updated to the most recent close
Each LTF bar is stored with its high, low, and volume for later bin distribution
3) Bin Construction Across the HTF Candle Range
When drawing a candle, the script divides the HTF range into binCount segments:
float step = (this.h - this.l) / bCount
for i = 0 to bCount - 1
this.bins.push(ProfileData.new(this.l + i * step, this.l + (i + 1) * step, 0.0, na))
Each bin stores:
minP and maxP boundaries
accumulated volume for that price segment
a box handle for drawing
4) Volume Distribution from Each LTF Bar into Bins
For each stored LTF bar, the script determines which bins the bar spans and distributes volume evenly across them:
int startIdx = int((ltf.l - this.l) / step)
int endIdx = int((ltf.h - this.l) / step)
startIdx := math.max(0, math.min(startIdx, bCount - 1))
endIdx := math.max(0, math.min(endIdx, bCount - 1))
int spanned = endIdx - startIdx + 1
float vPerBin = ltf.v / spanned
for j = startIdx to endIdx
ProfileData b = this.bins.get(j)
b.vol += vPerBin
Interpretation:
The bar range is mapped to bin indexes
Indexes are clamped so they remain inside the array
Volume is divided by the number of spanned bins
Each spanned bin receives an equal share of that bar’s volume
This is a robust approach for intrabar profiling without tick data.
5) POC Computation
The script finds the bin with the maximum accumulated volume and sets the POC price at the midpoint of that bin:
float maxVol = 0.0
float pocP = na
for b in this.bins
if b.vol > maxVol
maxVol := b.vol
pocP := math.avg(b.minP, b.maxP)
If enabled, a dashed POC line is drawn across the HTF candle window:
if sPoc and not na(pocP)
this.lPoc := line.new(x1=this.st, y1=pocP, x2=this.et, y2=pocP, xloc=xloc.bar_time, color=cPoc, style=line.style_dashed, width=2)
6) Profile Box Width Scaling
Each bin’s box width scales by its volume relative to the maximum volume bin. Width is capped as a fraction of the candle’s time duration:
int duration = math.max(this.et - this.st, 1)
int volWidth = int((duration * 0.40) * (b.vol / maxVol))
int boxRight = this.st + volWidth
Interpretation:
duration represents the HTF candle time width
0.40 is the maximum profile width fraction of the candle duration
b.vol / maxVol converts volume to a normalized ratio
boxRight is calculated so all profile boxes start at the candle start time and extend rightward based on volume
7) Gradient Coloring of the Profile
Each bin color is mapped from low volume to high volume using a gradient:
color gradColor = color.from_gradient(b.vol, 0, maxVol, cLow, cHigh)
This keeps low participation zones visually lighter and high participation zones more prominent.
8) Candle Body and Wick Drawing
The script draws an HTF candle body box and a wick line for context:
float topP = math.max(this.o, this.c)
float botP = math.min(this.o, this.c)
this.bBody := box.new(left=this.st, top=topP, right=this.et, bottom=botP, xloc=xloc.bar_time, bgcolor=color.new(c, 85))
this.lWick := line.new(x1=midTime, y1=this.h, x2=midTime, y2=this.l, xloc=xloc.bar_time, color=color.new(c, 30), width=2)
It also draws start and end boundary lines so the candle window is clearly defined in time.
Indicator

HTF Candle Dynamics [LuxAlgo]The HTF Candle Dynamics indicator provides traders with a comprehensive view of Higher Timeframe (HTF) price action and volume distribution directly on their lower timeframe charts. By projecting the current developing HTF candle and its internal volume characteristics to the right of the price, users can maintain high-level context without switching tabs.
Note: Ensure the chart timeframe is lower than the selected HTF setting for the indicator to function correctly.
🔶 USAGE
This tool is designed to bridge the gap between execution timeframes and higher-level market structures. It is particularly useful for scalpers and day traders who need to stay aware of Daily or Weekly levels while trading on 1-minute or 5-minute charts.
🔹 HTF Candle Projection
Visualizes the current HTF period (e.g., Daily, Weekly) as a dynamic candle on the right side of the chart. It includes projections for the HTF Open, High, Low, and Close levels. These levels often act as significant psychological barriers where price might find support or resistance.
🔹 Intraday Volume Profile
Generates a volume profile specifically for the current HTF period. This allows traders to see where the most volume is being transacted within the developing candle. Identifying "High Volume Nodes" within the current HTF candle can signal where institutional interest is concentrated.
🔹 Dynamic POC Tracking
A polyline tracks the movement of the Point of Control (POC) throughout the HTF period, showing how the most traded price level has shifted over time. If the POC is trending upward alongside price, it confirms a healthy bullish trend; if price moves away from a static POC, it might indicate a potential mean reversion back to that high-volume level.
🔹 How to Use
Traders can utilize this indicator to align their intraday trades with the broader market direction:
Identifying Value : Use the Intraday Volume Profile to spot the Point of Control. If the price is trading above the POC, the market is currently in a premium zone for that HTF. If it is below, it may be considered "discounted" relative to the volume transacted so far.
Breakout Confirmation : When price breaks the High or Low of the projected HTF candle, traders look for volume expansion within the profile to confirm if the breakout has significant participation.
Mean Reversion : The Dynamic POC line acts as a magnet. If price overextends significantly from the POC line, traders often look for signs of exhaustion to play a move back toward the high-volume area.
🔶 DETAILS
The indicator uses security calls to fetch historical HTF data while calculating the current developing period in real-time. A dedicated status table ensures the selected HTF is valid relative to the chart timeframe to prevent calculation errors.
🔹 History Dashboard
The dashboard provides a statistical breakdown of the previous three HTF candles (T-1, T-2, T-3). This is crucial for "Contextual Trading." By seeing the OHLC values and Volume Delta of the previous periods, you can determine if the market is experiencing "Expansion" (increasing volume and candle size) or "Contraction" (decreasing volume and tighter ranges).
🔹 Volume Delta
The Volume Delta shown in the history dashboard is an approximation calculated by summing volume based on the direction of individual intraday candles.
🔶 SETTINGS
HTF Setting : Defines the timeframe for the candle projection and volume profile (default is "D").
Right Offset : Adjusts the horizontal position of the projected candle and labels to avoid overlapping with price.
Visuals : Full control over bullish/bearish colors, POC lines, and projection offsets.
Volume Profile : Toggle the profile visibility and customize the number of rows or the maximum width of the bars.
History Dashboard : Toggle the history dashboard and adjust its position (Top Right, Bottom Right, etc.) or size.
Indicator

Smart Money Liquidation Hunter [No Repaint] - PhenLabs📊Smart Money Liquidation Hunter - PhenLabs
Retail traders place stop losses at “obvious” levels. Smart Money knows this. They deliberately push price through these levels to trigger your stops, collect liquidity, then reverse for the real move. This is called stop hunting or liquidity engineering. While most traders get stopped out and watch the market move without them, professionals are entering where YOU just exited.
OVERVIEW
The Smart Money Liquidation Hunter identifies institutional liquidity grabs by detecting three simultaneous conditions: a sweep of key liquidity pools, an immediate reversal with volume confirmation, and structural alignment with the Higher Timeframe (HTF) trend.
Unlike standard indicators that repaint or lag, this script uses strict non-repainting logic for both signal generation and HTF filtering. It includes a built-in Quality Scoring System (0-100) that evaluates every setup based on sweep depth, volume intensity, and structural confluence (Order Blocks & FVGs).
🔷 MATHEMATICAL FOUNDATION
The script operates on a 4-Layer Detection Algorithm:
Layer 1: Liquidity Mapping (Pools)
Scans the last 50-200 bars for clusters of Equal Highs (Buy-Side Liquidity) or Equal Lows (Sell-Side Liquidity).
Formula: |High - High | ≤ Tick Tolerance (Default: 3 ticks)
Optimization: Nearby zones are automatically merged to prevent chart clutter.
Layer 2: Sweep Detection & Confirmation
Detects when price wicks beyond a pool by a minimum distance but closes back inside within 1-3 bars. This confirms a “Stop Hunt” rather than a breakout.
Volume Validation: Volume ≥ SMA(Volume, 20) × 1.5
Layer 3: Structural Confluence
Before generating a signal, the script checks for:
- HTF Trend: 1H EMA Filter (Non-repainting using confirmed bars).
- Order Blocks (OB): The last opposite-colored candle before the sweep.
- Fair Value Gaps (FVG): Imbalances created during the reversal.
Note: OBs and FVGs are calculated for signal logic even if their visual toggles are off.
Layer 4: Quality Scoring (0-100)
Every signal is assigned a quality score based on:
- Sweep Depth (25 pts)
- Volume Spike (25 pts)
- HTF Trend Alignment (25 pts)
- OB/FVG Confluence (25 pts)
🔶 THE INSTITUTIONAL PLAYBOOK
The indicator visualizes the three phases of a liquidity trap:
Phase 1: The Inducement (Purple Zones)
The script draws dashed purple boxes at swing points where retail stops are resting.
Visual: “BSL” (Buy-Side Liquidity) / “SSL” (Sell-Side Liquidity)
Phase 2: The Trap (⚡ Lightning Bolt)
Price aggressively pushes into the zone to trigger stops. The script marks this with a lightning bolt icon when the candle closes back inside the range, confirming the trap.
Phase 3: The Reversal (Entry Signal)
Once the trap is confirmed and structural requirements are met (HTF trend + OB/FVG retest), a buy or sell signal is generated.
⚙️ SETTINGS GUIDE
This version has been optimized for clean charts (“Decluttered”).
Liquidity Lookback (Default: 50): How far back to scan for swing points. Increase for major levels only.
Max Liquidity Pools (Default: 8): Keeps your chart clean by showing only the strongest, most recent zones.
Min Ticks Between Zones (Default: 10): Merges nearby levels to prevent “zone stacking.”
Compact Labels (True/False):
True: Shows minimal tags like “L 15200 Q:85” (Recommended for 1m timeframe).
False: Shows full details including Entry, SL, TP, and Risk/Reward.
Show Order Blocks (Default: Off): Even when OFF, the script uses OB data to calculate signals. Turn ON if you want to see the specific zones.
📈 TRADING WORKFLOW
Wait for a Purple Liquidity Zone (BSL or SSL) to form.
Monitor for a Sweep (⚡) where price wicks the level and closes back.
Check the Dashboard (Top Right). Ensure HTF Trend matches your direction.
Entry: Wait for the “LONG” or “SHORT” label. This appears when price retests the Order Block or FVG created by the sweep.
Stop Loss: Place just beyond the sweep wick (indicated by the red dotted line or signal tooltip).
Target: Aim for the opposing liquidity pool or 3:1 RR.
⚠️ RISK DISCLAIMER
This indicator identifies high-probability setups based on historical institutional patterns. However, no indicator guarantees future results. Smart money can accumulate positions through multiple sweeps before the true reversal occurs. Always use proper risk management and wait for candle closes.
Does it repaint?
No. All signals are permanent once the bar closes. The HTF filter uses confirmed closed data from the previous Higher Timeframe bar to prevent future-leak/repainting. Indicator

HTF PO3 [LuxAlgo]The HTF PO3 indicator is a professional visualization tool designed to project Higher Timeframe (HTF) Power of 3 (Accumulation, Manipulation, Distribution) price action directly onto your current chart by "grid-locking" HTF candle structures to the price scale.
🔶 USAGE
The indicator is primarily used by SMC (Smart Money Concepts) and Price Action traders to identify the state of a higher timeframe candle without switching charts. By projecting the HTF candle into the right margin, traders can observe the development of the Open, High, Low, and Close (OHLC) in real-time.
🔹 Mapping & Origin Lines
A standout feature of this tool is the direct mapping system. Dashed lines originate from the exact lower timeframe (LTF) bars that established the HTF Open, High, and Low. This allows you to see precisely where the "Manipulation" (wick) and "Accumulation" (body) phases occurred within the HTF cycle.
🔹 Running Volume Delta
Below each projected candle, the indicator displays the "Running Delta." This calculates the cumulative difference between buying and selling volume (based on bar polarity) throughout the HTF period, providing an extra layer of confluence for directional bias.
🔶 DETAILS
The indicator is engineered to be "grid-locked" to the chart's native coordinate system. Unlike standard overlays that might appear to "float," this tool uses absolute price and bar index anchoring.
Vertical Synchronization : The HTF candle wicks and bodies are tied to the Y-axis. If you stretch or compress the price scale, the projected candle scales perfectly in sync with your chart.
Horizontal Anchoring : Mapping lines are pinned to the specific bar_index where levels were created, ensuring they stay "glued" to the correct candles even when scrolling or zooming.
Projection Logic : The tool projects the current forming candle and a customizable number of previous candles into the future space (right offset), keeping your main workspace clean.
🔶 SETTINGS
🔹 Higher Timeframe Settings
HTF Timeframe : Sets the timeframe for the projected candles (e.g., 60m, 4H, Daily).
Candles to Show : Determines how many historical HTF candles are projected alongside the live one.
Right Offset (Bars) : Controls how far into the right margin the projection is drawn.
🔹 Visual Style
Bullish/Bearish Color : Customizes the colors for the HTF candle bodies and wicks.
Live Body Transparency : Adjusts the opacity of the current developing candle.
Show Price Labels : Toggles the visibility of the OHLC price tags next to the live projection.
Show Running Delta : Toggles the cumulative volume delta display below the candles.
Indicator

Indicator

HTF Candle Projections [LuxAlgo]The HTF Candle Projections indicator projects recent and current higher timeframe candles onto the right side of the chart, providing a clear visualization of macro trends and internal candle composition.
🔶 USAGE
The tool is designed to bridge the gap between lower timeframe execution and higher timeframe context. By projecting HTF candles into the future space (right of the current bar), traders can maintain a clear perspective on the larger trend without constantly switching tabs.
🔹 HTF Trend Alignment
Traders can use the projected candles to ensure their lower timeframe (LTF) entries align with the broader market direction. For instance, a scalp trader might only look for long setups if the current projected Daily candle is bullish. This "Top-Down" filter helps traders avoid "fighting the trend" by providing a constant visual reminder of the HTF candle's polarity and momentum.
🔹 Anticipating Reversals & Level Origins
The indicator includes connection lines that trace back from the projected HTF wicks to the exact LTF bars that established the High and Low of that period. This allows traders to pinpoint the specific price action or "order block" responsible for the HTF extrema. If price returns to the origin of an HTF wick, traders can watch for a reaction, as these levels often represent areas of significant supply or demand.
🔹 Internal Sentiment Divergence
A unique feature of this script is the "Internal Sentiment Bars." These small bars inside the HTF candle body show the ratio of bullish vs. bearish LTF bars that make up that specific HTF candle.
If a bullish HTF candle has a high bearish sentiment bar, it suggests a "weak" or "grinding" trend where sellers are actively fighting the move, potentially signaling exhaustion.
Conversely, if the sentiment bars align strongly with the HTF candle direction (e.g., a bullish candle with almost entirely bullish sentiment), it indicates a high-conviction "power move" with little resistance.
🔹 Range Play & Breakouts
The indicator highlights the absolute highest high and lowest low of the entire projected sequence with solid connection lines. These lines define the current HTF trading range. Traders can use these boundaries to identify mean reversion opportunities within the range or to prepare for high-probability breakout trades once price moves beyond these absolute levels.
🔹 Visualizing Wick Development
By observing the live development of the current HTF candle, traders can see "wicking" behavior as it happens. If the current price is far from the HTF high but the connection line remains anchored there, it visually confirms a rejection from that level. This real-time feedback is crucial for identifying if an HTF candle is closing as a "Pin Bar" or "Shooting Star" before the timeframe actually expires.
🔶 DETAILS
The script uses a custom data structure to track the Open, High, Low, and Close of the selected timeframe. It also tracks the specific bar index of the highs and lows to draw the connection lines accurately. The absolute high and low of the entire projected sequence are highlighted with solid lines to identify the "Range High" and "Range Low" of the projected window.
🔶 SETTINGS
HTF Timeframe: Sets the higher timeframe to be projected (e.g., Daily, Weekly, Monthly).
Candle Width (Bars): Determines how many bars wide each projected candle appears on the right side of the chart.
Gap Between Candles: Sets the horizontal spacing between the projected HTF candles.
Number of HTF Candles: The total number of candles to project (previous completed candles + current live candle).
Show Internal Sentiment Bars: Toggles the visibility of the internal bull/bear composition bars.
🔹 Colors
HTF Bull/Bear Body: Adjusts the colors and transparency of the main projected candle bodies.
Sentiment Bull/Bear: Sets the color for the internal composition bars (ratio of LTF closes).
Wick Color: Customizes the color of the projected candle wicks.
Connection Line: Sets the color for the dotted lines connecting HTF wicks to their LTF origins.
Absolute High/Low Connection: Sets the color for the solid lines marking the highest and lowest points of the projected set.
Indicator

PowerGaps - Multi-Timeframe Fair Value GapsPowerGaps — Multi‑Timeframe Fair Value Gap Engine
PowerGaps is a precision‑built, multi‑timeframe Fair Value Gap (FVG) engine designed for traders who rely on clean, reliable market structure signals without noise, repainting, or clutter.
It automatically detects and plots institutional FVGs from higher timeframes directly onto your current chart, giving you a clear view of premium/discount imbalances and liquidity inefficiencies that matter most.
What PowerGaps Does
• Scans four customizable timeframes (e.g., M5, M15, H1, H4) for valid bullish and bearish FVGs
• Projects those HTF gaps onto any lower timeframe chart
• Colors and labels each gap by timeframe for instant visual recognition
• Tracks each gap until it is mitigated by wick touch, then automatically closes and removes it
• Ensures no repainting, no duplicates, and no phantom gaps
• Maintains perfect alignment across timeframes using a robust, cross‑TF‑safe architecture
Why It’s Different
PowerGaps is engineered with a strict validation and mitigation system that prevents the common issues seen in many FVG indicators:
• No repeated stacking of the same gap
• No gaps disappearing when switching timeframes
• No false mitigation signals
• No stale or corrupted objects left behind
Every plotted gap is intentional, accurate, and actionable.
Ideal For
• ICT‑style traders
• Liquidity and imbalance‑based strategies
• HTF bias mapping
• Scalpers who rely on HTF inefficiencies
• Swing traders looking for clean continuation or reversal zones
Inputs & Customization
• Enable/disable each timeframe independently
• Choose custom colors for bullish and bearish gaps
• Full control over which timeframes you want projected onto your chart Indicator

Indicator

Custom Dividers [louis]Custom Dividers is a streamlined utility designed for Multi-Timeframe Analysis (MTF). It allows you to visualize higher timeframe structures directly on lower timeframe charts by drawing infinite vertical lines at the open of new periods.
Unlike standard grid lines and other divider indicators, this has custom inputs, giving you complete control over non-standard timeframes (e.g., 90-minute cycles, 6-hour blocks, or 2-day periods).
🔑 Key Features
- 4 Independent Timeframe Slots: Configure up to four different vertical dividers simultaneously.
- Custom Minute Inputs (TF 1 & TF 2): Instead of restricting you to a dropdown, the first two slots allow you to input any integer for minutes.
Example: Set 90 for 90-minute cycle dividers.
Example: Set 360 for 6-hour dividers.
- Standard Timeframe Selectors (TF 3 & TF 4): Traditional dropdowns for standard periods like Daily (D), Weekly (W), or Monthly (M).
- Visual Customization:
Lines: Uses line.new() drawing logic to ensure dividers stretch infinitely from top to bottom, regardless of price scale.
Styles: Select from Solid, Dashed, or Dotted directly in the inputs.
Width & Color: Fully customizable to blend into your chart theme.
⚙️ How to Configure
Go to the Settings (Inputs Tab):
TF 1 & TF 2: Enter the specific number of minutes (e.g., 60 = 1 Hour, 240 = 4 Hours). Toggle the checkbox to Show/Hide.
TF 3 & TF 4: Select the timeframe period from the dropdown. Toggle the checkbox to Show/Hide.
Style: Choose your line style, color, and width.
Note: Since this indicator uses geometric drawings (line.new) to achieve full-height vertical lines, all visual settings (Color, Width, Style) are located in the Inputs Tab, not the Style tab. Indicator

Indicator

Monte Carlo Simulation BandsMonte Carlo Simulation v2.4.2
Plots a one-bar-ahead price distribution band built from many simulated paths. The green band shows empirical percentiles of simulated final prices—these are distribution bounds, not a confidence interval of the mean.
What It Does
Simulates many one-bar price paths using a directional random walk with volatility scaling (uniform shocks, not Gaussian GBM).
Plots Mean Forecast, Median Forecast, and configurable percentile bounds (default 5th/95th).
Optional rolling HTF-days mean line (yellow) for trend context.
Optional labels and forward projection lines.
Alerts when the confirmed close breaks above or below the percentile band.
Non-Repainting & HTF Behavior (Fail-Closed)
All calculations are gated to confirmed bars only via explicit no_repaint_ok gate (barstate.isconfirmed).
If you select an HTF Resolution, the script uses a strict request.security(..., lookahead_off, gaps_off) pipeline.
If HTF data is unavailable, outputs are na—no silent fallback to chart timeframe.
A separate "HTF Alignment (lagged)" plot shows the prior HTF close (htf_price ) as visual proof of no look-ahead.
Volatility Source & Scaling
If "Use Historical Volatility" is enabled, volatility is estimated from log returns on the selected resolution (HTF if set, otherwise chart).
Annualization adapts to session type:
Equities: 6.5 hours/day, 252 trading days/year
Crypto: 24 hours/day, 365 days/year
Substeps increase path smoothness within the same one-bar horizon—they do not extend the forecast to multiple bars.
Key Inputs
• Prob Up / Prob Down — Must satisfy Prob Up + Prob Down ≤ 1.0. If violated, simulation is skipped and table shows "✗ PROB>1".
• # Simulations / # Substeps — Higher = smoother/more stable, but slower. Default 100×100 is a good balance.
• Lower/Upper Percentile — Define the band width (e.g., 5 and 95 for a 90% distribution band).
• Run On Last Bar Only — Performance mode (recommended). Skips historical computation; updates on each new confirmed bar.
• Resolution (HTF) — Leave blank for chart timeframe, or set to Weekly/Monthly for HTF-aligned simulation.
• Crypto 24/7 Session? — Enable for crypto markets to use correct annualization (365d, 24h).
How to Use (Quickstart)
Start with defaults and keep Run On Last Bar Only = true for speed.
Set Prob Up and Prob Down so their sum ≤ 1.0 (e.g., 0.5 + 0.5 = 1.0 for neutral).
Enable "Use Historical Volatility" and set a Volatility Lookback (e.g., 20 bars) for data-driven vol.
Set Resolution (HTF) if you want the model to run on higher timeframe data (e.g., 1W). Expect updates only when a new HTF interval starts.
Choose percentiles (e.g., 5 and 95) to define your distribution band width.
Enable alerts for "Price Above Upper Percentile" or "Price Below Lower Percentile" to get notified of breakouts.
Limitations & Disclosures
Forecast horizon is one bar only. Substeps do not create a multi-bar forecast.
Model uses uniform shocks with direction chosen from Prob Up/Down. This is not Geometric Brownian Motion (GBM) and is not calibrated to any option-implied distribution.
Bounds are percentiles of final simulated prices, not a statistical confidence interval of the mean.
HTF mode updates at the start of a new HTF interval (first chart bar where the HTF timestamp changes), so the band appears "step-like" in realtime.
Historical volatility requires enough bars for the selected lookback; until then, values may be na.
Performance depends on Sims × Substeps; extreme settings (e.g., 500×500) can be slow.
This indicator does not predict direction—it shows a probabilistic range based on your inputs.
Indicator

[LJ] HTF Candles with Volume POC [Highly Optimized]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 PulseWire'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
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Indicator

Indicator
