Structure Delivery Radar [JOAT]Structure Delivery Radar
Introduction
SDR Structure Delivery Radar is an open-source market structure overlay that classifies short-term, intermediate-term, and long-term delivery using confirmed pivots, break events, sweep events, session position, and ATR compression.
The indicator is designed as a structural context layer. It does not try to predict every candle. Instead, it tracks whether price is delivering through meaningful structure levels and whether multiple structure tiers are aligned.
Core Concepts
1. Three-Tier Structure
The script tracks ST, IT, and LT swing highs and lows from confirmed pivots. Each tier keeps its own bias state.
2. Confirmed Breaks
A bullish break requires a confirmed close above the tracked swing high. A bearish break requires a confirmed close below the tracked swing low.
3. Sweep Detection
The script recognizes when price trades beyond a swing level but closes back through it, marking potential liquidity behavior without using future bars.
4. Delivery Score
The dashboard score blends structure alignment, break activity, sweep activity, session location, and ATR compression into a 0-100 reading.
5. Clean Structure Cloud
The visual output uses transparent clouds and dashboard states rather than cluttered arrows or excessive labels.
Features
ST/IT/LT structure tracking: Three independent confirmed-pivot layers
Break and sweep logic: Official events require confirmed bars
Delivery score: Quantifies structure alignment and current delivery state
Session cloud: Adds session range context
Structure cloud: Shades the active upper/lower structure region
Top-right dashboard: Shows tier bias, events, ranges, compression, ATR, and signal state
Alerts: Includes bullish and bearish delivery confirmations
Input Parameters
Structure:
ST Pivot Length
IT Pivot Length
LT Pivot Length
ATR Length
Session and Visuals:
Use Session Window
Show Session Cloud
Show Structure Cloud
Show Bias Tint
Cloud and background transparency
How to Use
Step 1: Check whether the dashboard shows BULL, BEAR, or NEUT for the dominant structure state.
Step 2: Read the delivery score. Higher scores indicate stronger alignment across the internal model.
Step 3: Treat sweep events as context for failed breaks or liquidity reactions.
Step 4: Use the structure cloud as a map of active structural boundaries.
Limitations
Pivot-based structure confirms after the pivot length has passed
The score is a context reading, not a guarantee of trade outcome
Compressed markets can delay structure continuation
The script should be combined with risk management and execution rules
Originality Statement
SDR is an original JOAT implementation combining multi-tier confirmed structure, sweep recognition, session context, ATR compression, and a delivery score into one Pine Script v6 overlay.
Disclaimer
This script is for educational and informational purposes only. It is not financial advice and does not guarantee future results. Trading involves risk, and users should apply their own risk management.
Made with passion by jackofalltrades
Indicator

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
Indicator

Anchored VWAP Suite | Flux ChartsGENERAL OVERVIEW
The Anchored VWAP Suite is an all-in-one anchored VWAP toolkit designed to plot every meaningful VWAP a trader needs from a single indicator. Instead of dropping a stand-alone anchored VWAP each time the chart prints a new swing high, swing low, daily extreme, or session boundary, the indicator does that work automatically and keeps every line on the chart managed, color-coded, and labeled.
The main goal of this indicator is to give traders a clean, automatic read on where the volume-weighted average sits from every important reference point in the market — without having to manually anchor anything. Every line you see on the chart represents the average price the market has traded at since a moment that mattered: a swing high, a session open, today’s low, and so on.
It plots six different families of anchored VWAPs simultaneously: Swing High/Low, Lookback High/Low, Daily Open/High/Low, Weekly Open/High/Low, Monthly Open/High/Low, and Session High/Low (Asia, London, NY). Every family is independently configurable — you can enable only the ones you use, set the price source for each, and control the color, line style, and how many of each type stay on the chart.
The indicator also smartly merges overlapping VWAP labels at the right edge of the chart. When two or more VWAPs converge to the same level, you see one combined label like "Daily High & Swing Low" instead of multiple stacked labels fighting for space.
This indicator was developed for traders who already use anchored VWAPs as part of their workflow and want every important anchor — swing, session, daily, weekly, monthly — drawn for them automatically and kept clean even when many are active at once.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
An anchored VWAP plots the average price weighted by volume, starting from a specific bar — the "anchor." Once anchored, the line continues forward and updates each bar, showing the volume-weighted average price of everyone who has traded since that anchor was set.
Why traders use it: the anchor point is usually a moment of decision in the market — a swing high where supply showed up, a daily open where the session began, or the start of a major session. Everyone who entered around that anchor is now positioned relative to the VWAP. When price reclaims or rejects the line, it tells you whether those traders are in profit or in loss as a group, and the line itself often acts as dynamic support or resistance.
The challenge with anchored VWAPs is that there are many useful anchor points. A serious trader might want VWAPs from the last swing high, the last swing low, today’s open, today’s high, today’s low, the previous week’s high, the start of the NY session, and so on. Manually anchoring all of those — and re-anchoring them every time a new extreme prints — is tedious and error-prone.
The Anchored VWAP Suite handles this automatically. It detects every meaningful anchor point on the chart, draws the VWAP from that anchor, keeps it updated as new extremes print, retires old VWAPs as they age out, and presents the whole set in a way that stays readable even when ten or more lines are on the chart at once.
ANCHORED VWAP SUITE FEATURES
The Anchored VWAP Suite includes 7 main features:
Session Anchors
Swing Anchors
Lookback Anchors
Daily Anchors
Weekly Anchors
Monthly Anchors
Customization Options
🔹 Method
Method controls how each new bar affects a VWAP after its anchor is set. Three modes are available:
◇ Standard: every bar from the anchor counts equally. This is the classic anchored VWAP — older bars carry the same weight as the most recent ones. The line becomes steadily slower to respond as the anchor moves further into the past.
◇ EMA: recent bars are weighted more heavily, using a 2/(N+1) coefficient. The VWAP responds faster to new price action while still tracking back to the anchor point.
◇ RMA: also weights recent bars more, but with a slower 1/N coefficient (Wilder's smoothing). Smoother than EMA, but lags more.
The default is RMA, which produces a responsive line that behaves consistently whether the anchor is recent or far back.
🔹 Period
Period sets the length used by the EMA and RMA modes. Larger values smooth more — the line moves less. Smaller values make the line more reactive but jumpier. Period is ignored when Method is set to Standard, since Standard treats every bar equally regardless of length.
The default is 20.
🔹 Max VWAP Length
Max VWAP Length caps how far back a single VWAP can anchor before it's dropped from the chart. The default of 5,000 bars covers most use cases. Raise it if you need to keep very old anchored VWAPs visible — for example, swing VWAPs from far back in history. Lower it if you find the indicator slowing down on heavy charts; a smaller cap means less work to render and a snappier response when many VWAPs are active at once.
This cap also applies when a new VWAP is first drawn: anchors older than the configured limit are not created, so every line on the chart always fits inside the configured length.
COMMON ANCHOR SETTINGS: SOURCE & COUNT
Beyond the General Configuration above, two settings — Source and Count — appear in nearly every anchor family. Because they work the same way across all of them, they are explained here once and then referenced inside each anchor family below.
🔹 Source
Source controls which price each bar contributes to the VWAP after the anchor is set, but it does not change the anchor itself. The anchor bar is always pinned to its defining extreme: a Swing High VWAP anchors at the actual high of the swing-high candle, a Daily Open VWAP anchors at the actual open of the day, a Daily Low VWAP anchors at the actual low, and so on. From the bar after that, the Source you choose decides which price gets fed into the volume-weighted calculation.
Available sources:
◇ High — only the high of each bar contributes
◇ Low — only the low of each bar contributes
◇ Close — only the close of each bar contributes
◇ Open — only the open of each bar contributes
◇ HLC3 — average of high, low, and close (the classic "typical price")
◇ HL2 — midpoint of high and low
◇ OHLC4 — average of open, high, low, and close
In practice, most traders leave Source at the default for each anchor type: High for "high" anchors, Low for "low" anchors, Open for open-based anchors. Switching to HLC3, HL2, or OHLC4 produces a smoother VWAP that's less sensitive to long wicks, while sticking with High, Low, or Close keeps the line tight to a single price point on every bar.
🔹 Count
Count controls how many VWAPs of a given type are kept on the chart at once. As new anchors form, older ones drop off automatically — so a Count of 3 on Daily Open VWAPs means the indicator always shows the three most recent daily-open VWAPs and quietly drops anything older.
Set Count to 1 for a clean chart that only shows the latest anchor of each type. Raise it when you want a side-by-side view of how price has interacted with multiple historical anchors of the same kind.
SESSION ANCHORS
🔹 What Are Session Anchors?
Session anchors are VWAPs anchored to the session high and session low of the three major intraday sessions: Asia, London, and New York. They appear as each session develops and lock in once the session closes.
🔹 Default Session Times (New York Time)
◇ Asia: 20:00 – 22:00
◇ London: 02:00 – 04:00
◇ New York: 10:00 – 12:00
🔹 Live Re-Anchoring
While a session is open, the high and low VWAPs re-anchor automatically each time price prints a new extreme inside that session. The moment the session ends, the final anchors are confirmed and stay on the chart, giving traders a clean record of where the session’s volume-weighted averages sit relative to current price.
🔹 Session Boxes and Labels
Each session is also drawn as a colored box that expands as price moves. The box contains the full high-to-low range of the session and is labeled with the session name (Asia, London, NY) along its top edge. Boxes from previous sessions are kept on the chart so you can quickly see the prior session’s range alongside the live one.
🔹 Customization Options
Show / Hide toggle for each session (Asia, London, NY)
High and Low source for each session
High color and Low color for each session
Show / Hide Session Boxes toggle and box color
Show / Hide Session Labels toggle
Line style (Solid, Dotted, Dashed) and width for session VWAPs
SWING ANCHORS
🔹 What Are Swing Anchors?
Swing anchors are VWAPs drawn from the last confirmed swing high or swing low on the chart. A swing high is a candle whose high stands above the highs of the bars surrounding it; a swing low is the opposite. Both make natural anchor points because they often mark the moment supply or demand showed up in size.
🔹 How the Indicator Detects Swings
The indicator looks for pivots using two confirmation windows: a "Swing Bars Left" count and a "Swing Bars Right" count. The current pivot must be the most extreme bar over both windows before the swing is locked in, and a VWAP is anchored to it. Larger values catch only the more meaningful swings; smaller values catch more frequent (but noisier) ones. The default is 10 bars left and 10 bars right.
🔹 Count
Up to 10 swing-high VWAPs and 10 swing-low VWAPs can be kept on the chart at once. As new swings form, older ones drop off automatically.
🔹 Extend All Toggle
When Extend All is on, every kept swing VWAP keeps drawing forward to the current bar — useful for studying how price interacts with multiple historical anchors at once. When off, each swing VWAP stops where the next one of the same direction begins, keeping the chart cleaner.
🔹 Customization Options
Show / Hide toggle for Swing High VWAPs and Swing Low VWAPs
Count for each (1–10)
Price source for each (High, Low, Close, Open, HLC3, HL2, OHLC4)
Swing Bars Left and Right (1–50)
Line style (Solid, Dotted, Dashed) and width (1–5)
Color for swing high and swing low
Extend All toggle
LOOKBACK ANCHORS
🔹 What Are Lookback Anchors?
A lookback anchor is a VWAP that re-anchors automatically every time the price prints a new extreme over a rolling window. The Highest High VWAP re-anchors whenever the current bar’s high tops the highest high of the previous N bars. The Lowest Low VWAP works the same way for new lows.
🔹 How It Helps
Where a swing anchor needs confirmation bars before it locks in, a lookback anchor responds the moment a new extreme is made. This makes lookback VWAPs useful for tracking the most aggressive recent move — they always reflect the volume-weighted average from the most recent breakout high or breakdown low.
🔹 Customization Options
Show / Hide toggles for Highest High and Lowest Low
Price source for each
Color for each
Lookback Length (2–500, default 50)
Line style and width
DAILY ANCHORS
🔹 What Are Daily Anchors?
Daily anchors are VWAPs anchored to the current trading day’s Open, High, and Low bars. They appear as the day develops and re-anchor live whenever a new daily extreme prints. At the end of the day, the active anchors are confirmed, and a fresh set begins the next day.
🔹 The Three Daily VWAPs
◇ Daily Open VWAP: anchored to the bar that opened today’s session. Tracks the volume-weighted average from the start of the day.
◇ Daily High VWAP: anchored to today’s high bar. Re-anchors when a new daily high prints.
◇ Daily Low VWAP: anchored to today’s low bar. Re-anchors when a new daily low prints.
🔹 Why It Matters
The daily open is one of the most-watched intraday levels. A VWAP from it tells you immediately whether the average trader who entered today is in profit or loss. The daily high and low VWAPs do the same for the people who entered at the day’s extremes — useful for spotting reaction zones around prior swing points.
🔹 Customization Options
Show / Hide toggles for Daily Open, Daily High, Daily Low
Count for each (1–50, lets you keep historical daily VWAPs on the chart)
Price source for each
Color for each
Line style and width
Extend All toggle
WEEKLY ANCHORS
🔹 What Are Weekly Anchors?
Weekly anchors work the same way as daily anchors, but for the current trading week’s Open, High, and Low. They appear as the week develops and re-anchor when new weekly extremes print. At the start of each new week, the previous week’s anchors are confirmed and the next week begins.
🔹 The Three Weekly VWAPs
◇ Weekly Open VWAP: anchored to the bar that opened this week.
◇ Weekly High VWAP: anchored to the week’s high bar so far.
◇ Weekly Low VWAP: anchored to the week’s low bar so far.
🔹 Why It Matters
Weekly VWAPs are useful for swing traders and for anyone watching how price holds up against bigger structural references. A break and hold above the Weekly Open VWAP often confirms the bullish case for the week; a break below confirms the bearish one.
🔹 Customization Options
Show / Hide toggles for Weekly Open, Weekly High, Weekly Low
Count for each (1–50)
Price source for each
Color for each
Line style and width
Extend All toggle
MONTHLY ANCHORS
🔹 What Are Monthly Anchors?
Monthly anchors plot VWAPs from the current month’s Open, High, and Low. Like the daily and weekly versions, they re-anchor as new monthly extremes print and confirm at the end of the month.
🔹 The Three Monthly VWAPs
◇ Monthly Open VWAP: anchored to the first bar of the current calendar month.
◇ Monthly High VWAP: anchored to the month’s high bar so far.
◇ Monthly Low VWAP: anchored to the month’s low bar so far.
🔹 Why It Matters
Monthly anchors give a longer-term read that’s especially helpful on higher-timeframe trades. They often line up with major structural levels and can highlight institutional positioning over multi-week windows.
🔹 Customization Options
Show / Hide toggles for Monthly Open, Monthly High, Monthly Low
Count for each (1–50)
Price source for each
Color for each
Line style and width
Extend All toggle
SMART RIGHT-EDGE LABELS
🔹 What the Labels Show
Every VWAP on the chart can display a small text tag at its right edge, naming what that VWAP is anchored to — for example "Swing High," "Daily Open," or "London Low." This makes it instantly clear what each line on the chart represents without needing to memorize colors.
🔹 Auto-Merging at Confluence Zones
When two or more VWAPs converge to the same price at the same bar, the indicator automatically merges their labels into one combined tag using an "&" separator. For example, if the Daily Open VWAP and a Swing Low VWAP land on the same price, the right edge shows a single label that reads "Daily Open & Swing Low" instead of two stacked labels overlapping each other.
This keeps the chart readable even when many VWAPs are active and converging at confluence zones.
🔹 Customization Options
Show / Hide VWAP Labels toggle (global)
IMPORTANT NOTES
The Anchored VWAP Suite is designed to run on intraday timeframes for the session anchors to function. Session boxes and session VWAPs are automatically hidden on Daily, Weekly, and Monthly charts. Daily, Weekly, and Monthly anchor families work on any timeframe at or below their period.
The Max VWAP Length setting controls how far back a single VWAP can anchor before it’s dropped from the chart. The default of 5,000 bars covers most use cases. If you need to keep extremely old anchored VWAPs visible, raise the value; if you find the indicator is slow on large symbols, lower it.
Live anchors (the developing daily, weekly, monthly, and session anchors) update intra-bar so the line keeps pace with price. Historical bars never repaint after they close.
When Extend All is off (default for Swing, Daily, Weekly, and Monthly families), each VWAP of a given type stops where the next one of the same type begins. This keeps the chart from looking cluttered when many historical anchors are kept.
UNIQUENESS
The Anchored VWAP Suite is unique because it consolidates every anchor family a serious anchored VWAP user would draw — swing, lookback, daily, weekly, monthly, and session — into a single managed indicator. Each family has its own price source, color, line style, count, and extend mode, which means the same script can render dozens of independently configured VWAPs at once without users needing to load multiple separate scripts. Live anchors automatically re-anchor as new extremes print during the in-progress period and lock in the moment the period closes, so the chart always reflects the most current set of meaningful anchors. Three smoothing modes — Standard, EMA, and RMA — give traders a choice between the classic cumulative anchored VWAP and faster, more responsive variants that stay usable even when the anchor is very far back. The smart right-edge label system automatically merges overlapping labels at confluence zones, which keeps the chart readable even when many VWAPs are active and crossing at the same price. By unifying all of these capabilities into one indicator with consistent styling, shared smoothing logic, and automatic anchor management, the Anchored VWAP Suite removes the need to drop and manually maintain many separate anchored VWAPs and produces a clean, deterministic read on every important VWAP across the chart. Indicator

Vesper Divergence Cascade [JOAT]Vesper Divergence Cascade
Introduction
Vesper Divergence Cascade is an open-source divergence and response-structure overlay built around RSI pivots and a smoothed T3 ribbon. It detects regular and hidden bullish or bearish divergence, then maps the likely response area with projected zones, corridors, and target guides directly on the chart.
The problem this script solves is incomplete divergence analysis. Many divergence tools draw a line and stop there. That leaves the user without context about whether the move is aligned with local structure, whether the divergence developed in an overbought or oversold condition, and where price might respond if the divergence matters. Vesper Divergence Cascade adds that missing structure.
Core Concepts
1. Pivot-Based Divergence Detection
Confirmed price pivots are stored alongside the RSI value that existed at the pivot bar. This allows the script to compare current and prior pivot pairs without relying on unstable future references. Regular and hidden divergence types are evaluated independently on both highs and lows.
2. Ribbon Context Filter
The T3 ribbon acts as a directional and location filter. Divergence can optionally require price to be extended beyond the ribbon in the direction of the stretch before the event is accepted.
3. Response Zones And Corridors
When a divergence confirms, the script can project a response zone, midpoint line, reaction corridor, and target line forward from the pivot area. This turns divergence from a simple signal marker into a structured response map.
4. Signal Quality Context
The script uses RSI delta, ATR-normalized price displacement, cooldown logic, and optional overbought or oversold context to grade whether a divergence is meaningful enough to display.
Features
Regular bullish and bearish divergence: Reversal-oriented pivot disagreement
Hidden bullish and bearish divergence: Continuation-oriented pivot disagreement
T3 ribbon filter: Smoothed directional context layer
Reaction envelopes: Premium and discount response bands around ribbon center
Response zones: Forward areas projected from the active divergence
Reaction corridors: Larger projected path zones for follow-through context
Target lines: Simple objective guides derived from ATR structure
Signal labels: On-chart labels with response type and quality readout
Pivot dots and reset markers: Optional event markers for visibility
Dashboard: Displays RSI, zone state, ribbon state, cooldown, and active signal
Confirmed pivots only: Divergence prints only after pivot confirmation
Input Parameters
RSI Core And Divergence:
RSI source and length
Overbought and oversold levels
Pivot length and divergence window
Regular and hidden divergence toggles
Quality And Display:
Signal cooldown
Minimum RSI delta
Minimum ATR move
Extreme-condition requirement
Ribbon-filter requirement
Ribbon, pivot dots, dashboard, response zone, signal label, and reaction corridor toggles
How to Use This Indicator
Step 1: Identify whether the latest signal is regular or hidden, because they imply different response behavior.
Step 2: Check whether the signal formed in overbought or oversold context and whether the ribbon was supportive.
Step 3: Use the response zone and corridor as a framework for how price may react rather than as a guaranteed destination.
Step 4: Use reset markers to track whether momentum is rebalancing after the divergence.
Step 5: Prefer divergence that forms after visible extension, not in flat neutral conditions.
Indicator Limitations
Pivot confirmation introduces intentional delay because divergence is only known after the pivot is confirmed
Divergence can persist or fail completely during strong trends
Hidden divergence is continuation-oriented and should not be interpreted the same way as regular divergence
Projected zones and targets are analytical guides, not forecasts
Originality Statement
Vesper Divergence Cascade is original in how it combines pivot-stored RSI divergence, a T3 ribbon context filter, response envelopes, projected zones, and reaction corridors inside one divergence workflow. The script is designed to explain what kind of divergence formed, where it formed, and how price may structurally respond afterward.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Divergence is a contextual tool and can fail repeatedly during persistent trends, so all use should include independent analysis and risk management.
-Made with passion by jackofalltrades
Indicator

Structure Bias OscillatorThis is a rebranding of the Trend Bias Oscillator in order to add clarity to the logic and intent of this indicator.
**Structure Bias Oscillator (SBO)**
**What It Does**
The Structure Bias Oscillator tells you which side of the market has structural control — and how committed price is to that direction. It watches for moments when price breaks through a recent swing high or swing low. When that happens, it locks in a directional bias and tracks where price sits within that structure's range until the opposite break occurs. It's a bias meter, not a prediction tool. It reflects what the market has already confirmed through price action.
---
**How to Read It**
The oscillator displays as a histogram running from –100 to +100, centered on a zero line.
+50 to +100 means price is deep into bullish structure. +50 and below means bullish bias is confirmed but price hasn't pushed far into the range yet. Zero means no structural break has occurred or the market is at equilibrium. –50 and above means bearish bias is confirmed but price hasn't pressed far into the range yet. –100 to –50 means price is deep into bearish structure.
Color reinforces this — bright lime at bullish extremes fading to softer green in the mild zone, bright red at bearish extremes fading to softer red, and gray when there's no active bias.
A signal line runs over the histogram to smooth out bar-to-bar noise. When the histogram crosses above the signal line, structural bias is building to the upside. When it crosses below, bearish pressure is growing.
---
**Controls**
**Bars Left** — How many bars to the left the indicator looks when identifying a swing high or low. Higher values mean only more significant, widely-spaced pivots are recognized. Lower values make it more reactive to recent swings. Default is 20.
**Bars Right** — How many bars to the right must close before a swing is confirmed. Higher values produce cleaner, more reliable pivots but add lag. Default is 5.
**Non-Repaint Mode** — When on, signals only trigger on fully closed bars. This prevents the indicator from changing its read mid-candle, which is critical for reliable alerts and backreference. Leave this on unless you have a specific reason not to. Default is on.
**Show Signal Line** — Toggles the smoothing line on or off. Turn it off for a clean histogram-only view.
**Signal Type** — How the signal line is calculated. EMA reacts fastest to recent changes. SMA weights all bars equally. WMA gives more weight to recent bars in a linear way. RMA is the smoothest and slowest, best suited for higher timeframes. Default is EMA.
**Signal Length** — How many bars go into the signal line calculation. Shorter values keep it close to the histogram. Longer values produce a smoother, slower line that filters more noise. Default is 5.
**Signal Color and Width** — Visual only. Adjust to match your chart theme and preferred line thickness.
---
**Alerts**
Two alert conditions are built in and available directly from PulseWire's alert panel.
Buy Signal fires when price breaks above the most recent confirmed swing high for the first time, shifting structure to bullish. Sell Signal fires when price breaks below the most recent confirmed swing low for the first time, shifting structure to bearish.
---
**What Makes This Indicator Unique**
Most oscillators — RSI, MACD, Stochastic, and their derivatives — are momentum tools. They measure the speed or magnitude of price movement. They don't know or care about market structure. They can read bullish while price is collapsing inside a bearish structure, and bearish while price is grinding higher inside a bullish one. You're constantly having to mentally reconcile the oscillator against the chart context yourself.
The SBO skips momentum entirely. It is built exclusively around structure — specifically, breaks of confirmed swing highs and lows. It doesn't fire until structure actually changes. Once it does, the bias is locked and held until the opposite structural event occurs. This means the oscillator and the chart are always in agreement by design, not by coincidence.
The closest existing tools are the Market Structure Oscillator by LuxAlgo and the Structural Range Oscillator on PulseWire. Both incorporate structure in some form. But the LuxAlgo version blends multiple timeframes with weighted period logic, making it more of a composite trend tool than a pure structural read. The Structural Range Oscillator measures price position within a range but doesn't anchor itself to confirmed break events — it adapts continuously rather than locking in on a structural shift.
The SBO does one thing the others don't: it treats a break of structure as a state change, not a score. The bias either flipped or it didn't. And once it has, every subsequent bar is measured against the range that break defined — giving you a normalized, bounded read of how far price has moved into that structural territory. That combination of event-driven bias locking and range-normalized positioning is what separates it from every other structure-adjacent tool currently available.
It also ships with a non-repaint mode on by default, which is not a given on PulseWire. Most public indicators that claim non-repainting behavior bury the logic or leave it optional and off. Here it's the default — because a structural bias tool that repaints on you mid-candle is useless for anything other than chart decoration.
---
**What This Indicator Is — and Isn't**
The SBO is a structural state indicator, not a momentum oscillator. It doesn't measure how fast price is moving — it measures what structure has committed to. Once a structural break occurs, the bias holds until the opposite break happens. With non-repaint mode on, it won't change its read mid-candle.
Use it as a bias filter alongside your existing entries and exits. Confirm you're trading in the direction of active structural bias before taking a position. Indicator

Noctis Parallel Geometry [JOAT]Noctis Parallel Geometry
Introduction
Noctis Parallel Geometry is an open-source channel-construction and ratio-lattice overlay designed to organize price into ascending or descending parallel structures built from confirmed pivots. It maps primary boundaries, internal levels, stretch lines, and dynamic tracking projections so the user can see where price is moving inside a broader geometric framework.
The problem this script solves is inconsistent channel drawing. Manually drawn channels vary from user to user, and many automatic channel tools do not show how the geometry was constructed or how price is behaving inside it after the channel is established. Noctis Parallel Geometry turns confirmed pivot relationships into a persistent structure with historical roll-forward behavior.
Core Concepts
1. Pivot-Driven Channel Construction
Ascending geometry is built from two confirmed pivot lows plus the opposing pivot high that defines channel height. Descending geometry is built from two confirmed pivot highs plus the opposing pivot low. This creates a parallel structure rather than a freehand trendline.
2. Ratio Lattice
Once the main channel is built, the script can add internal reference levels and stretch levels. These help the user see whether price is rotating around the midline, respecting inner rails, or pushing into extended geometry.
3. Historical Channel Preservation
When a new active geometry forms, the previous one can be rolled into history instead of being deleted. Historical channels are shifted and preserved so the user can study how prior geometry resolved.
4. Dynamic Projection Tracking
The script can project a live tracking geometry from the most recent active pivot anchor and evolving extreme. This provides a developing path while the full next confirmed channel is still incomplete.
Features
Ascending and descending channel construction: Built from confirmed pivot relationships
Primary channel rails: Base and top boundaries
Inner ratio levels: Optional internal guidance lines
Stretch levels: Optional extension rails beyond the main channel
Historical geometry retention: Previous channels can remain on-chart
Dynamic tracking projection: Live provisional geometry based on current extremes
Pivot tags: Optional pivot markers for transparency
Dashboard: Displays active geometry mode and structural information
Input Parameters
Channel Engine:
Pivot Length
Extend Active Geometry
Show Historical Geometry
Historical Channel Count
Show Dynamic Projection
Ratio Lattice And Display:
Inner-level toggle
Stretch-level toggle
Historical projection offset
Pivot-tag and dashboard toggles
How to Use This Indicator
Step 1: Identify whether the active geometry is ascending or descending.
Step 2: Use the midline and inner rails to gauge whether price is rotating cleanly or losing internal balance.
Step 3: Use stretch levels as warning areas where price is pushing beyond normal channel behavior.
Step 4: Compare active geometry with preserved historical geometry to see whether the market is reusing or abandoning prior pathing.
Step 5: Treat dynamic tracking as provisional context until a fully confirmed new channel is formed.
Indicator Limitations
Channels only update after pivot confirmation, so geometry changes are intentionally delayed to avoid repainting
Fast regime changes can invalidate a channel before price spends much time respecting it
Dynamic tracking lines are exploratory guidance, not confirmed structure
This indicator describes geometry; it does not by itself determine direction or trade quality
Originality Statement
Noctis Parallel Geometry is original in how it turns confirmed pivot relationships into a parallel-channel engine with internal lattice levels, stretch rails, historical roll-forward geometry, and live tracking projection. These parts work together to create a coherent geometric framework rather than a simple trendline overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Channel geometry can fail abruptly in volatile or event-driven conditions, so all analysis should be paired with appropriate risk controls.
-Made with passion by jackofalltrades
Indicator

Asterion Level Weave [JOAT]Asterion Level Weave
Introduction
Asterion Level Weave is an open-source reference-level and directional-bias overlay built around daily pivots, weekly pivots, a weighted EMA weave, and opening-range structure. Its purpose is to show where price is located relative to higher-order reference levels while also showing whether internal directional pressure is aligned with those levels.
The problem this script solves is context stacking. Traders frequently use pivot lattices, moving averages, and opening ranges separately, then mentally combine them. Asterion Level Weave places those components into one framework so the user can evaluate premium versus discount location, directional weave bias, and session structure from a single chart layer.
Core Concepts
1. Daily And Weekly Pivot Lattice
The script calculates prior-day and prior-week pivot references and extends them forward on the chart. Daily pivot, R1, S1, R2, and S2 create the near-term lattice, while weekly pivot references provide a slower macro anchor.
2. Weighted EMA Weave
Instead of averaging EMAs equally, the script weights multiple EMAs by their recent slope magnitude. This gives more influence to the parts of the curve that are moving with stronger directional intent.
3. Equilibrium And Location Model
The script derives an equilibrium box around the daily pivot and uses price location relative to that structure to frame premium, discount, and balance.
4. Opening Range Structure
An opening-session range is captured and projected forward with a midpoint reference. This adds a session-specific structure layer that can be compared against pivot and weave alignment.
Features
Daily pivot lattice: D-pivot, R1, S1, R2, and S2 with forward extension
Weekly pivot lattice: Weekly pivot references for broader context
Daily equilibrium box: Optional box around the central daily balance zone
Weighted EMA weave: Multi-EMA directional cloud with weighted centerline
Location labeling: Right-edge labels for major active references
Opening range projection: Session range and midpoint extension
Directional candle tint: Candle state can reflect weave direction
Dashboard: Displays location, directional bias, pivot state, and opening structure context
Higher-order reference integration: Daily, weekly, session, and EMA structure in one chart layer
Input Parameters
Reference Levels:
Daily and weekly pivot toggles
Forward extension controls
Equilibrium box toggle
Ribbon Engine And Display:
EMA weave toggle, centerline toggle, ribbon smoothing, and slope lookback for weighting
Opening range session and extension
Dashboard, candle-color, and background toggles
How to Use This Indicator
Step 1: Determine whether price is trading above or below the daily pivot and weekly pivot.
Step 2: Use the weave centerline and cloud direction to judge whether internal momentum aligns with that location.
Step 3: Treat the equilibrium box as a balance region and the pivot lattice as directional reference.
Step 4: Use the opening range and midpoint to see whether the session is accepting above or below initial balance.
Step 5: Prefer trades where location, weave bias, and opening-range behavior point in the same direction.
Indicator Limitations
Pivot references are static for the active session and do not adapt intraday until the next period begins
The weighted weave still relies on lagging EMA calculations and will trail abrupt reversals
Opening range significance depends on the instrument and session chosen
This script is best used as a context framework rather than as a standalone entry trigger
Originality Statement
Asterion Level Weave is original in how it combines forward pivot lattices, a slope-weighted EMA weave, and opening-range structure into one location-versus-bias framework. Each component answers a different part of the same question: where price is, how it is moving, and how the active session is organizing around reference levels.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Pivot levels, equilibrium zones, and moving-average structure are analytical tools and should not be treated as guaranteed reaction levels.
-Made with passion by jackofalltrades
Indicator

Structure Deviation Ledger [JOAT]Structure Deviation Ledger
Introduction
Structure Deviation Ledger is an open-source structure-tracking overlay designed to monitor how price behaves around a stepped volatility corridor and pivot-derived structure rails. It combines pivot rail continuation, a stateful stepped midpoint, inner and outer ATR corridors, frozen breakout rails, right-edge structural labels, and an optional TP/SL scaffold when confirmed structural displacement occurs.
The purpose of the script is to answer a practical question: is price still behaving inside accepted structure, or has it displaced far enough to qualify as a meaningful structural event? By scoring deviation relative to a stepped corridor and confirmed pivot rails, the indicator provides a cleaner framework for continuation and failure analysis than simple moving-average crossovers.
Core Concepts
1. Pivot-Derived Structure Rails
Confirmed pivot highs and lows are connected into forward rails. These rails act as the nearest structural references for continuation or failure.
2. Stepped ATR Corridor
The script maintains a stepped midpoint derived from a smoothed basis and ATR logic. The midpoint only reanchors when price stretches far enough to justify a structural adjustment.
3. Confirmed Structural Breaks
A structural break is only promoted when price closes beyond the relevant active rail and also pushes outside the inner corridor. This confirmation rule is designed to reduce weak intrabar noise.
4. Frozen Break Rails
When a fresh break is confirmed, the script freezes a breakout rail and a related context box so the chart retains forward reference after the initial event.
5. Execution Scaffold
On fresh structural expansion or structural pressure events, the indicator can build an informational TP/SL ladder using ATR-based stop distance and configurable R multiples.
Features
Pivot structure rails: Forward-projected high and low rails derived from confirmed pivots
Stepped structure midpoint: State-aware corridor center that does not update every bar like a normal average
Inner and outer ATR corridors: Layered bands for contained vs displaced price behavior
Fresh break detection: Confirmed-bar breakout logic for upside and downside structural events
Frozen break rails and zones: Persistent post-break context on the chart
Right-edge labels: Live labels for midpoint, inner levels, and active rail reference
Optional TP/SL ladder: Entry, stop, TP1, TP2, TP3 with risk/reward fill
Top-right dashboard: Displays current structural state, deviation, corridor levels, and rail count
How to Use This Indicator
Step 1: Read whether price is inside the corridor or displacing beyond it.
Step 2: Compare price to the active high or low rail. These are the nearest structure references.
Step 3: When a fresh confirmed break appears, use the frozen rail and optional ladder as a planning map, not as a guarantee.
Step 4: If price returns back through the corridor after a break, treat that as a sign of failed displacement.
Indicator Limitations
Pivot rails are naturally delayed because pivots require confirmed bars on both sides
Stepped corridors intentionally lag during transitions in order to avoid unstable shifting
A dense market with many pivots can still generate frequent rail updates
The TP/SL ladder is informational only and does not place orders
Originality Statement
Structure Deviation Ledger is original in the way it merges pivot-derived structural rails, a stepped ATR corridor, frozen breakout context, and execution scaffolding into a single open-source structure overlay. Its goal is to provide a reusable institutional structure map rather than a simplified breakout marker.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Structural breaks and corridor deviations are derived from historical price action and do not guarantee future movement. Always use appropriate risk controls.
-Made with passion by jackofalltrades
Indicator

Custom FractalsThis indicator detects custom bullish and bearish fractal formations by identifying confirmed swing highs and swing lows based on user-defined candle structure. A bearish fractal forms when a candle’s high is greater than the surrounding candles, while a bullish fractal forms when a candle’s low is lower than the surrounding candles. Optional RSI confirmation can be applied to filter signals so that bearish fractals only appear in overbought conditions and bullish fractals only appear in oversold conditions. The script can also draw horizontal pivot levels from each confirmed fractal to help visualize potential support and resistance zones.
“Bars Before” controls how many candles to the left of the pivot must confirm the fractal structure, while “Bars After” determines how many candles to the right are required before the signal becomes confirmed. Larger settings create stronger but less frequent fractals, while smaller settings react faster and generate more signals. “Non-Repaint Signals” waits for candle close confirmation before plotting signals to reduce repaint behavior during live market conditions. “Draw Horizontal Pivot Lines” displays support and resistance lines extending from confirmed fractals.
“Limit to Recent Signals Only” restricts how many historical fractals remain visible on the chart, while “Recent Signal Count” defines the maximum number of stored signals and pivot lines. “Use RSI Confirmation” enables momentum filtering using the Relative Strength Index. “RSI Length” controls the RSI calculation period, “RSI Source” selects the price source used for RSI calculations, and the “RSI Overbought” and “RSI Oversold” levels determine where RSI confirmation is required for bearish and bullish fractals.
The pivot line settings allow full customization of the horizontal structure levels. “Pivot Line Length” controls how far the level extends into future candles, while the color, width, and style settings customize the appearance of bullish and bearish pivot zones.
This tool is designed for traders who want to identify potential reversal zones, short-term exhaustion points, and key support or resistance levels using price structure and optional momentum confirmation. Indicator

Auction Lattice Reserve [JOAT]Auction Lattice Reserve
Introduction
Auction Lattice Reserve is an open-source auction-context indicator built to classify where price is trading relative to accepted value. It maps a fixed-lookback volume distribution, calculates Point of Control and Value Area boundaries, scores the current auction state, and then projects that information back onto the chart using profile slices, equilibrium bands, acceptance boxes, and an optional confirmed-bar TP/SL scaffold.
The main problem this script solves is location. Many directional tools can detect trend, but they do not explain whether price is trading above value, below value, or rotating around equilibrium. Auction Lattice Reserve provides that context directly from a rolling auction profile and combines it with trend and volume expansion scoring so the user can distinguish balance, markup, and distribution states.
Core Concepts
1. Fixed-Range Auction Profile
The script scans a configurable lookback window, divides the price span into bins, and apportions each candle's volume into the bins it overlaps. This creates a rolling distribution of where volume was accepted:
int firstBin = math.max(0, math.min(auctionBins - 1, math.floor((localLow - auctionLow) / auctionBin)))
int lastBin = math.max(0, math.min(auctionBins - 1, math.floor((localHigh - auctionLow) / auctionBin)))
2. Point of Control and Value Area
The highest-volume bin becomes the Point of Control. Value Area is expanded outward from the POC until the chosen percentage of total profile volume is captured. This makes the script useful for identifying accepted value and dislocation:
auctionPoc := auctionLow + (auctionPocBin + 0.5) * auctionBin
auctionVaLow := auctionLow + leftBin * auctionBin
auctionVaHigh := auctionLow + (rightBin + 1.0) * auctionBin
3. Auction State Scoring
The indicator does not rely on value alone. It blends distance from POC, trend spread, and short-vs-long volume expansion into an auction score. This creates a more robust state engine than simply checking whether price is above or below the value area.
4. Acceptance and Rejection Context
Price trading outside the value area for consecutive confirmed bars is treated as accepted migration rather than a brief probe. When acceptance is confirmed, the script can project an acceptance box forward and optionally build a TP/SL ladder from the event.
5. Institutional Visualization
The script uses right-side profile slices, layered clouds around value, an equilibrium band, candle-state coloring, and a compact top-right dashboard instead of retail-style arrows or decorative markers.
Features
Rolling auction profile: Fixed-lookback volume profile rendered at the right edge of the chart
Point of Control and Value Area: POC, VA High, and VA Low plotted directly on price
Auction score: Blends volume expansion, trend spread, and distance from equilibrium
Equilibrium band: Mid-band around POC for visual balance context
Acceptance boxes: Forward-projected boxes when price confirms value acceptance above or below the value area
Optional TP/SL scaffold: Confirmed-bar entry, stop, TP1, TP2, TP3 rails with risk/reward fill
Top-right dashboard: Shows current state, POC, value location, volume pressure, trend, and score
Dark-mode visual design: Layered teal, rose, and gold tones tailored to auction concepts
How to Use This Indicator
Step 1: Check whether price is above value, below value, or inside value.
Step 2: Review the auction score and dashboard state. Strong positive values indicate markup pressure. Strong negative values indicate distribution or liquidation pressure.
Step 3: Watch for acceptance boxes. These show that price is no longer only probing value but may be migrating to a new area of acceptance.
Step 4: Use the optional TP/SL scaffold only as a contextual planning aid. It is not a promise of outcome.
Indicator Limitations
Because the profile is rolling, value levels adapt over time and are not static
A short lookback can make the auction map overly sensitive in volatile markets
Acceptance logic requires confirmed bars, so some moves will already be underway when the state changes
The TP/SL scaffold is informational and does not execute trades
Originality Statement
Auction Lattice Reserve is original in the way it combines a rolling auction profile, an equilibrium band, value-acceptance migration logic, and an institutional-style execution scaffold into one open-source indicator. The publication is intended to provide a reusable context layer for traders who want value-based location rather than a standalone entry system.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Auction context and value-area behavior are derived from historical price and volume data and do not guarantee future results. Always use independent judgment and risk management.
-Made with passion by jackofalltrades
Indicator

Retracement Lattice [JOAT]JOAT Retracement Lattice
Introduction
JOAT Retracement Lattice is an open-source retracement and extension framework designed to turn a confirmed swing into a live working map.
It does more than place Fibonacci levels on a chart.
The script manages swing anchors, highlights the OTE pocket, overlays confirmed higher-timeframe retracement structure, shades premium and discount halves, and evaluates response quality inside the active pocket.
The problem it solves is inconsistency.
Manual retracement drawing is useful, but it can also become subjective very quickly.
Anchors are often moved emotionally.
Higher-timeframe confluence is ignored.
The midpoint is overlooked.
The response inside the retracement is treated as equivalent even when it is not.
Retracement Lattice standardizes the active swing and continuously updates the derived structure.
That creates a cleaner framework for pullback analysis, continuation planning, and location-based decision making.
Core Concepts
1. Confirmed Swing Anchor Engine
The lattice begins with a confirmed swing.
Pivot logic and anchor-state management determine which high and low form the active range.
pivotHigh = ta.pivothigh(high, pivotLen, pivotLen)
pivotLow = ta.pivotlow(low, pivotLen, pivotLen)
2. Full Retracement Stack
The script calculates a broad set of retracement and extension levels rather than only the most common ones.
fib236 = levelAt(0.236)
fib382 = levelAt(0.382)
fib500 = levelAt(0.500)
fib618 = levelAt(0.618)
fib705 = levelAt(0.705)
fib786 = levelAt(0.786)
3. OTE Pocket Emphasis
The 0.618 to 0.786 region is emphasized as the main response pocket.
4. Higher-Timeframe Confluence
A confirmed higher-timeframe lattice is projected alongside the local one.
5. Premium and Discount Shading
The upper and lower halves of the swing are shaded relative to the midpoint.
6. Extension Objectives
The active swing also provides continuation targets beyond the range.
7. Response Qualification
The script evaluates whether price is reacting constructively inside the active pocket.
8. Chart-Edge Guidance
Labels and projected guide objects keep the live map readable near the right edge of the chart.
Features
Confirmed anchor-state engine: stable swing selection using pivot confirmation
Expanded retracement stack: 0.236, 0.382, 0.500, 0.618, 0.705, and 0.786
OTE pocket emphasis: the main response zone is highlighted
Extension objectives: continuation levels project beyond the swing
Higher-timeframe confluence: confirmed HTF lattice is shown
Premium / discount shading: auction halves are visible at a glance
Response qualification: pocket interaction is graded instead of assumed
Object-managed edge labels: the current range stays readable
Dashboard: anchor direction, confluence, and pocket state are summarized
Input Parameters
Swing Anchor:
Swing Lookback
Pivot Length
Reverse Orientation
Volume-Validated Pivots
Volume Baseline
Volume Threshold
Higher Timeframe / Display:
Show Higher Timeframe Grid
Higher Timeframe
Show Classic Retracements
Show Minor Levels
Show OTE Band
Show Extensions
Show Dashboard
Confluence Tolerance
Shade Auction
How to Use This Indicator
Step 1: Identify the active swing anchor pair.
Step 2: Check whether price is trading in premium or discount relative to the midpoint.
Step 3: Focus on the OTE pocket when the broader structure supports it.
Step 4: Compare the local lattice to the confirmed higher-timeframe lattice.
Step 5: Use the extensions to organize continuation targets after response.
Indicator Limitations
Anchors settle only after pivot confirmation, which is intentional non-repainting behavior
Strong trends can continue without deep retracement into the pocket
Confluence improves context but does not force a reaction
Retracement tools provide structure, not certainty
Originality Statement
This script is original in how it turns a retracement tool into an active framework with anchor-state management, OTE response logic, premium-discount shading, higher-timeframe confluence, and extension objectives.
The components are unified around one job:
to make pullback location more structured and less subjective.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice.
Retracement and extension levels are analytical references and do not guarantee support, resistance, or target completion.
Use risk management and independent judgment at all times.
Best Use Cases
Structuring pullback analysis after a confirmed directional swing
Comparing local retracement behavior to confirmed higher-timeframe levels
Locating the OTE pocket inside a stable swing map
Planning continuation targets with extension levels
Interpretation Notes
The midpoint is important because it quickly reveals whether price is trading in the premium or discount half of the current auction.
The OTE pocket is most useful when the broader structural narrative already supports the same directional idea.
Higher-timeframe confluence should be treated as context improvement, not as a guarantee that the level must react.
Publication Notes
This script is intended to be published with a clean chart showing the active anchor, the highlighted OTE pocket, and the higher-timeframe overlap when it exists.
The chart example should make the active swing easy to understand.
Avoid clutter from unrelated studies or excessive drawings.
-Made with passion by jackofalltrades
Indicator

Auction Structure Ledger [JOAT]Auction Structure Ledger
Introduction
Auction Structure Ledger is an open-source Pine Script v6 indicator that transforms confirmed pivot behavior into structured auction zones. Instead of treating every swing high and swing low as equally important, the script looks for clustered defended pivots, measures how much volume-confluence exists at those prices, and converts the result into support and resistance shelves that persist, update, and eventually retire as price accepts or fails them.
The problem this indicator solves is structural ambiguity. Many charts contain repeated pivot noise that does not deserve equal visual weight. A single swing high does not automatically represent meaningful supply, and a single swing low does not automatically represent meaningful demand. Auction Structure Ledger filters pivot activity through clustering logic and local volume-confluence so the chart emphasizes defended areas where auction acceptance and rejection are more likely to matter.
The script is useful for traders who think in terms of accumulation, distribution, acceptance, and failure. It does not attempt to forecast the future from one oscillator reading. It organizes the chart around defended reference zones, tracks how price behaves around them, and summarizes the current auction state in a way that can support discretionary analysis or other rule-based systems.
Because it combines pivot clustering with a volume-confluence layer, the indicator is not simply painting boxes around old highs and lows. It is trying to identify where the market repeatedly acknowledged a price region and whether that region still behaves as support or resistance.
Core Concepts
1. Pivot Confirmation And Structural Timing
The script uses `ta.pivothigh()` and `ta.pivotlow()` to confirm swing highs and lows with a symmetric lookback. This means zones are only created after the pivot is actually confirmed, which avoids the false certainty that comes from drawing structure before the right-side bars exist.
float pivotHigh = ta.pivothigh(high, pivotLength, pivotLength)
float pivotLow = ta.pivotlow(low, pivotLength, pivotLength)
This is deliberate non-repainting behavior. The structure appears later than the original pivot candle, but it appears only after the market has confirmed the swing.
2. Clustered Defense Rather Than Single-Pivot Noise
Once a pivot appears, the script scans a configurable cluster window to count how many nearby pivots formed within an ATR-based tolerance. That cluster count becomes part of the zone’s strength score.
This is what gives the ledger its auction logic. A zone becomes more meaningful when the market keeps defending the same approximate level rather than printing a one-off pivot and moving on.
3. Volume-Confluence Layer
The script builds a rolling volume distribution across the current price window and checks how much of that distribution sits at the pivot price. That reading is normalized into a confluence percentage.
In practice, this means a clustered pivot with low local volume-confluence is treated differently from a clustered pivot that sits in a high-activity price region. The first may represent weak structure. The second may represent a more meaningful auction shelf.
4. Support And Resistance Shelf Construction
When a pivot passes the cluster criteria, the script creates a zone with ATR-based width. Resistance shelves are built above price with an offered profile. Support shelves are built below price with a bid profile. Each shelf contains a body, a spine line through the midpoint, and an information label summarizing the zone.
The shelf width is not arbitrary. It scales with ATR so zones remain proportionate across different volatility conditions and instruments.
5. Acceptance And Failure Tracking
After a zone is created, the script continues monitoring it. If price trades within the zone and remains inside it, the shelf is counted as accepted. If price closes through the invalidation side of the shelf, it is counted as failed and eventually removed after a short lifecycle buffer.
That behavior matters because the market is not static. A valid shelf today can become irrelevant after repeated acceptance or a decisive failure.
Features
Cluster-confirmed auction shelves: Builds zones only when pivots cluster within an ATR-based tolerance
Support and resistance separation: Maintains bid-side and offered-side structure independently
Volume-confluence scoring: Measures how much rolling price-volume concentration supports each shelf
ATR-scaled zone width: Keeps shelf geometry adaptive to volatility instead of fixed-width boxes
Acceptance and failure tracking: Continues scoring shelves after creation as price interacts with them
Confluence ribbon: Displays whether current price is trading in a high-confluence region of the rolling ledger
Nearest distance metrics: Shows the ATR distance to the closest active support and resistance shelves
Institutional dashboard: Summarizes support count, resistance count, acceptance rate, failure rate, bias, and strongest zone
Confirmed-bar alert set: Includes bullish ledger, bearish ledger, fresh support, and fresh resistance alerts
Data-window outputs: Exposes structure counts and confluence values for additional interpretation
Visual Elements
Auction shelves: Each zone is rendered as a structured body rather than a simple line so the user can read width and tolerance clearly
Shelf spine: A dotted midpoint line marks the internal balance area of each shelf
Confluence ribbon: The ribbon around price shows whether the current location overlaps with strong rolling confluence
Responsive color logic: Support, resistance, touched, and failed states each alter the way the shelf is displayed
Compact info labels: Each zone carries its own context label so the chart remains interpretable without opening settings
Best Practices
Give more weight to shelves that combine both repeated pivot defense and strong volume-confluence
Watch how price behaves on the first return to a new shelf before assuming the level is strong
Treat accepted zones and failed zones differently because they tell very different auction stories
Use nearest support and resistance ATR distances to understand whether price is extended or structurally balanced
Combine the ledger with your own trigger logic rather than assuming shelf presence alone is a complete trade plan
Input Parameters
Structure Engine:
Pivot Length: Sets how many bars are required on each side of a pivot to confirm it
ATR Length: Controls the volatility measure used for zone sizing and tolerance logic
Shelf ATR Width: Sets the width of each auction shelf relative to ATR
Cluster Window: Defines how far back the script scans for repeated nearby pivots
Cluster ATR Tolerance: Determines how close pivots must be to count as the same structural cluster
Volume Confluence:
Volume Window: Sets the rolling price-volume study range
Volume Bins: Controls the granularity of the confluence distribution
Confluence Strength Threshold: Defines when the ribbon should represent strong price-volume overlap
Show Confluence Ribbon: Toggles the contextual ribbon around price
Display:
Show Dashboard: Enables the top-right structural summary
Color inputs: Allow independent styling for support, resistance, neutral, and panel colors
How to Use This Indicator
Step 1: Start With The Bias Row
The dashboard summarizes whether active support shelves outnumber resistance shelves, whether the market is balanced, and how strong the current ledger looks. This gives immediate context before focusing on individual zones.
Step 2: Identify The Strongest Active Shelf
Check the strongest zone reading and visually locate the shelf with the most emphasis. This is often the most useful structural reference when price approaches an auction boundary.
Step 3: Watch Acceptance Versus Failure
Acceptance means price is interacting with the zone without invalidating it. Failure means price has moved through the wrong side of the shelf. A high failure rate weakens the reliability of the current ledger.
Step 4: Use The Nearest ATR Distances
The dashboard shows the ATR distance to the nearest support and resistance shelves. That helps frame whether price is sitting directly on a structure reference or is trading between meaningful levels.
Step 5: Combine With Your Own Execution Model
Auction Structure Ledger is most useful as a context layer. It defines where defended structure exists. It does not decide entries or exits for you. Use the zones to frame reactions, continuation decisions, or risk placement inside your own process.
Indicator Limitations
Pivot-based structure is inherently delayed because the script waits for right-side confirmation before creating a shelf
A clustered pivot region can still fail immediately if broader market flow overwhelms the local auction structure
Rolling volume-confluence is context-dependent and can shift as the lookback window evolves
Zones are analytical references, not guarantees that support or resistance will hold on the next test
Originality Statement
Auction Structure Ledger is original in the way it turns clustered pivot defense and rolling volume-confluence into a persistent auction map. This is more than a standard support and resistance overlay:
It requires repeated pivot behavior before treating a level as meaningful structure
It combines cluster count and volume-confluence into a unified strength score for each shelf
It tracks acceptance and failure after creation so zones remain part of a living ledger rather than a static drawing layer
It presents the structure through a bias dashboard and confluence ribbon that helps translate zone behavior into usable chart context
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Support and resistance shelves represent historical auction behavior, not guaranteed future turning points. Markets can accept, reject, or ignore any level without warning. Always use independent judgment and appropriate risk management.
-Made with passion by jackofalltrades
Indicator

Foundry Range Ledger [JOAT]Foundry Range Ledger
Introduction
Foundry Range Ledger is an open-source range and auction-structure indicator that maps active supply, active demand, and the live auction corridor between them.
The script is built for traders who need to know where the market is being offered, where it is being defended, and whether price is rotating cleanly between those two points or breaking away from them.
Instead of relying on a large dashboard to explain everything, Foundry is designed so the main value is visible directly on the chart.
The indicator draws split supply and demand boxes, top and bottom rails, an equilibrium reference, an auction corridor, and candle-state coloring so the structure can be read without hunting through text.
The problem Foundry solves is range readability.
Many range indicators either mark too little and disappear once the first break occurs, or they mark too much and become unreadable.
Foundry focuses on a smaller number of cleaner, higher-visibility structures so the trader can immediately understand whether the market is boxed, rotating, absorbing, rejecting, or releasing through an active zone.
Core Concepts
1. Pivot-Derived Supply and Demand Seeding
Foundry begins with confirmed pivot highs and pivot lows.
Each confirmed pivot can seed a new zone.
If a new pivot forms close enough to the prior pivot of the same type, the zone is treated as a stronger cluster rather than as unrelated noise.
This lets the script represent repeated defense or repeated supply more clearly than a single-touch model.
2. Split-Zone Construction
Each zone is drawn as a body with two internal halves.
For supply, the upper half represents the more aggressive offer side and the lower half represents the response pocket below it.
For demand, the lower half represents the more aggressive bid side and the upper half represents the response pocket above it.
This creates a cleaner institutional-style visual than a single flat rectangle.
3. Top, Bottom, and Equilibrium Rails
Foundry does not leave the zone as only a filled box.
Each active zone has clear rails at its boundary and a dashed equilibrium line through its center.
These rails make it easier to judge exactly where price is entering, holding, or releasing from the zone.
4. Participation Inside the Zone
The indicator tracks directional participation inside the active zone.
Touches are counted only when price actually interacts with the zone.
Buy-side and sell-side participation are then compared to determine whether the zone is absorbing or rejecting.
This information drives both state text and the internal color emphasis of the split halves.
5. Auction Corridor Logic
When both an active supply zone and an active demand zone exist at the same time, Foundry calculates the live auction corridor between them.
That corridor is the space where price is rotating between opposing areas of interest.
The script highlights that corridor directly on the chart and adds an equilibrium reference so range traders can see where the market is most balanced.
6. Release and Post-Break Behavior
A zone is not immediately forgotten once price breaks it.
Foundry can keep released zones visible as post-break context, allowing the trader to study whether price is cleanly escaping or coming back to retest the released area.
This is important because the first break is often only part of the story.
The retest frequently matters more than the break itself.
7. Candle-State Coloring
Candles are recolored based on where price is interacting.
If price is trading inside active supply, the candles reflect offer pressure.
If price is trading inside active demand, the candles reflect bid pressure.
If price is rotating in the live corridor, the candles shift toward the neutral response color.
This creates immediate chart feedback without cluttered shapes.
Features
Confirmed supply and demand zones: Zones are seeded from confirmed pivots rather than unconfirmed intrabar motion
Cluster-aware strengthening: Repeated pivots near the same level strengthen the visual and informational quality of the zone
Split zone bodies: Each supply and demand box is divided internally for cleaner auction reading
Boundary rails and midpoint rail: Top, bottom, and equilibrium references remain visible directly on the chart
Auction corridor cloud: When both sides are active, the space between them is highlighted as a live range environment
Stateful release behavior: Broken zones can remain visible as post-break structure instead of vanishing instantly
Retest labels: Optional tags mark when price revisits released structure
Zone interaction candle coloring: Price bars reflect supply interaction, demand interaction, or corridor rotation state
Six-row dashboard: Only the highest-value summary fields remain, keeping the chart as the primary information surface
Confirmed-bar alerts: Alerts are available for releases, retests, active auction states, and balanced corridor conditions
Input Parameters
Range Construction:
Pivot Length: Number of bars required on each side to confirm a pivot
Cluster Tolerance ATR: Distance allowed between repeated pivots before they are treated as one stronger cluster
Zone Width ATR: ATR-scaled depth of each zone
Forward Extend Bars: Number of bars the active zone projects forward on the chart
Minimum Zone Age: Minimum number of bars before a break qualifies as a meaningful release
Context and Behavior:
Show Auction Cloud toggle
Keep Broken Zones toggle
Show Retest Tags toggle
Show Zone Labels toggle
Recolor Candles toggle
Broken Zone Fade Bars: Controls how long released zones remain visible when historical persistence is disabled
Break Body Quality and filter toggle: Prevents weak-body candles from being treated as high-quality releases
How to Use This Indicator
Step 1: Identify Whether Supply, Demand, or Both Are Active
If only supply is active, the market is currently capped from above.
If only demand is active, the market is currently supported from below.
If both are active, price is trading inside a live auction corridor.
That is the first and most important read.
Step 2: Read the Box Geometry, Not Just the Labels
The top and bottom rails define the actual interaction edges.
The dashed midpoint shows the local equilibrium of the zone.
When price enters the zone, watch where it spends time, where it rejects, and whether the candles recolor in the expected direction.
Step 3: Use the Corridor as a Rotation Map
When both zones are active, the space between demand top and supply bottom becomes the tradable balance corridor.
That space is where mean-reversion and auction-style logic are most relevant.
A clean release out of that corridor changes the context immediately.
Step 4: Watch Release Quality
Foundry does not treat every poke outside a zone as equally important.
Body quality can be used as a filter so weak noise does not count the same as committed expansion.
This helps reduce false structural releases.
Step 5: Retests Matter
A released zone that price retests cleanly can be more informative than the initial break itself.
Use the retest labels and the remaining zone structure to judge whether the prior range is truly being left behind or simply probed.
Indicator Limitations
Pivot-based zones confirm only after the pivot is complete, so the script will always favor non-repainting structure over earliest possible marking
If price trends strongly without forming relevant repeat pivots, the indicator may show fewer zones than a more aggressive retail-style detector
A zone is contextual, not predictive; price can ignore supply or demand completely when momentum is strong enough
Balanced corridor conditions do not guarantee rotation and can still resolve into directional continuation
The recolored candle state is contextual feedback, not an entry signal by itself
Originality Statement
Foundry Range Ledger is original in the way it combines pivot-seeded supply and demand bodies, split internal zone construction, visible auction corridor rendering, participation-aware state handling, and post-break structural persistence into one chart-first overlay.
The script is designed to make range structure visually readable, not to hide it behind a large panel or reduce it to generic rectangles.
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not provide financial advice or trading recommendations.
Supply and demand zones can fail, release, or be ignored entirely by price.
Balanced ranges can break violently without warning.
Always use independent confirmation and risk management.
Indicator

Harborside Regime Channel [JOAT]Harborside Regime Channel
Introduction
Harborside Regime Channel is an open-source regime-mapping indicator built to classify whether the market is expanding, compressing, reclaiming balance, or losing structural support inside a live adaptive channel.
The script is designed for traders who need context before they interpret any other signal.
Instead of asking only whether price is above or below a moving average, Harborside studies a pivot-fed centerline, adaptive outer rails, higher-timeframe directional agreement, and volatility compression state at the same time.
The result is a channel that behaves more like an institutional market map than a simple trend overlay.
The problem Harborside solves is regime clarity.
Many trend tools keep printing directional color even while the market is actually compressing inside a narrowing structure.
Many channel tools show a band but do not explain whether that band is healthy, fragile, extended, or aligned with higher-timeframe pressure.
Harborside addresses that by combining channel structure, expansion behavior, and higher-timeframe bias in one chart-first framework.
Core Concepts
1. Pivot-Fed Structural Center
Harborside does not anchor its regime center to a fixed moving average alone.
Instead, confirmed swing highs and swing lows are used to build a rolling center reference.
That center is then smoothed to create a structural balance line.
This matters because the center is linked to confirmed market geometry rather than only to lagging price averages.
The channel therefore breathes with the underlying structure of the market.
2. Adaptive Outer Rails
The upper and lower rails are derived from ATR-scaled expansion around the structural center.
This means the channel naturally widens when volatility expands and contracts when price compresses.
Because the rails are smoothed, they remain readable instead of flickering excessively during intrabar noise.
This creates a cleaner map for determining whether price is stretching, reverting, or breaking into a new directional phase.
3. Regime Flips on Confirmed Structural Breaks
A bullish regime is not assigned merely because price is green for a few bars.
A regime flip occurs when price confirms through the adaptive outer band in the relevant direction.
That regime is then maintained until the opposing side is confirmed.
This makes the indicator more stable than reactive color-on-close style tools.
4. Compression Detection
Harborside measures band width relative to its own historical baseline.
When the band compresses below the configured threshold, the script identifies a meaningful reduction in expansion state.
This compression state is important because trend-following logic behaves very differently when the market is coiled than when it is already moving freely.
Compression is shown directly on the chart and carried into the dashboard state.
5. Projection Rails
The script extends projected center, upper, and lower rails forward using current center slope and ATR-scaled projection logic.
These projected rails are not predictions in the magical sense.
They are forward references showing where the current regime geometry would continue if the active slope persists.
That gives the trader a usable visual frame for stretch, continuation, and mean-reversion decisions.
6. Higher-Timeframe Bias Alignment
Higher-timeframe bias is requested using offset logic intended to avoid repaint-style behavior from incomplete higher-timeframe bars.
Fast and slow higher-timeframe EMA structure is used to determine whether broad directional pressure is supportive, opposing, or neutral.
Harborside does not force the higher-timeframe filter on the user.
It can be enabled or disabled depending on workflow.
7. Regime Health and Confidence
Harborside includes a confidence-style scoring model built from displacement, slope, compression state, and directional bias alignment.
This score is not intended to be a trade system on its own.
It is a context gauge.
A high score means the active regime has cleaner structural support.
A low score means the visible state is weaker or more fragile.
Features
Pivot-fed centerline: The regime center is anchored to confirmed swing structure rather than a static average alone
Adaptive outer rails: ATR-scaled bands expand and contract with changing volatility conditions
Confirmed regime flips: Bull and bear states change only after confirmed structural breaks through the active channel rails
Compression box: Important volatility contraction zones are shown directly on the chart instead of being hidden in a separate pane
Projection rails: Forward rails extend the current channel geometry into future bars for context and stretch awareness
Higher-timeframe bias filter: Optional HTF directional alignment helps separate local moves from larger directional pressure
Regime-colored candles: Candle coloring reflects the active state without relying on cluttered symbols or arrows
Band cloud rendering: The active channel body is filled to make directional structure readable at a glance
Health and confidence diagnostics: The dashboard summarizes regime quality in compact form
Six-row dashboard: The display was intentionally reduced so the chart remains the primary source of information
Confirmed-bar alerts: Alerts are available for regime flips, compression holds, center reclaims, HTF alignment, and high-health states
Input Parameters
Channel Structure:
Swing Length: Number of bars required on both sides to confirm pivots used by the structural center
Band Multiplier: ATR multiplier used to define the channel width
Center Smoothing: Smoothing applied to the structural midpoint
Band Smoothing: Smoothing applied to the upper and lower rails
Bias and Context:
Bias Timeframe: Higher timeframe used for optional directional confirmation
Compression Lookback: Baseline window used to measure channel contraction
Compression Threshold: Band-width threshold below which the market is treated as compressed
Volume Bias Filter: Volume impulse threshold used to label directional support
Projection:
Projection Bars: Number of bars projected forward
Projection ATR Multiplier: Width factor used for forward rails
Projection Slope Multiplier: How strongly current center slope influences the forward center projection
Display:
Show Band Cloud toggle
Show Compression Box toggle
Show Projection Rails toggle
Recolor Candles toggle
Show Dashboard toggle
How to Use This Indicator
Step 1: Read the State from the Chart First
Start with the channel itself.
Is price controlling the upper side of the structure, the lower side, or compressing near the center?
The rails and cloud are meant to answer that visually before the dashboard is consulted.
Step 2: Check Compression Before Chasing Direction
If the compression box is active, treat the market as coiled rather than trending cleanly.
That does not mean price cannot move.
It means breakout quality matters more than ordinary directional drift.
Step 3: Use Projection Rails as Forward Reference
Projection rails are best used for context.
If price is already far outside projected geometry, the market may be stretched.
If price is traveling inside projected structure, continuation is behaving more normally.
Step 4: Compare Local Regime to HTF Bias
If the local regime and higher timeframe agree, directional conditions are cleaner.
If they disagree, treat the move with more caution.
That disagreement often marks either a pullback or a weak local thrust against broader pressure.
Step 5: Use Health and Confidence as Filters, Not Commands
High confidence does not guarantee follow-through.
Low confidence does not guarantee failure.
The score is there to grade structural quality, not to replace decision-making.
Indicator Limitations
Pivot-based structure is intentionally confirmed after the swing forms, so the centerline will never anticipate future pivots
Projection rails are structural references, not forecasts of what price must do next
HTF alignment is delayed by design because the script uses completed higher-timeframe values for safer non-repainting behavior
Compression can persist longer than expected, so directional patience is still required
Harborside is a context framework and should not be treated as a guaranteed entry system on its own
Originality Statement
Harborside Regime Channel is original in the way it combines a pivot-fed structural center, ATR-adaptive regime rails, explicit compression logic, forward projection rails, and optional higher-timeframe agreement into one coherent chart-first overlay.
The value of the script is not any one component in isolation.
It is the way those components interact to show whether the market is healthy, stretched, compressing, or structurally aligned.
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not provide financial advice, investment advice, or trading recommendations.
Any regime reading can fail, reverse, or degrade suddenly due to news, liquidity changes, or ordinary market uncertainty.
Always use independent confirmation and risk management.
Indicator

Indicator

eXeTRADE Main Dual Score Signal Indicator# eXeTRADE-Main — Dual-Score Signal Indicator
**Trend • Support/Resistance • Higher-Timeframe • Backtest — all in one score**
---
## What it does
eXeTRADE-Main is a multi-factor signal indicator built for medium-to-experienced traders on **1H, 4H, and Daily** timeframes. It calculates **Long and Short scores independently** from five weighted layers — Trend, Support/Resistance, Momentum, Higher Timeframe, and Risk/Reward — and produces three signal grades:
- **Strong Buy / Sell** — score ≥ 90
- **Normal Buy / Sell** — score ≥ 75
- **Range Buy / Sell** — when R:R ≥ 3.0
The indicator is designed for **plan-driven, low-risk trading**. It auto-detects trend lines and parallel channels, ranks the top three S/R levels by strength, runs a weekly Best-MA backtest, and applies a **Proximity Gate** that penalises signals fired too close to a strong opposing level — the most common cause of immediate reversals.
## Key features
- Dual scoring — Long and Short calculated independently (0–100 scale)
- 14-MA + Best-MA weekly backtest (Trade / Long / Short / S/R averages auto-tuned)
- 3-layer trend line + parallel channel auto-detection with break tracking
- Pivot-based S/R with touch counting and violation tracking; top 3 selected by strength
- HTF context — EMA50/200, RSI, pivot, Ichimoku cloud, and volume folded into the score
- **Proximity Gate** — soft-block or hard-block when entry sits within 0.5×ATR of opposing S/R
- Built-in backtest engine with S/R trailing stop
- Position-management panel for manual entry / TP / SL tracking
- Single consolidated master alert (one alert covers every signal and trail event)
## How to read the chart
Numbered markers on the cover image:
1. **Score Panel** — current Long/Short scores with delta arrows, ATR, and trail status
2. **Top S/R Levels** — three strongest levels, ranked by point score
3. **Backtest Results** — trade count, win/loss, win rate, total P/L, max drawdown
4. **Buy Signal** — green triangle marks Strong / Normal / Range Buy entries
5. **Trail Exit** — yellow × marks where the trailing stop was hit
6. **Auto Trend Lines** — multi-layer trend with parallel channels
## Important settings
- **Backtest Period** — 1 Mo / 3 Mo / 6 Mo / 1 Yr / All
- **Entry Mode** — Single (one position) or Multi (pyramiding)
- **Signal Levels** — Strong (default 90) and Buy/Sell (default 75) thresholds
- **Proximity Gate Mode** — Off / Warning / Soft Block / Hard Block
- **HTF Auto-Bump** — automatically lifts the HTF reference one level if the chart TF matches HTF
## Alerts
A single **master alert** is recommended — it fires for every signal and trail event in one channel. Individual alerts (Strong Buy, Strong Sell, Trail Hit, Channel Break, etc.) are also available if granular control is preferred.
## Best on
4H and Daily timeframes for **Forex pairs, XAUUSD, XAGUSD, and major equities**. Not recommended below 1H — short-timeframe noise reduces score reliability.
## Disclaimer
This indicator is a decision-support tool, not financial advice. **Always define stop-loss and exit plan before entry.** Past performance does not guarantee future results. Trade at your own risk.
---
*Comments and feedback are welcome.*
Indicator

Market Pivot LevelsTired of automated support and resistance indicators that clutter your chart with dozens of overlapping, noisy lines?
The Market Pivot Levels indicator is designed to map core market structure exactly like a professional technician would—cleanly, precisely, and without the noise. Instead of drawing a line at every single minor fluctuation, this script uses advanced filtering logic to identify true structural zones and spaces them out beautifully across your chart.
Key Features:
ATR Proximity Filter (No Clutter): Standard pivot scripts often stack lines on top of each other during consolidation. This script uses an Average True Range (ATR) proximity filter. If a new pivot forms too close to an existing major level, it ignores it, ensuring your chart only displays distinct, well-spaced tradeable zones.
Psychological Price Snapping: Human traders don't draw lines at random decimals like $196.19—they look for clean, psychological numbers. This script automatically takes the exact wick of a structural swing and snaps it to the nearest whole dollar (e.g., $196.00), mimicking a human hand.
Flush Right-Aligned Labels: Forget hovering over lines to see their value. Custom price tags are dynamically magnetized to the far right of your screen, sitting perfectly flush with your standard price axis for immediate readability.
Stealth UI: We believe in clean charts and clean interfaces. All underlying parameters (lookbacks, ATR multipliers, line thickness) are hardcoded and hidden from the settings menu to keep your PulseWire UI completely minimalist. It is strictly plug-and-play.
How it Works Under the Hood:
By default, the script looks for highly granular micro-swings (1-bar lookback), but relies on the 1.0 ATR distance multiplier to filter out the noise. The result is a highly responsive, custom price grid that adapts to the specific volatility of whatever ticker you are trading. It keeps a maximum of 20 active levels on the screen, automatically cleaning up old, irrelevant zones as new price action develops.
How to Use It:
Simply drop it onto any chart timeframe. Use the automatically generated yellow zones for breakout entries, strict stop-loss placements, or profit targets during extended trends. Indicator

Indicator

Resistance & Support Dynamic PRO [ChartWhizzperer]Resistance & Support Dynamic PRO | Algorithmic Zones by ChartWhizzperer
The revolution in chart hygiene.
Most support and resistance indicators share a massive flaw: they turn your chart into an unreadable mess of endless lines and boxes within hours. They possess no memory, no filters, and crucially – no logic for self-cleaning.
As a system architect, I developed the Resistance/Support Dynamic™ PRO to solve this problem mathematically. This open-source indicator does not merely draw zones. It evaluates them, ages them, and purges them when they become obsolete.
CORE FEATURES (Why this indicator is different):
Smart Mitigation Protocol (Purge Logic): Once a zone has been breached or chopped by the market too many times, it loses its institutional relevance. The algorithm detects these structural breaks (strikes) and permanently purges the dead zone from the chart. No more ghosting.
Alpha Decay Engine: Nothing lasts forever – especially not in trading. Zones fade over time (transparency scales mathematically with the zone's age). Current hotspots are highly visible, whilst older levels smoothly fade into the background.
Volume Validation: Not every pivot point represents genuine Smart Money. If this filter is active, an S/R zone is only drawn if the origin candle exhibits above-average volume (SMA-verified).
ATR-Based Sizing & Overlap Guard: The thickness of the zones dynamically adapts to market volatility (ATR). Furthermore, the overlap guard prevents new zones from being drawn over existing ones, preventing visual clutter.
Examine the source code: This is not spaghetti code. It is highly efficient, object-oriented Pine Script (v6) featuring clean array management and User-Defined Types (UDTs).
THE BITTER TRUTH OF TRADING (And the next logical step)
This indicator provides you with the ultimate map. It shows you with clinical precision exactly where Smart Money has left liquidity.
However, a map does not pull the trigger. Ask me for more!
Disclaimer
Signals and alerts are provided for informational purposes only and do not constitute financial advice or a recommendation to buy or sell.
Trading involves substantial risk and may result in the total loss of capital. Execution via third-party tools may differ from alerts. Past performance is not indicative of future results. Indicator

Pressure Zone Analyzer [JOAT]Pressure Zone Analyzer
Introduction
The Pressure Zone Analyzer is an advanced open-source support/resistance indicator that combines dynamic pivot-based zone detection, Fibonacci level analysis, institutional level tracking, zone strength scoring, and multi-timeframe analysis into a comprehensive pressure zone intelligence system. This indicator helps traders identify where significant buying and selling pressure exists, where institutional levels act as magnets for price, and which zones have the highest probability of holding.
Unlike basic support/resistance indicators that draw static horizontal lines, this analyzer dynamically tracks pressure zones based on pivot points, calculates zone strength using volume, touches, and age, integrates Fibonacci golden zone analysis, monitors institutional weekly/daily levels, and provides real-time position assessment. The indicator is designed for traders who understand that not all support/resistance levels are equal and that zone quality determines trading success.
Why This Indicator Exists
This indicator addresses the challenge of identifying high-quality support and resistance zones in real-time. Markets respect some levels and ignore others. By systematically analyzing zone characteristics, this indicator reveals:
Dynamic Pressure Zones: Identifies support and resistance zones based on pivot points with automatic updates
Zone Strength Scoring: Calculates zone quality (0-100%) using volume, touch count, and age
Fibonacci Integration: Tracks key Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and golden zone (50-61.8%)
Institutional Levels: Monitors weekly and daily highs/lows that act as institutional reference points
Premium/Discount Zones: Identifies institutional buying zones (discount 0-30%) and selling zones (premium 70-100%)
Multi-Timeframe Analysis: Tracks higher timeframe levels for additional confluence
Position Assessment: Provides real-time analysis of price position relative to all zones
Each component provides different zone intelligence. Pivot-based zones show where price reversed, strength scoring shows zone quality, Fibonacci shows mathematical levels, institutional levels show reference points, premium/discount shows institutional bias, and position assessment shows current market context. Together, they create a comprehensive pressure zone system.
Core Components Explained
1. Dynamic Pivot-Based Zone Detection
Pressure zones are identified using pivot highs and lows:
float pivotHigh = ta.pivothigh(high, pivotLength, pivotLength)
float pivotLow = ta.pivotlow(low, pivotLength, pivotLength)
When a pivot high is detected, a resistance zone is created:
if not na(pivotHigh) and barstate.isconfirmed
PressureZone newZone = PressureZone.new()
newZone.zoneLine := line.new(bar_index - pivotLength, pivotHigh, bar_index + 50, pivotHigh,
color=resistanceColor, width=2, extend=extend.right)
newZone.price := pivotHigh
newZone.startBar := bar_index - pivotLength
newZone.zoneType := "resistance"
newZone.volumeAtZone := volume
Similarly for support zones with pivot lows. Zones are stored in arrays and automatically managed (old zones are removed when maximum count is reached).
Zone thickness is calculated as a percentage of price:
calcZoneThickness(float price, float thicknessPercent) =>
float thickness = price * (thicknessPercent / 100)
Default thickness is 0.5% of price, creating a zone rather than a single line. This accounts for the fact that support/resistance is a zone, not a precise price level.
2. Zone Strength Scoring System
Zone strength is calculated using three weighted components:
calcZoneStrength(int touches, float volAtZone, int age, float volWeight, float touchWeight, float ageWeight) =>
// Volume score (0-1)
float avgVolume = ta.sma(volume, 50)
float volScore = avgVolume > 0 ? math.min(volAtZone / avgVolume, 3.0) / 3.0 : 0.5
// Touch score (0-1)
float touchScore = math.min(touches / 5.0, 1.0)
// Age score (0-1) - newer zones score higher
float ageScore = math.max(1.0 - (age / 500.0), 0.0)
// Weighted combination
float strength = (volScore * volWeight) + (touchScore * touchWeight) + (ageScore * ageWeight)
Default weights:
Volume Weight: 40% - Higher volume at zone formation indicates institutional interest
Touch Weight: 30% - More touches indicate stronger zone
Age Weight: 30% - Newer zones are more relevant than old zones
Strength interpretation:
> 70%: Strong zone - high probability of holding
50-70%: Moderate zone - decent probability of holding
< 50%: Weak zone - lower probability of holding
The indicator tracks touches in real-time:
for zone in resistanceZones
if inZone(high, zone.price, thickness)
zone.touches += 1
zone.volumeAtZone := math.max(zone.volumeAtZone, volume)
Each touch increases zone strength, and high-volume touches increase it further.
3. Fibonacci Level Analysis
Fibonacci levels are calculated based on recent swing range:
calcFibLevels(float high, float low) =>
float priceRange = high - low
float fib236 = low + (priceRange * 0.236)
float fib382 = low + (priceRange * 0.382)
float fib500 = low + (priceRange * 0.500)
float fib618 = low + (priceRange * 0.618)
float fib786 = low + (priceRange * 0.786)
The indicator focuses on key levels:
50% (0.5): Equilibrium level - often acts as support/resistance
61.8% (0.618): Golden ratio - strongest Fibonacci level
Golden Zone is calculated as the area between 50% and 61.8%:
calcGoldenZone(float high, float low) =>
float priceRange = high - low
float goldenTop = low + (priceRange * 0.618)
float goldenBottom = low + (priceRange * 0.5)
The golden zone represents optimal entry area with best risk:reward ratio. Entries in the golden zone allow tight stops below 50% with targets at swing high.
4. Institutional Level Tracking
The indicator monitors key institutional reference levels:
Weekly High/Low:
float lastWeekHigh = request.security(syminfo.tickerid, "W", high ,
barmerge.gaps_off, barmerge.lookahead_off)
float lastWeekLow = request.security(syminfo.tickerid, "W", low ,
barmerge.gaps_off, barmerge.lookahead_off)
Daily High/Low:
float yesterdayHigh = request.security(syminfo.tickerid, "D", high ,
barmerge.gaps_off, barmerge.lookahead_off)
float yesterdayLow = request.security(syminfo.tickerid, "D", low ,
barmerge.gaps_off, barmerge.lookahead_off)
These levels act as magnets for price because:
Institutional algorithms reference these levels for order placement
Retail traders watch these levels for breakouts/breakdowns
Options and futures contracts often reference these levels
Previous day/week ranges provide context for current price action
5. Premium/Discount Zone System
Based on weekly range, the indicator calculates institutional bias zones:
float weekRange = lastWeekHigh - lastWeekLow
// Premium Zone (70-100% of range) - Institutional selling zone
float premiumTop = lastWeekHigh
float premiumBot = lastWeekLow + (weekRange * 0.7)
// Discount Zone (0-30% of range) - Institutional buying zone
float discountTop = lastWeekLow + (weekRange * 0.3)
float discountBot = lastWeekLow
// Golden Zone (50-61.8% of range) - Optimal entry zone
float goldenTop = lastWeekLow + (weekRange * 0.618)
float goldenBot = lastWeekLow + (weekRange * 0.5)
Trading logic:
In Discount Zone: Look for long entries - institutions are likely buying
In Premium Zone: Look for short entries - institutions are likely selling
In Golden Zone: Optimal risk:reward for entries in direction of trend
Between Zones: Neutral area - wait for price to reach discount or premium
This concept is based on institutional order flow: institutions buy in discount zones (value area) and sell in premium zones (overvalued area).
6. Multi-Timeframe Level Analysis
The indicator tracks higher timeframe levels for additional confluence:
float htfHigh = request.security(syminfo.tickerid, htfTimeframe, high ,
barmerge.gaps_off, barmerge.lookahead_off)
float htfLow = request.security(syminfo.tickerid, htfTimeframe, low ,
barmerge.gaps_off, barmerge.lookahead_off)
HTF timeframe is customizable (default: Daily). When current timeframe zones align with HTF levels, confluence increases zone strength.
7. Real-Time Position Assessment
The indicator continuously assesses price position:
// Check if in golden zone
bool inGoldenZone = close >= goldenBottom and close <= goldenTop
// Check if near resistance
bool nearResistance = false
for zone in resistanceZones
if inZone(close, zone.price, thickness * 2)
nearResistance := true
// Check if near support
bool nearSupport = false
for zone in supportZones
if inZone(close, zone.price, thickness * 2)
nearSupport := true
Position status:
AT RESISTANCE: Price near strong resistance zone - consider shorts or exits
AT SUPPORT: Price near strong support zone - consider longs or exits
GOLDEN ZONE: Price in optimal entry area - look for entries in trend direction
NEUTRAL: Price not near any significant zones - wait for better positioning
Visual Elements
Pressure Zone Lines: Horizontal lines showing resistance (red) and support (green) zones
Zone Strength Boxes: Filled boxes showing only strongest zones (strength > 60%) with strength percentage
Fibonacci Lines: Key Fibonacci levels (50% and 61.8%) with distinct colors
Golden Zone Fill: Shaded area between 50% and 61.8% Fibonacci levels
Institutional Lines: Weekly high/low (purple, thick) and Daily high/low (yellow, medium)
HTF Lines: Higher timeframe high/low (cyan) for additional confluence
Premium/Discount Fills: Shaded zones showing premium (red), discount (green), and golden (orange) areas
Position Markers: Visual alerts when price enters golden zone or approaches strong zones
Comprehensive Table: Dashboard showing top 2 resistance zones, top 2 support zones, institutional levels, Fibonacci levels, and current position status
Input Parameters
Pressure Zone Settings:
Zone Detection Length: Period for swing range calculation (default: 50, range: 20-200)
Pivot Length: Period for pivot detection (default: 10, range: 5-50)
Max Zones: Maximum zones to display (default: 8, range: 4-20)
Zone Thickness Percent: Zone width as percentage of price (default: 0.5%, range: 0.1-2.0%)
Fibonacci Settings:
Show Fibonacci Levels: Toggle Fib lines (default: enabled)
Show Golden Zone: Toggle golden zone fill (default: enabled)
Institutional Levels:
Show Last Week High/Low: Toggle weekly levels (default: enabled)
Show Yesterday High/Low: Toggle daily levels (default: enabled)
Strength Scoring:
Show Zone Strength: Toggle strength boxes (default: enabled)
Volume Weight: Weight for volume component (default: 0.4, range: 0.0-1.0)
Touch Weight: Weight for touch component (default: 0.3, range: 0.0-1.0)
Age Weight: Weight for age component (default: 0.3, range: 0.0-1.0)
Multi-Timeframe:
HTF Timeframe: Higher timeframe for level tracking (default: Daily)
Show HTF Levels: Toggle HTF lines (default: enabled)
Colors:
All colors are fully customizable including resistance, support, Fibonacci, golden zone, HTF levels, and institutional levels.
How to Use This Indicator
Step 1: Identify Strongest Zones
Look at the table to see top 2 resistance and support zones with strength percentages. Focus on zones with strength > 70%.
Step 2: Check Institutional Levels
Monitor weekly and daily highs/lows. These act as magnets for price and often provide strong support/resistance.
Step 3: Assess Premium/Discount Position
Determine if price is in premium zone (look for shorts), discount zone (look for longs), or golden zone (optimal entries).
Step 4: Look for Fibonacci Confluence
When pressure zones align with Fibonacci levels (especially 50% and 61.8%), zone strength increases significantly.
Step 5: Monitor Position Status
Check the table's position row. "AT RESISTANCE" or "AT SUPPORT" signals potential reversal or bounce areas.
Step 6: Wait for Zone Tests
Don't chase price. Wait for price to return to strong zones before entering. The best entries occur when price tests a zone and shows rejection.
Step 7: Use HTF Confluence
When current timeframe zones align with HTF levels, probability of zone holding increases. Look for these high-confluence areas.
Best Practices
Use on 15-minute to 4-hour timeframes for optimal zone clarity
Focus on zones with strength > 70% - these have highest probability of holding
Multiple touches increase zone strength - zones that held before are likely to hold again
Golden zone entries offer best risk:reward - tight stops with large targets
Premium/discount zones work best in trending markets
Weekly levels are stronger than daily levels - prioritize weekly when they conflict
Wait for price to reach zones - don't anticipate, react
Look for volume confirmation when zones are tested - high volume rejections are strongest
Combine with price action - zones show where, price action shows when
HTF confluence significantly increases zone strength - prioritize these areas
Indicator Limitations
Zones don't always hold - even strong zones can break during major news or trend changes
Zone strength is relative to recent history - not absolute
Pivot-based detection requires sufficient price history - may not work on newly listed instruments
Maximum zone limits (8 default) mean some valid zones may not be displayed
Zone thickness is a percentage - may be too wide or narrow for some instruments
Premium/discount zones are relative to weekly range - not absolute value areas
Fibonacci levels are based on recent swing - may not align with longer-term structure
The indicator shows zones, not direction - requires trader interpretation
Works best on liquid instruments with clear support/resistance behavior
Zone strength scoring is a guide, not a guarantee - strong zones can still fail
Technical Implementation
Built with Pine Script v6 using:
Custom type definition for PressureZone with strength tracking
Array-based storage for resistance and support zones
Pivot-based zone detection with confirmation
Multi-component zone strength scoring
Touch and volume tracking for each zone
Fibonacci level calculations
Golden zone identification
Multi-timeframe security requests for institutional levels
Premium/discount zone calculations based on weekly range
Real-time position assessment
Dynamic table with 13 rows showing all metrics
Overlap prevention for visual clarity
Automatic zone cleanup when maximum count is reached
The code is fully open-source and can be modified to suit individual trading styles and preferences.
Originality Statement
This indicator is original in its comprehensive pressure zone analysis. While individual components (pivot-based S/R, Fibonacci, institutional levels) are established concepts, this indicator is justified because:
It synthesizes five distinct zone analysis methodologies into a unified system
Zone strength scoring combines volume, touches, and age with customizable weights
Automatic zone management prevents clutter while highlighting strongest zones
Integration of Fibonacci golden zone with pivot-based zones
Premium/discount zone system based on institutional order flow concepts
Multi-timeframe level tracking for confluence analysis
Real-time position assessment provides actionable trading context
Comprehensive table shows all metrics simultaneously for holistic analysis
Overlap prevention ensures clean charts without sacrificing information
Each component contributes unique zone intelligence: pivot zones show where price reversed, strength scoring shows zone quality, Fibonacci shows mathematical levels, institutional levels show reference points, premium/discount shows institutional bias, HTF levels show confluence, and position assessment shows current context. The indicator's value lies in presenting these complementary perspectives simultaneously with quantitative strength scoring and intelligent display management.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Pressure zone analysis is a tool for identifying potential support and resistance areas, not a crystal ball for predicting future price movement. Strong zones, high strength scores, and institutional levels do not guarantee profitable trades. Past zone behavior does not guarantee future zone behavior. Market conditions change, and strategies that worked historically may not work in the future.
The zones and levels displayed are mathematical calculations based on current market data, not predictions of future price movement. High-strength zones can break, golden zone entries can fail, and institutional levels can be violated. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Automatic Trendline [Metrify]Metrify Automatic Trendlines is an auto-drawing support/resistance channel built around pivot clustering + scoring, not “connect two perfect points”. The script continuously collects swing pivots (high/low) over a configurable lookback window, then searches for the best single support line and the best single resistance line that behave like a human-drawn trendline: multiple interactions, controlled slope, limited break-throughs, and (most importantly) still relevant to the current price. (configurable in "Max Relevance Distance" input)
The fundamental problem with algorithmic trendlines is subjectivity. To solve this mathematically, we treat trendlines as a statistical regression problem with specific constraints. We do not use linear regression on all candles, instead, we use a brute-force iterative approach on specific "Pivot Points."
The logic operates on a simple premise: Generate every possible line between past swing points, validate them against price history, score them based on fit, and render only the winner.
The Calculation Engine (f_find_best_line)
This function contains the primary computational load. It performs a nested loop operation:
Outer Loop (newer): Iterates through recent pivots.
Inner Loop (older): Iterates through older pivots to form a candidate line segment.
For every pair of pivots (P1,P2), we calculate the slope (m) and the y-intercept concept. This gives us a tentative trendline equation:
y=mx+c
The Scoring Matrix
We assign a score to each candidate line based on weighted heuristics:
Touch Count (touches * 2.8): The primary driver. More touches = higher statistical significance.
Recency (recency * 1.2): Lines originating closer to the current price action are weighted higher.
Tightness (avgErr): We calculate the average distance of all touches from the line. A "tighter" fit (lower error) increases the score.
Penalties:
violations * 2.2: False breaks heavily penalize the score.
barBreakRatio * 2.0: If the line cuts through candle bodies (even if pivots are fine).
The line with the highest localBest score is returned as the dominant trendline.
What you can use it for?
This is a structure visualizer that tries to keep a clean, current S/R channel on screen with volatility-aware rules. It’s not a signal generator, it doesn’t predict breakouts, and it won’t always draw something, if the market is messy and no line survives the filters, it will show none instead of hallucinating geometry. If you need more lines (multiple concurrent channels), that’s a different design tradeoff (and usually becomes clutter + false confidence fast). Indicator

Indicator

Indicator
