Structure Probability Blocks [JOAT]Structure Probability Blocks
Introduction
Structure Probability Blocks is an open-source market structure and quality-zone overlay. It detects confirmed structure breaks, searches for the most relevant opposing candle, scores the resulting block, and highlights the strongest active block without filling the chart with redundant zones.
The problem it solves is order block clutter. Many zone tools draw every candidate equally. Structure Probability Blocks filters for impulse, candle quality, relative volume, recency, and overlap so the displayed blocks have cleaner context. The enhanced chart layer also projects BOS/CHoCH break rails, impulse guide lines, and compact score labels directly beside the structure event.
Core Concepts
1. Confirmed Pivot Tracking
Swing highs and lows are confirmed using symmetric pivots. Because pivots require bars on both sides, this is intentionally delayed and non-repainting.
2. Break Qualification
A structure break requires price to close through the tracked pivot and meet a minimum ATR-based impulse requirement.
3. Seed Candle Search
After a break, the script searches backward for the best opposing candle candidate. The score considers body quality, wick behavior, volume rank, and recency.
4. Strongest Active Block Highlight
Among active blocks, the highest-scored block receives stronger border and midline treatment. Weaker overlapping blocks can be removed when the overlap guard is enabled.
5. Break Rails and Impulse Guides
When a qualified BOS or CHoCH forms, the indicator can draw a dashed horizontal break rail from the pivot level to the right edge and a dotted impulse guide from the selected seed candle to the break close. The on-chart tag includes score, zone range, drive, RVOL, and break price.
6. Strongest Block Ribbon
The highest-scored active block is also projected as a subtle ribbon using plot/fill logic. This gives a clean strongest-zone read even when several historical boxes remain visible.
Features
Confirmed structure breaks: Breaks require closed-bar confirmation
Quality-scored blocks: Scores combine impulse, candle structure, relative volume, and recency
BOS/CHoCH context: Block labels identify continuation or character-shift context
BOS/CHoCH break rails: Dashed projected levels mark the exact pivot level that price broke
Impulse guide lines: Dotted guides connect the seed candle to the break close
Expanded score tags: Labels show score, zone range, drive, RVOL, and break level
Prime block highlight: Highest active score receives stronger visual emphasis
Strongest block ribbon: Highest active zone is projected as a lightweight filled band
Overlap guard: Keeps the stronger of overlapping active blocks
Prime candle tint: Candles can be softly colored by the strongest active structure bias
Broken block handling: Keep, fade, extend, or remove resolved blocks
Top-right dashboard: Active count, bull/bear count, best score, break state, last pulse, volume rank, and break mode
Alerts: New bullish and bearish quality block events
Input Parameters
Structure:
Pivot Length: Swing confirmation sensitivity
Search Span: Bars searched for a seed candle
Break Impulse: Minimum ATR expansion required for a break
Volume Span: Lookback used for volume rank
Min Score: Minimum block quality score required
How to Use This Indicator
Step 1: Use the dashboard to identify current bull/bear structural bias.
Step 2: Focus on the strongest highlighted active block first.
Step 3: Use the dashed BOS/CHoCH rail as the exact structural break reference.
Step 4: Treat broken/faded blocks as resolved context rather than fresh opportunities.
Step 5: Combine with a regime or pressure tool before making directional decisions.
Indicator Limitations
Pivot confirmation is delayed by the pivot length, which is intentional non-repainting behavior
A high block score does not imply a guaranteed reaction
Volume rank can be less useful on instruments with unreliable volume
The script identifies structural context, not complete risk-defined trades
Originality Statement
Structure Probability Blocks is original in its quality-scored seed selection, impulse qualification, overlap prioritization, prime block highlighting, and compact structural dashboard. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice. Structural zones can fail, and traders should always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
مؤشر

مؤشر

Kivra Liquidity Nodes [JOAT]Kivra Liquidity Nodes
Introduction
Kivra Liquidity Nodes is an open-source right-edge volume profile that finds high-participation price areas inside a configurable lookback window. It distributes each bar's volume across price rows, smooths the result, highlights the point of control, and labels local liquidity nodes.
The problem it solves is volume context. A raw profile can show where trading occurred, but it often becomes visually heavy. Kivra Liquidity Nodes keeps the profile compact, separates bullish and bearish participation estimates, and prioritizes POC, value area, and node labels. The profile is offset to the right of price, while the lookback range and value area remain visible on the active chart so the levels have context.
Core Concepts
1. Price-Overlap Volume Allocation
Each bar contributes volume to every row it overlaps. This makes the profile more representative than assigning all volume to a single close price.
2. Participation Split
The script estimates bullish and bearish participation from candle direction and close location inside the bar range. This is a proxy designed for visual context, not bid/ask delta.
3. Smoothed Node Detection
Profile rows are smoothed with neighboring rows. Local peaks above an average-volume threshold become liquidity nodes.
4. Value Area Expansion
The value area expands from the POC until the selected portion of total profile volume is covered.
5. Context Bands and Candle Tinting
The script shades the full lookback range, marks the value area across the live price region, draws node bands across the profiled window, prints VAH/VAL and POC labels far to the right of the profile to avoid overlap, and can tint candles using a pressure blend from trend location and candle direction.
Features
Right-edge profile: Clean horizontal profile projected to the right of the chart
POC line and label: Dashed level marking the highest-volume row
POC line and label: Dashed level marking the highest-volume row with price and row volume
VAH and VAL labels: Right-edge value-area high and low labels with dotted guide lines
Value area boxes: Shaded profile zone plus live-chart value band across the lookback
Lookback range box: Subtle range boundary around the profiled window
Bull/bear split bars: Row coloring estimates directional participation
Node labels: Local high-volume nodes with participation share and volume
Node bands: High-participation node rows project back across the profiled price window
Offset label rail: POC, VAH/VAL, and node labels are projected beyond the histogram so they do not sit on top of the profile
Pressure candle tint: Candles can be softly colored from bearish red to bullish green using trend location and candle direction
No-volume fallback: Uses range proxy when reliable volume is not available
Top-right dashboard: POC, node count, value area width, bias, range, and source
Input Parameters
Calculation:
Lookback Bars: Historical bars used for the profile
Profile Rows: Vertical resolution of the profile
Profile Width: Maximum right-edge width
Profile Offset: Distance from current bar to the profile
Value Area Portion: Portion of total profile volume included in value area
Node Threshold: Required row strength for node detection
Node Merge Gap: Distance allowed between merged node peaks
Max Node Labels: Maximum labels drawn for detected nodes
How to Use This Indicator
Step 1: Use the POC as the dominant participation level in the current lookback.
Step 2: Use the value area to understand where volume is concentrated.
Step 3: Watch VAH and VAL as acceptance/rejection boundaries.
Step 4: Watch labeled nodes as potential reaction or acceptance zones.
Step 5: Read the dashboard bias and candle tint as context, not as standalone entry signals.
Indicator Limitations
Bull/bear participation is an estimate based on candle structure, not exchange bid/ask data
The profile is recalculated on the latest bar and depends on the selected lookback
High node count can add visual density on small screens
Volume data quality varies by market and symbol
Originality Statement
Kivra Liquidity Nodes is original in its compact right-edge implementation combining overlap-based volume allocation, smoothed node detection, value area expansion, participation split visualization, and no-volume fallback logic. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice. Volume nodes identify historical participation zones and do not guarantee future reactions.
-Made with passion by jackofalltrades
مؤشر

Bitcoin Cycle Fibonacci Time Projections | Astral Vision Bitcoin Cycle Fibonacci Time Projections | Astral Vision 🌠💠
This indicator projects key Bitcoin cycle inflection points forward in time by applying Fibonacci ratios to the duration of each historical market cycle, using the time elapsed from cycle low to cycle top as the base measurement unit. The underlying premise is that market cycles do not repeat at fixed calendar intervals but rather at proportional time distances derived from the same mathematical ratios that govern price retracements and extensions, applied to the time axis instead of the price axis.
Calculation ⚙️
For each cycle, the user defines two anchor dates: the cycle low and the cycle top. The indicator computes the time difference in milliseconds between these two dates, call it D. This duration D becomes the base unit for all subsequent projections.
A set of 22 Fibonacci time ratios is applied to D, each multiplied by D and added to the cycle low date to produce a future timestamp. The ratios used are: 0, 0.236, 0.382, 0.618, 0.786, 1.0, 1.236, 1.382, 1.618, 1.786, 2.0, 2.236, 2.382, 2.618, 2.786, 3.0, 3.236, 3.382, 3.618, 3.786, 4.0, 4.236. Each ratio T_n produces a projected date equal to: cycle low date + (T_n × D).
From this full set of projections, five specific time levels are selected and displayed as the analytically relevant inflection zones, based on historical observation of where Bitcoin cycles have tended to find significant turning points relative to their own low-to-top duration. These are: T7 (ratio 1.618 from the low), marked as a projected secondary low; T11-T12 (ratios 2.382 to 2.618), displayed as a zone representing the projected secondary top; T13-T14 (ratios 2.786 to 3.0), displayed as a zone representing a projected second low; T18 (ratio 3.786), marked as a projected third top; and T20 (ratio 4.236), marked as a projected third low.
Zones between two consecutive ratios are rendered as a highlighted region with dashed boundary lines and a solid centerline, visually representing a window of time rather than a precise date. Single projections are rendered as solid vertical lines.
An optional Gold Zone mode overlays a highlighted box starting from each cycle top and extending forward by a configurable number of days, marking the historically observed period during which gold has tended to outperform Bitcoin following a BTC cycle top, with entry and exit labels at either end of the zone.
The indicator supports three independent cycles simultaneously, each with its own configurable low date, top date, and color. All drawing is executed only on the last bar to avoid per-bar recalculation overhead.
Plots 📊
Anchor labels at cycle low and cycle top with date and price information
Solid vertical lines at single Fibonacci time projections (T7, T18, T20)
Highlighted zones with dashed boundary lines and solid centerline at Fibonacci time windows (T11-T12, T13-T14)
Gold Zone highlighted box from cycle top forward by a configurable number of days, with entry and exit labels (Gold Zone mode)
All elements independently togglable per cycle
Inputs 🎛️
Show Cycle 1, 2, 3: toggle each cycle independently
Low Date and Top Date: anchor dates for each cycle in YYYY-MM-DD format
Cycle Color: independent color per cycle
Show Gold Zones Only: switch to Gold Zone mode, hiding Fibonacci lines and showing only the post-top gold window
Gold Zone Duration: number of days the gold zone box extends from each cycle top
Colors 🎨
Each cycle uses a fully configurable color input. Default colors: aqua for Cycle 1, blue for Cycle 2, purple for Cycle 3.
Purpose 🎯
Standard Fibonacci tools on TradingView apply ratios to price levels on the vertical axis. This indicator applies the same mathematical framework to the horizontal time axis, treating cycle duration as the measurement unit instead of price range. The result is a set of time projections that are self-referential to each cycle's own internal structure rather than imposed from external calendar periods. Supporting three independent cycles simultaneously allows direct comparison of whether the current cycle is tracking ahead of, behind, or in line with the timing patterns established in previous cycles, which is not possible with single-cycle Fibonacci time tools.
Disclaimer ⭕️
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions. مؤشر

Gann Semicircles Time Projections | Astral Vision Gann Semicircles Time Projections | Astral Vision 🌠💠
This indicator projects Bitcoin's market cycle structure forward in time using a geometric framework based on W.D. Gann's semicircle theory, which treats time as the primary axis of market analysis. The core premise is that significant market cycles repeat in proportional time intervals, and that within each cycle the key inflection points (the parabolic acceleration phase, the cycle top, and the cycle bottom) occur at geometrically predictable subdivisions of the total cycle duration.
Calculation ⚙️
The model is anchored to two historically significant Bitcoin cycle bottoms: January 14, 2015 and December 16, 2018. The distance in bars between these two anchors defines the base cycle length R. This cycle is then projected forward three times from the second anchor, producing four complete cycles in total: one historical (2015 to 2018), and three projected forward from 2018 onward.
Within each cycle of length R, the indicator draws a hierarchy of semicircles at three levels of subdivision. The first level draws a single large semicircle spanning the full cycle length R with a peak height of 1.0. The second level splits the cycle at the midpoint R/2 and draws two semicircles each with half the peak height, marking the parabolic acceleration zone at the cycle midpoint. The third level splits each half further into quarters R/4 and draws four smaller semicircles each with one quarter of the peak height, marking the early and late phases of each sub-cycle.
Each semicircle is constructed by computing 101 points distributed along a sine curve. For each point at position i from 0 to 100, the horizontal fraction along the cycle is computed as (1 - cos(π × i/100)) / 2, which produces a smooth non-linear distribution that accelerates toward the center and decelerates at the edges. The vertical coordinate at each point is sin(π × i/100) multiplied by the peak height. This produces a true geometric semicircle in the time-price space of the sub-panel.
The key time projections within each cycle are: the cycle top, placed at the three-quarter mark of the cycle (R × 3/4 from the cycle start), the parabolic move marker at the midpoint (R/2), and the cycle bottom at the end of the cycle (R). Each projection is labeled directly on the price chart at the high of the nearest historical bar, or at the last available high for future projections.
Each semicircle is rendered with three layered polylines at decreasing transparency and increasing line width to create a glow effect.
Plots 📊
Full-cycle semicircle spanning each complete cycle period, colored with the positive theme color
Two half-cycle semicircles at R/2 subdivision, colored with the negative theme color
Four quarter-cycle semicircles at R/4 subdivision, colored with the positive theme color
All semicircles rendered with a three-layer glow effect
Labels on the price chart marking Cycle Top, Parabolic Move, and Cycle Bottom at each key time projection
Inputs 🎛️
No period or length inputs: the cycle structure is fully derived from the two fixed historical anchors
Colors 🎨
5 Astral Vision presets + custom override. Default: Hermes.
Purpose 🎯
Standard cycle indicators use fixed bar counts or calendar-based periodicity, which do not adapt to the proportional structure of each individual cycle. This indicator derives its forward projections entirely from the geometry of the two anchor points, meaning the projected cycle length is empirically grounded in Bitcoin's own historical behavior rather than imposed from outside. The three-level semicircle hierarchy provides a visual map of the entire cycle structure simultaneously, making it possible to identify not just when a top or bottom might occur but also the parabolic acceleration zone that precedes it, which is absent from linear cycle tools.
Disclaimer ⭕️
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions. مؤشر

Bitcoin Power Law Corridor | Astral Vision Bitcoin Power Law Corridor | Astral Vision 🌠💠
This indicator plots a mathematically derived price corridor based on the power law relationship between Bitcoin's price and the number of days since its genesis. The power law is a well-documented empirical observation in Bitcoin's price history: when both price and time are plotted on logarithmic scales, the relationship between the two approximates a straight line, meaning price grows as a power function of time rather than linearly or exponentially. This produces a structural corridor that expands over time at a decelerating rate, capturing Bitcoin's long-term appreciation while reflecting its diminishing growth rate across cycles.
Calculation ⚙️
The foundation of the model is the number of days elapsed since July 19, 2010, Bitcoin's reference origin for this model, with a fixed offset of 564 days added to calibrate the day count to the genesis block. Call this value D.
The general form of each line in the corridor is a power law equation expressed in log-log space: the base-10 logarithm of price equals a constant term A plus a slope coefficient B multiplied by the base-10 logarithm of D. In standard notation: log10(price) = A + B × log10(D), which is equivalent to price = 10^(A + B × log10(D)).
The four lines use the following coefficients, each fitted independently to different aspects of Bitcoin's historical price distribution:
Centre line: A = -16.982, B = 5.834. This is the central regression fit through the full price history, representing the median fair value implied by the power law.
Resistance line: A = -13.366, B = 5.029. Fitted to the historical cycle top regions, this line represents the upper boundary of the corridor where Bitcoin has historically found significant selling pressure.
Robust Fit line: A = -17.155, B = 5.799. An alternative regression fit using a method more resistant to outliers, providing a reference closer to the lower half of the price distribution.
Support line: A = -17.432, B = 5.834. Fitted to the historical cycle bottom regions, using the same slope as the centre line but a lower intercept, representing the floor of the corridor where Bitcoin has historically found strong buying interest.
The fill between the Robust Fit and Support lines visually marks the lower corridor zone that has historically corresponded to macro accumulation opportunities.
Because the model is built on day count rather than bar count, the indicator fetches the daily bar index from the reference date using a separate security call, making it produce consistent output regardless of which chart timeframe is active.
Plots 📊
Centre line: central power law regression through full price history
Resistance line: upper corridor boundary fitted to historical cycle tops
Robust Fit line: alternative lower regression using outlier-resistant fitting
Support line: lower corridor boundary fitted to historical cycle bottoms
Fill between Robust Fit and Support: lower accumulation zone (toggleable)
Inputs 🎛️
Plot Line Fill: toggle the fill between Robust Fit and Support lines
Colors 🎨
5 Astral Vision presets + custom override. Default: Infinito.
Purpose 🎯
Standard moving averages and trend channels are anchored to recent price action and reset with each new cycle. The power law corridor is anchored to time itself, meaning its positioning is determined entirely by how old Bitcoin is rather than by recent price behavior. This makes it one of the few tools capable of placing any price level in the context of Bitcoin's full historical trajectory: a price that appears high relative to recent months may still be near the bottom of the long-term corridor, or vice versa. The four-line structure further provides distinct reference levels for fair value, upper resistance, and lower support within a single unified framework.
Disclaimer ⭕️
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions. مؤشر

Bitcoin Time Based Adaptive MA | Astral Vision Bitcoin Time Based Adaptive MA | Astral Vision 🌠💠
Work inspired by @moneyordebt.
This indicator computes a weighted moving average on Bitcoin's low price in log space, using a lookback period that automatically expands as Bitcoin matures over time. The core principle is that Bitcoin's market cycles lengthen with each passing halving epoch: the relevant trend window for a 2-year-old asset is structurally shorter than the appropriate window for a 10-year-old asset with deep institutional participation. A fixed MA length either overreacts to noise in early history or becomes too slow in recent years.
Calculation ⚙️
The first step is computing how many years have elapsed since July 1, 2010, the reference origin of Bitcoin's tradeable price history. This elapsed time drives a piecewise linear schedule that determines the appropriate lookback in weeks:
From 0 to 2 years elapsed: the lookback is fixed at 25 weeks. From 2 to 4 years: it scales linearly from 25 to 50 weeks. From 4 to 8 years: it scales linearly from 50 to 100 weeks. From 8 to 16 years: it scales linearly from 100 to 200 weeks. Beyond 16 years: the lookback is capped at 200 weeks.
This schedule approximates Bitcoin's empirically observed cycle elongation across halving epochs without requiring any manual input. The resulting week count is then converted into bars by dividing by the number of seconds per bar and multiplying by the number of seconds per week, making the indicator fully timeframe-agnostic: it produces the correct lookback on daily, weekly, or any other chart resolution automatically.
The MA itself is computed as a weighted moving average (WMA, which weights recent bars more heavily than older ones) applied to the natural logarithm of the low price rather than to raw price. Working in log space is critical for an asset like Bitcoin that has moved across six orders of magnitude: in log space, a move from $100 to $200 and a move from $30,000 to $60,000 are treated as equivalent proportional moves, which is the correct treatment for long-term structural analysis. Once the WMA is computed in log space, the result is exponentiated back to price scale using the natural exponential function.
A scaling factor of 0.65 is then applied to the exponentiated result, positioning the base line near the historical cycle lows of each major Bitcoin correction. A second line is derived by multiplying the base line by 7.5, which approximates the historically observed ratio between Bitcoin's macro support level and its cycle top extremes.
Plots 📊
Base adaptive MA: log-space WMA of lows scaled to historical cycle low support, with layered glow effect
Top reference line: base MA multiplied by 7.5, approximating historical cycle top territory, with glow effect
Background color when price closes below the base MA: potential macro support zone
Background color when price closes above the top reference line: potential macro distribution zone
Inputs 🎛️
No length or period inputs: the adaptive schedule is fully automatic and time-driven
Colors 🎨
5 Astral Vision presets + custom override. Default: Futura.
Purpose 🎯
Standard moving averages use a fixed length that the user must manually adjust as market conditions evolve. This indicator automates that adaptation based on a time schedule calibrated to Bitcoin's historical cycle structure, removing parameter tuning entirely. The dual-line structure with a support base and a top reference provides a complete macro range framework within a single indicator, functional across Bitcoin's entire available price history from 2010 to present.
Disclaimer ⭕️
This indicator is for informational and educational purposes only. It does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making investment decisions. مؤشر

HTF Highs & Lows + SessionsHTF Highs & Lows + Sessions
This indicator plots two categories of information on your chart: higher timeframe swing levels and session highs/lows.
HTF Swing Levels
Scans 1H, 4H, and 1D candles for a specific two-bar reversal pattern — a bullish candle followed by a bearish candle (for swing highs) or a bearish candle followed by a bullish candle (for swing lows). When that pattern is found, it marks the extreme of those two candles as a significant price level. It then checks if that level has already been taken out by a subsequent candle — if it has, the level is ignored. If it hasn't, it draws a horizontal ray extending to the right from that price. Each timeframe has its own color (light red for 1H, bright red for 4H, dark red for 1D) so you can quickly identify which timeframe a level belongs to.
If price takes out one of these levels during the sweep window (8am–12pm ET), the ray converts to a dotted line and stops extending, marking it as swept rather than deleting it entirely.
Session Highs & Lows
Tracks the high and low of four sessions in real time — New York (9:30–5pm ET), London (3–8am ET), Asia (6pm–3am ET), and Pre Market (8–9:30am ET). Each session gets a live horizontal line at its current high and low that updates as price moves. When price breaks a session level outside the sweep window the line is deleted. When price breaks it inside the sweep window (8am–12pm ET) it converts to a dotted line instead, preserving the swept level visually. Session lines only display on intraday timeframes and are hidden on the daily and above.
Intended Use
Designed for traders who use higher timeframe liquidity levels as context for intraday entries — particularly identifying which HTF swing points have been swept during the early New York session window, which is a core concept in smart money / ICT-based trading frameworks. مؤشر

Delta Imbalance Map [JOAT]Delta Imbalance Map
Introduction
Delta Imbalance Map is an open-source imbalance mapping tool that identifies fair value gaps and scores them using gap size, candle drive, volume rank, and lower-timeframe participation tilt. The goal is to show not only where an imbalance exists, but whether the participation behind it is meaningfully tilted.
The problem this indicator solves is noisy zone plotting. Many imbalance tools mark every three-bar gap with equal importance. Delta Imbalance Map uses permissive defaults so important gaps appear often, then manages overlap so newer or stronger zones replace stale overlapping zones. Each active zone can carry its own compact right-edge data tag with price range, score, participation lead, and gap size in ATR units.
Core Concepts
1. Three-Bar Imbalance Detection
The script detects bullish gaps when the current low is above the high two bars back, and bearish gaps when the current high is below the low two bars back.
bullGap = low > high
bearGap = high < low
2. Lower-Timeframe Participation Split
The script requests lower-timeframe volume, close, and open arrays. Intrabars closing up are counted as buyer participation, intrabars closing down are counted as seller participation, and flat intrabars are split.
3. Composite Zone Score
Each new zone receives a quality score from gap size relative to ATR, lower-timeframe tilt, candle body drive, and volume rank. Optional minimum tilt and volume-rank inputs can tighten the feed when a chart becomes too busy.
4. Overlap Management
If a new zone overlaps an existing zone, filled overlaps are cleared and active overlaps are resolved by score. This keeps a generous stream of zones without stacking many boxes at the same price.
5. Zone Rails and Data Tags
Each imbalance draws a subtle outer glow box, direction-colored gradient edge, green buy-participation section, red sell-participation section, dashed top and bottom price rails, a dotted internal participation split line, and compact labels beside the related zone. Visible labels are capped and staggered to avoid covering the chart.
Features
ATR-filtered imbalance detection: Removes tiny gaps below the selected size threshold
Lower-timeframe delta proxy: Uses intrabar candle direction to estimate buyer/seller participation
Split-zone coloring: Zones are divided into bullish and bearish participation areas
Gradient glow boxes: Outer zone shell shifts from cyan/violet into bull/bear edge colors based on score
Price rail system: Top, bottom, and internal split lines extend to the right edge
Compact capped tags: Active and filled tags are limited and staggered to reduce label overlap
Quality score tags: Each active zone can show price range, score, participation lead, and ATR gap size
Mitigation modes: Touch or full-fill logic
Overlap guard: Keeps the stronger of overlapping zones
Color-faded filled zones: Filled zones remain visible by default with compact zone labels
Candle tilt tinting: Candles can be softly tinted by the active imbalance tilt
Birth-bar mitigation guard: New zones cannot be marked filled on the same candle they are created
Top-right dashboard: Active count, filled count, bull/bear count, average score, tilt, lower timeframe, state, and fill mode
Alerts: New bullish and bearish imbalance creation events
Input Parameters
Detection:
Delta Lower TF: Lower timeframe used for participation split
Min Gap ATR: Minimum gap size relative to ATR
Min Delta Tilt: Minimum buyer/seller skew needed to accept a zone
Min Volume Rank: Minimum volume percentile required for plotting a new zone
Mitigation: Touch or Full Fill
Prefer Stronger Overlap: Removes weaker overlapping zones
Zone Life Bars: Maximum active lifetime for unfilled zones
How to Use This Indicator
Step 1: Look for active zones that remain unfilled.
Step 2: Read the tag score and buyer/seller tilt.
Step 3: Use the top and bottom rails as the exact price boundaries of the imbalance.
Step 4: Use the dashboard state to see if active zones lean buyer-led, seller-led, or balanced.
Step 5: Treat mitigated zones as resolved context rather than fresh trade signals.
Indicator Limitations
Lower-timeframe participation is a candle-direction volume proxy, not true bid/ask delta
Some lower timeframes may not be available on every TradingView plan or symbol
Fair value gaps can remain open for long periods or fail to react when revisited
Signals and zones are created on confirmed bars to reduce repaint risk
Originality Statement
Delta Imbalance Map is original in its combination of ATR filtering, lower-timeframe participation tilt, composite scoring, overlap prioritization, mitigation lifecycle, and dashboard summarization. It does not copy third-party source code.
Disclaimer
This open-source indicator is for educational and informational use only. It is not financial advice and does not predict that an imbalance will fill or reverse price. Always use proper risk management.
-Made with passion by jackofalltrades
مؤشر

Daily Institutional Flow + Gamma Setup BoardInstitutional Flow + Gamma Setup Board
This indicator is a daily institutional setup board designed to convert options flow, gamma exposure levels, technical structure, and market confirmation into a clean execution map for the next trading session.
The script is not a generic buy/sell indicator. It is a structured execution framework built from pre-market or prior-session research. Each mapped ticker contains manually defined institutional levels, including trigger zones, confirmation levels, invalidation levels, hard fails, GEX magnets, GEX air pockets, and target zones.
The indicator uses several live intraday filters to prevent premature entries:
Price vs. VWAP
9 EMA / 21 EMA alignment
Opening range break confirmation
Relative volume filter, optional
Market confirmation from SPY, QQQ, IWM, SMH, and XLE
Regular trading hours logic
Signal cooldown protection
For bullish setups, the indicator looks for price to reclaim the mapped trigger while also holding above VWAP, confirming above the 9 EMA/21 EMA stack, and breaking the opening range if enabled.
For bearish setups, it looks for price to lose the mapped trigger while trading below VWAP, below the EMA stack, and below the opening range if enabled.
Each ticker map includes:
Primary directional bias
Setup grade
Preferred contract or structure
Flow summary
GEX summary
Entry zone
Trigger level
Confirmation level
Invalidation level
Hard invalidation level
Three target zones
Major and minor GEX levels
Manual flow, GEX, technical, and total setup scores
The chart displays mapped levels as labeled horizontal lines. Major levels include triggers, confirmations, invalidations, hard fails, primary targets, flow strikes, and major GEX walls. Minor levels show secondary GEX magnets, nearby gamma pockets, and contextual support/resistance zones. Users can toggle major-only levels, minor labels, all labels, opening range, EMA/VWAP stack, and dashboards.
The main dashboard shows only the active ticker being viewed. It displays the current setup bias, contract reference, trigger, confirmation, invalidation, targets, flow read, GEX read, filter status, opening range status, signal state, and market confirmation.
A separate watchlist dashboard is also included and can be toggled on or off. This acts as the daily mission board, showing the highest-priority setups, triggers, and directional reads for the session.
The indicator supports alerts for:
Long trigger
Long confirmation
Put trigger
Put confirmation
Invalidation
Hard invalidation
Target hits
Mapped level touches
For best use, update the script each trading day with the latest options flow analysis, GEX heatmap levels, technical trigger levels, and ranked watchlist. The structure is designed to be reused daily by updating the ticker maps, index confirmation thresholds, and watchlist dashboard.
This tool is intended for disciplined execution of a pre-built institutional thesis. It is most effective when used after the opening range is set and when VWAP, EMA structure, market confirmation, and price action all align with the mapped levels. مؤشر

مؤشر

مؤشر

مؤشر

مؤشر

مؤشر

مؤشر

مؤشر

مؤشر

Order Block Matrix Trade Engine [Alpha Extract]A sophisticated institutional-grade order block ecosystem combining advanced liquidity mapping, dynamic volume-distribution visualization, and fully integrated automated trade-engine logic into a unified execution framework. The system identifies high-probability bullish and bearish order blocks through adaptive breadth analysis, overlays volumetric mountain profiling to visualize liquidity concentration inside each block, and automatically converts qualified reactions into fully managed trade setups with real-time performance analytics. By integrating smart mitigation handling, ATR-adaptive risk management, rejection-based confirmations, and live statistical tracking, the indicator delivers a complete order flow trading environment designed for precision execution across trending and ranging markets.
🔶 Advanced Institutional Order Block Detection Engine
Implements a sophisticated order block discovery framework using multi-candle structure analysis combined with ATR-adjusted breadth logic to isolate high-quality institutional accumulation and distribution zones. The system scans for bullish and bearish displacement structures, validates directional intent through sequential candle confirmation, and dynamically defines order block boundaries using either Full Candle mode or Breadth mode for adaptive precision.
= checkObCondition(obLookback)
if is_bullish
topValue = high
botValue = low
if is_bearish
topValue = high
botValue = low
🔶 Liquidity Mountain Volume Profiling System
Features a unique volumetric “mountain” rendering engine that visualizes liquidity density inside each order block through dynamically generated layered volume structures. Instead of traditional flat rectangles, the system creates evolving liquidity formations representing volume concentration and order flow intensity across the zone. Each mountain adapts in real-time based on relative block strength versus average market participation.
The engine applies multiple gaussian distribution curves combined with sinusoidal ridge modulation to simulate realistic institutional liquidity concentration, creating an intuitive representation of where absorption and participation occurred inside the order block.
🔶 Smart Order Block Strength Classification
Calculates dynamic order block strength using relative volume normalization against rolling market participation averages. Each block receives a live strength multiplier representing institutional conviction.
strength = ta.sma(volume, 20) > 0 ? block.totalVolume / ta.sma(volume, 20) : na
Higher strength blocks represent stronger participation and receive enhanced trade priority within the trade engine. This allows traders to isolate high-conviction zones instead of treating all order blocks equally.
🔶 Adaptive Mitigation & Invalidity Framework
Implements intelligent mitigation handling to continuously maintain chart cleanliness and signal quality. The system automatically removes invalidated order blocks once price fully breaches the defined risk boundary using configurable Close or Wick mitigation logic.
Close-based mitigation waits for candle body confirmation beyond the zone, while Wick-based mitigation aggressively removes invalidated structures immediately upon liquidity sweep. This flexibility allows adaptation between conservative and aggressive execution styles.
🔶 Automated Order Block Trade Engine
Transforms passive order block analysis into a complete semi-automated execution framework. Once price interacts with a qualified order block, the system automatically generates trade entries, calculates stop-loss placement, projects take-profit targets, and tracks the trade lifecycle in real time.
The engine supports both:
• Touch Entries — executes immediately when price enters the order block.
• Rejection Entries — waits for confirmation rejection before triggering.
triggered = trade_triggerMode == "Touch" ? inside : rejected
This allows traders to adapt between aggressive front-running entries and more conservative confirmation-based execution.
🔶 Dynamic Risk-to-Reward Projection System
Features fully automated risk management architecture calculating stop-loss and take-profit placement immediately upon entry. The system supports both:
• Block Edge Stops — uses structural order block invalidation.
• ATR Stops — volatility-adjusted dynamic stop placement.
Take-profit targets are generated through configurable risk-to-reward multipliers.
risk = math.abs(obEntry - obSL)
obTP := obEntry + risk * trade_rr
This creates standardized trade management across all setups while maintaining volatility awareness.
🔶 Real-Time Trade Lifecycle Tracking
Provides comprehensive active trade monitoring with live entry, stop-loss, take-profit, floating R-multiple, timer tracking, and duration analytics directly on the chart.
The system continuously tracks:
• Live R performance
• Bars held
• Time in trade
• Strength of originating order block
• Trade direction
• Open trade status
All statistics update in real time without repainting.
🔶 Institutional Performance Analytics Dashboard
Features a fully integrated professional trade statistics panel providing institutional-level strategy analytics directly inside TradingView.
The framework tracks:
• Total trades
• Win rate
• Net R
• Average R
• Profit factor
• Buy vs sell performance
• Best and worst trades
• Average holding duration
• Winning and losing streaks
profitFactor = obSumLossR > 0 ? obSumWinR / obSumLossR : na
avgR = obTotalTrades > 0 ? obNetR / obTotalTrades : na
This transforms the indicator into a fully self-monitoring execution environment rather than a simple visual overlay.
🔶 Advanced Visual Architecture
Creates an institutional-quality visual experience through layered transparency systems, dynamic border rendering, volumetric liquidity structures, and adaptive color gradients.
Bullish order blocks use deep liquidity teal structures while bearish blocks utilize aggressive distribution crimson tones. Volume badges dynamically update with:
• Total order block volume
• Relative strength multiplier
• Block direction
The system maintains full visual clarity even during high-density market conditions.
🔶 Smart Block Overlap Resolution
Implements automatic overlapping order block resolution preventing redundant liquidity zones from cluttering the chart. When new blocks intersect existing structures, the framework intelligently prioritizes the latest active institutional zone and removes obsolete overlapping regions.
This creates significantly cleaner market structure visualization compared to traditional order block indicators.
🔶 Window-Based Performance Optimization
Features advanced processing optimization using configurable historical windowing to reduce unnecessary rendering overhead while maintaining full historical integrity.
This allows smooth performance even on lower timeframes with dense historical data.
🔶 Non-Repainting Confirmation Logic
Built using fully confirmed bar-state logic ensuring all order blocks, entries, exits, and statistical calculations remain stable after candle close. The framework avoids intrabar repainting behaviour commonly found in lower-quality order block systems.
This guarantees consistent backtesting behaviour and reliable live-market execution.
🔶 Comprehensive Alert Ecosystem
Provides a complete professional alert infrastructure supporting both discretionary traders and automated webhook systems.
Alerts include:
• New Bullish Order Block
• New Bearish Order Block
• Bullish Rejection Confirmation
• Bearish Rejection Confirmation
• Buy Entry Trigger
• Sell Entry Trigger
• Take Profit Hit
• Stop Loss Hit
Webhook-ready JSON payloads enable direct integration into external automation systems and execution infrastructure.
🔶 Why Choose Order Block Matrix Trade Engine ?
This indicator goes far beyond traditional order block visualization by combining institutional liquidity mapping, volumetric participation analysis, automated execution logic, and professional-grade statistical tracking into one unified framework. Rather than simply drawing supply and demand zones, the system actively interprets order flow quality, measures participation strength, filters low-conviction setups, and transforms reactions into fully managed trade structures with integrated risk management. مؤشر

Mustang Algo EMA 20/50 Pullback+RSI Mustang Algo — EMA 20/50 Pullback + RSI + EMA 200 + Anti-Range Filter
A complete trend-following pullback system that combines four layers of confluence — short-term momentum (EMA 20), mid-term trend (EMA 50), long-term bias (EMA 200), and an anti-range filter — gated by RSI(14). The indicator trades both long and short with fully symmetric logic and provides granular control over signal frequency through multiple anti-spam mechanisms.
Core concept
In a trending market, price doesn't move in straight lines. It pulls back to dynamic support (the EMA 20) before resuming. This indicator detects those exact moments — when momentum is still intact (RSI confirms direction), the mid-term structure is aligned (EMA 20 above/below EMA 50), the long-term bias agrees (price or EMA 50 on the right side of EMA 200), and the market is genuinely trending (not chopping sideways) — and prints a signal only on the candle that confirms the rebound.
The hardest part of any pullback strategy is avoiding range markets, where the same logic that catches clean trend continuations produces a stream of losing trades. This version addresses that head-on with a dedicated anti-range layer.
How it works
LONG signal fires when EMA 20 is above EMA 50, the candle touches EMA 20 (wick or body, configurable), the close is above EMA 20 with a bullish body, RSI is above the long threshold, the EMA 200 filter is satisfied, and the anti-range filter confirms a trending environment.
SHORT signal is the exact mirror: EMA 20 below EMA 50, touch on EMA 20, bearish rejection candle, RSI below the short threshold, EMA 200 filter satisfied for shorts, and anti-range filter active.
Initial signals (INIT L / INIT S) mark the moment of the EMA 20/50 cross when all filters already agree — useful to catch the very first leg of a new trend before any pullback has formed.
Exits trigger on the opposite EMA 20/50 cross or when price closes beyond the EMA 50 (both toggleable independently).
EMA 200 trend filter — three modes
Price vs EMA 200 — standard: longs only above, shorts only below.
EMA 50 vs EMA 200 — structural: requires the mid-term EMA to be aligned with the long-term EMA. Fewer signals, higher conviction.
Both (strict) — requires both conditions simultaneously. Designed for swing setups and conservative profiles.
A tolerance setting (%) allows price to sit slightly on the wrong side of the EMA 200 without invalidating the signal — useful on FX and metals where price oscillates tightly around the long-term mean.
Anti-range filter — four modes
This is what separates a pullback indicator that works in trends from one that survives in real markets.
ADX — Classic Wilder ADX. Below the minimum threshold (default 20), the market is considered ranging and signals are blocked. Reliable on indices and crypto.
EMA distance — Measures the gap between EMA 20 and EMA 50 normalized by ATR. Below a configurable multiple (default 0.5×ATR), the EMAs are too close together, signaling consolidation. More reactive than ADX, ideal for gold and FX.
Choppiness Index — Dedicated chop measure on a 0-100 scale. Above the configurable maximum (default 61.8, the Fibonacci threshold), the market is choppy. Highest precision for pure ranges, best on D1 swing setups.
ADX + EMA distance (strict) — Default mode. Requires both ADX and EMA distance conditions simultaneously. ADX catches absolute weakness in directionality; EMA distance catches geometric compression. Each compensates for the other's blind spot. The two metrics together produce the cleanest signal set.
When the filter blocks the market, an optional yellow background highlights the ranging zones so you can calibrate your thresholds visually.
Signal frequency control
Two independent anti-spam layers let you fine-tune how aggressive the indicator is:
One signal per pullback (default ON) — A pullback is considered "consumed" after a signal fires. The setup must re-arm by moving N×ATR away from EMA 20 (default 0.5) before a new signal is allowed. Eliminates clustered signals during consolidation on the EMA 20.
Only first signal after EMA cross (default OFF) — Only the FIRST pullback signal after each EMA 20/50 cross is fired. Subsequent pullbacks in the same trend leg are ignored until a new cross occurs. Designed for swing traders who only want to enter at the start of a new trend.
Configurable inputs
Direction (LONG / SHORT toggles, independent)
EMA lengths (20 / 50 / 200) and source
EMA 200 filter mode and tolerance
Anti-range filter mode, ADX length and threshold, EMA distance multiplier, Choppiness length and threshold
RSI length and dual thresholds (long / short)
Touch mode (wick or body) and touch tolerance
Re-arm distance in ATR multiples
First-after-cross gating
Exit conditions (EMA cross / close beyond EMA 50)
Visual options (zone fill, EMA 200 background, range background, status table)
Built-in alerts
Seven alert conditions covering pullback BUY, pullback SELL, initial LONG, initial SHORT, LONG exit, SHORT exit, and a generic "any signal" alert. All messages include ticker, timeframe, and price.
Status table
A live readout in the top-right shows MT trend, EMA 200 filter state, range filter state, current ADX value, EMA gap/ATR ratio, the three EMA values, and current RSI — color-coded so the full setup state is readable at a glance.
Recommended settings by context
XAUUSD H1 — ADX min 18, EMA distance 0.4×ATR (gold moves fast, slightly more permissive)
EURUSD H1-H4 — ADX min 22, EMA distance 0.6×ATR (FX ranges often, stricter)
Indices D1 — ADX min 20, EMA distance 0.5×ATR (default values)
Crypto H4 — ADX min 25, EMA distance 0.7×ATR (erratic volatility, strictest)
For ultra-conservative swing entries: enable "Only first signal after EMA cross", set EMA 200 filter to "Both (strict)", and keep anti-range in default "ADX + EMA distance (strict)" mode.
Recommended timeframes
Works on any timeframe but performs best on H1 to D1 for swing setups, and M15 to H1 for intraday. On lower timeframes, increase the ATR re-arm distance and consider switching the touch mode to "Body" for higher quality signals.
Methodology notes
The indicator uses only standard, well-documented building blocks (EMA, RSI, ATR, ADX, Choppiness Index) — no black-box signals, no hidden repaint mechanics, no curve-fit thresholds. Every parameter is exposed and every decision is auditable from the source.
Signals are evaluated on bar close. The anti-range and anti-spam mechanisms are deterministic and use only past data, so backtests reflect real-time behavior.
Disclaimer
This is a technical analysis indicator, not financial advice. Always backtest on your specific instrument, timeframe, and broker spread before committing capital. Trend-following pullback strategies underperform in pure ranging markets — the multi-layer filtering mitigates this but does not eliminate it. Past performance does not guarantee future results.
— Mustang Algo مؤشر

مؤشر

MTF Pivot+ (Camarilla & CPR)MTF Pivot+ is an advanced indicator that combines Camarilla levels and Central Pivot Range (CPR) zones with multi-timeframe (MTF) analysis. It equips traders with a powerful toolkit to identify key support and resistance zones, analyze market trends, and pinpoint precision entry areas for both day trading and swing trading!
Key Features:
⏱️ Smart Auto-Timeframe: Automatically selects the optimal higher timeframe for calculating levels based on your current chart (e.g., Daily levels for intraday charts up to 30m).
🎯 Central Pivot Range (CPR): Displays the CPR zone (CP, BC, TC) with built-in trend analysis. The zone automatically changes color depending on its shift relative to the previous period (bullish, bearish, or flat).
📊 Camarilla Pivot Levels: Comprehensive calculation of internal levels (R1-R2 / S1-S2), key reversal zones (R3 / S3), breakout extremes (R4 / S4), and extended targets (R5-R6 / S5-S6).
🔄 Dynamic (Rolling) Pivots: Option to calculate levels from the previous day's close for daily dynamic updates, while still maintaining the true highs and lows of the higher timeframe.
💱 Advanced Futures Support: Seamlessly use continuous contracts and calculate pivots based on the Last Traded Price (LTP) instead of exchange settlement prices.
🎛️ MTF Dashboard: A compact, sleek on-chart panel showing the current price's position relative to the Central Pivot (CP) across Daily, Weekly, and Monthly timeframes at a single glance.
🔔 Comprehensive Alerts System: Built-in alerts with a smart "cooldown" feature for CPR crosses, touches of reversal zones, R4/S4 breakouts, and previous period High/Low breaches.
🎨 Highly Customizable: Easily toggle specific levels or features on/off (for example, enabling HLC mode hides main levels) to keep your charts clean, focused, and informative!
⚠️ Disclaimer:
This indicator is provided solely for educational and informational purposes. It does not constitute financial, investment, or trading advice.
Please keep the following important points in mind:
High Risks: Trading in financial markets (cryptocurrencies, forex, stocks, futures) involves a high level of risk and may result in the partial or total loss of your capital.
No Guarantees: Indicators are based on the mathematical analysis of past price data. Past price movements and successful level tests do not guarantee future profits.
Do Your Own Research (DYOR): Never make trading decisions based solely on the readings of a single indicator. Always conduct your own comprehensive market analysis, consider the overall context, and employ strict risk management.
Responsibility: You use this script entirely at your own risk.
مؤشر

Breakout and Retest Signals - FloAlgoThis indicator detects breakout and retest signals by identifying key pivot zones and validating price rejection through wick sweeps and volume analysis.
How It Works
The script operates in three stages:
Pivot Zone Detection — Identifies swing highs and lows, then constructs zones anchored to the candle body and wick that formed the pivot. Demand zones span from body top down to wick low; supply zones span from wick high down to body bottom.
Rejection Validation — Confirms a valid signal when price sweeps beyond the zone extreme (wick tip) and closes back through the zone body, indicating institutional liquidity capture.
Volume Confirmation — Uses lower timeframe volume delta and buy/sell ratio to validate signal strength, filtering weak rejections with insufficient conviction.
Key Advantages
No Repaint — Single-period pivot detection ensures signals fire on confirmed historical bars, eliminating repaint delay between alert and visual.
Fixed Width Zones — Zones do not grow indefinitely; they are drawn with fixed horizontal width and trimmed only on signal, keeping charts clean.
Range-Based Overlap Guard — Demand and supply zones cannot overlap; range-based checking prevents conflicting zones from occupying the same price area.
Professional Visuals — No text labels or arrow clutter; only shaded zones and volume ratio splits for clean, professional appearance.
Accurate Zone Geometry — Zones anchored to actual candle body and wick formations, not flat ATR bands.
Auto-Cleanup — Zones are automatically removed one bar after signal or on expiry, preventing chart clutter.
Seconds Chart Support — Volume timeframe input guarded to prevent errors on sub-minute charts.
No Signal Conflicts — Removed confirmation divisor that caused opposing signals on the same bar.
Zone Lifecycle
Unlike traditional indicators that grow zones indefinitely, this script uses a fixed-width approach:
Zones are drawn from the pivot candle to a fixed future bar (born + maxLife)
Upon signal, the zone right edge is trimmed to the signal bar
The zone remains visible for one bar after the signal, then is automatically removed
Expired zones without signals are cleanly purged to prevent chart clutter
Visual Elements
Shaded boxes marking demand (green) and supply (red) pivot zones
Volume ratio split boxes within zones showing buy/sell pressure balance
Dashed target projection lines from signal bars
Zone borders fade and thin out after signal confirmation
Key Settings
Swing Length — Sensitivity of pivot high/low detection
Max Bars Active — Fixed horizontal width of zones in bars
Min Bars Between — Minimum bars between consecutive signals
Max Zones Per Side — Maximum active zones per direction
Volume TF — Frame for volume delta analysis
Show Ratio Split — Display buy/sell volume ratio inside zones
Show TP Line — Display target projection lines
مؤشر
