Acceptance Failure Path Map [AGPro Series]Acceptance Failure Path Map
🧠 Core Idea
Did price truly accept beyond a market boundary, or did that acceptance fail and create a new reaction path?
📌 Overview / What it does
Acceptance Failure Path Map is a market-structure visualization tool designed to study acceptance, failed acceptance, reclaim attempts, and continuation behavior around a defined reference range.
The script maps an acceptance band, detects whether price holds above or below that band, and highlights when accepted price fails back through the boundary. It produces compact labels, a centered path zone, right-side state tags, and an AG Pro panel that summarizes the current acceptance context.
It does not predict price direction, automate decisions, or claim that any acceptance event must continue. Its purpose is to make acceptance quality easier to read.
🎯 Purpose & Design Philosophy
This script was built for traders who want to understand whether a move is being accepted by the market or rejected after a temporary push beyond structure.
Many breakout tools mark only the breakout event. This script focuses on what happens after the breakout: acceptance, failure, reclaim pressure, and continuation risk.
The design supports a patient, context-first workflow where the trader reads the path of price around a boundary instead of reacting to a single candle.
⚡ Why This Script Is Different
Most tools focus on breakout signals, support and resistance touches, or simple range breaks.
This script does NOT treat every break as meaningful acceptance.
Instead, it builds a path map around acceptance quality, failure timing, reclaim behavior, and current risk state. The result is a cleaner view of whether price is holding acceptance or losing it.
⚙️ Methodology
1. Context Detection
The script builds a reference range from recent market structure and applies an ATR-based buffer to reduce noise.
2. Reference Mapping
It defines upper and lower acceptance boundaries and tracks whether price closes beyond them for the required number of bars.
3. Reaction Evaluation
After acceptance appears, the script monitors whether price fails back through the boundary, attempts reclaim, or holds continuation.
4. Visual Output
The chart displays an acceptance path zone, event labels, right-side state tags, and a panel summarizing the current condition.
🗺️ How to Read the Chart
Zones show the current acceptance path area around the active boundary.
Labels highlight acceptance above, acceptance below, acceptance failure, reclaim tests, and held acceptance.
Colors separate bullish acceptance, bearish acceptance, neutral failure risk, and reclaim context.
The panel shows the current path state, acceptance side, failure risk, path quality, reference range, active boundary, and next context.
🚦 Signals & States
• ACCEPT ABOVE → Price has accepted above the reference boundary.
• ACCEPT BELOW → Price has accepted below the reference boundary.
• ACCEPT FAIL → Accepted price failed back through the boundary within the failure window.
• RECLAIM TEST → Price is testing reclaim after a failed acceptance event.
• ACCEPT HELD → Acceptance remained valid after the failure window.
🔔 Alerts Logic
Alerts trigger when the script detects acceptance above, acceptance below, acceptance failure, or reclaim testing.
These alerts are attention markers. They are not trade instructions, entry signals, or guaranteed outcomes.
🧩 Confluence Logic
The context becomes stronger when acceptance quality, distance from the reference range, participation, and follow-through direction align.
If acceptance appears without follow-through or quickly returns through the boundary, the failure context becomes more important.
📊 When to Use
• After range breaks
• Around support and resistance transitions
• During breakout retests
• When price is attempting to hold above or below a major boundary
• When evaluating whether market structure is accepted or rejected
⚠️ When NOT to Use
• Extremely illiquid markets
• Very noisy low-timeframe candles
• News-driven spikes with unstable spreads
• Markets with no meaningful reference range
• Situations where a single indicator is being used without broader context
🎛️ Key Inputs
• Reference Range Length → controls how much structure is used to build the acceptance boundary.
• Acceptance Bars → controls how many closes are required before acceptance is recognized.
• Failure Window → controls how quickly accepted price must fail back through the boundary.
• Boundary Buffer ATR → adjusts the buffer around the reference range.
• Label and Panel Font Size → adjust chart readability.
• Visible Band Bars and Band Projection Bars → control how the acceptance zone appears on the chart.
🖥️ Interface & Visual Design
The interface is designed for a premium, clean chart view.
The panel provides the current summary. The acceptance zone carries the main story. Labels are compact and spaced to avoid hiding candles.
The visual hierarchy is intentionally simple: zone first, current state second, event labels third.
🧪 Practical Usage Workflow
1. Read the AG Pro panel to identify the current path state.
2. Check whether price is above, below, or inside the acceptance path zone.
3. Review recent labels to understand whether acceptance held, failed, or reclaimed.
4. Compare the current failure risk and path quality with broader market context.
5. Use alerts only as attention markers for further review.
🔍 Interpretation Guidelines
Acceptance is stronger when price remains outside the boundary with follow-through.
Acceptance failure is more meaningful when price quickly returns through the boundary after appearing accepted.
Reclaim tests should be interpreted as context changes, not automatic reversal signals.
Held acceptance suggests the market is continuing to respect the accepted side, but it still requires confirmation from broader structure.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not provide guaranteed buy or sell signals.
It does not replace risk management, market context, or independent analysis.
⚠️ Limitations & Transparency
Acceptance behavior can look different across timeframes.
High volatility can create temporary false readings.
Low-liquidity markets may produce unstable boundary behavior.
The script is rule-based and depends on the selected settings, symbol behavior, and chart timeframe.
🧠 Market Context Notes
Acceptance and failure are closely related to market structure, liquidity reaction, and participant commitment.
When price breaks a boundary but cannot hold it, the failed side may become the more important context.
When price accepts and holds, the market may be showing stronger directional commitment.
🧾 Use Case Examples
When price accepts above a range and holds beyond the failure window, the chart may show an ACCEPT HELD context.
When price accepts above a boundary but quickly closes back below it, the script may mark ACCEPT FAIL.
When price returns back toward a failed boundary, the script may show a RECLAIM TEST state.
🧱 System Philosophy
AGPro Series tools are built to visualize market context without turning analysis into prediction.
The goal is to make structure, risk, and reaction quality easier to observe in real time.
🔐 Non-Promise Statement
No script can guarantee market direction, timing, or outcome.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, risk management, and position sizing.
This script does not provide financial advice or guaranteed trading results.
📚 Educational Note
Use this script as a learning and analysis tool for studying acceptance, failed acceptance, reclaim pressure, and continuation behavior around market boundaries.
Indicatore

Indicatore

Initial Balance Suite [ChartSmith]Initial Balance Suite tracks the high, low, and midpoint established during a configurable opening window, then projects extension levels and archives prior sessions — giving you a complete picture of the day's structural framework from the first bar after the IB closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IS THE INITIAL BALANCE?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Initial Balance is the price range established during the opening period of a session — traditionally the first hour of RTH trading. The high and low formed during this window define the day's foundational structure. When price stays inside the IB, the market is balancing. When price breaks out of it, the market is entering price discovery. Extension levels above and below the IB project how far that discovery might reach.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SESSION SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Session Start — Set the hour and minute at which the IB window begins. Defaults to 9:30, the RTH open.
Timezone — Aligns the session start to the correct local time. Options: America/New_York · America/Chicago · Europe/London · Asia/Tokyo · UTC.
IB Length — Controls how long the opening window runs before the IB is considered complete. Available options: 30s · 1m · 2m · 3m · 5m · 10m · 15m · 30m · 1hr · 2hr · 4hr. The IB high and low accumulate bar by bar throughout this window, locking in the final levels only when the window closes.
Note: your chart timeframe must be shorter than or equal to the selected IB length for the levels to calculate correctly.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INITIAL BALANCE LEVELS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
IB High (IBH) — The highest price reached during the IB window.
IB Low (IBL) — The lowest price reached during the IB window.
IB Mid (IBM) — The midpoint of the IB range: (IBH + IBL) / 2.
Fill Area — Shades the region between IBH and IBL to visually define the balance zone.
Extend Right — Extends all IB lines to the right edge of the chart until the next session begins.
Each level has independent color, width, and line style (Solid / Dashed / Dotted) controls.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EXTENSION LEVELS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Extension levels project above IBH and below IBL using multiples of the IB range. Each level can be toggled and colored independently.
+/− 50% — IBH/IBL ± (0.5 × IB Range)
+/− 100% — IBH/IBL ± (1.0 × IB Range)
+/− 150% — IBH/IBL ± (1.5 × IB Range)
+/− 200% — IBH/IBL ± (2.0 × IB Range)
+/− 300% — IBH/IBL ± (3.0 × IB Range)
All extensions share a global width and style setting. Extensions are off by default — enable Show Extensions to display them.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PREVIOUS DAYS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Completed sessions are automatically archived and displayed as prior-day reference levels. Each prior session is restyled with its own color, width, and line style so it stays visually distinct from the current session.
Days to Show — Controls how many prior sessions are kept on the chart (1–10). Sessions beyond this count are deleted automatically.
Fill Area — Optionally shades the prior session's IBH-to-IBL range. Off by default.
Show Extensions — Optionally carries prior session extension lines forward. Off by default.
When a new session begins, the current IB is immediately reclassified as a prior-day level — no manual management required.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LABELS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Labels appear at the right edge of each line and display the level name alongside its current price, formatted to the instrument's minimum tick. Size options: Auto · Tiny · Small · Normal · Large · Huge.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Twelve alert conditions are built in, all gated so they only fire after the IB has fully formed:
- IBH Cross Up / IBL Cross Down
- IBH Touch / IBL Touch
- +50% Cross Up / −50% Cross Down
- +100% Cross Up / −100% Cross Down
- +200% Cross Up / −200% Cross Down
- +300% Cross Up / −300% Cross Down
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
USAGE NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- The IB locks in the moment the opening window closes — levels will not repaint after that point.
- Extensions default to off. Enable Show Extensions first, then toggle individual levels.
- Previous session extensions are also off by default and are controlled separately from the current session under Previous Days → Show Extensions .
- To use with non-US sessions, adjust both the Session Start time and the Timezone to match your exchange. Indicatore

Indicatore

Opening Range + Session Windows + Volume ProfileOpening Range + Session Windows + Volume Profile
This is a revised repost of my previous script version that trended on the TradingView community indicators page. The script has been rewritten, renamed, and cleaned up so the publication follows TradingView House Rules more closely.
The goal of this indicator is to make intraday session structure easier to read from one chart.
Opening range levels can be useful, but they are much more useful when viewed with nearby volume-based context. A move away from the opening range is not always the same type of move. It can be moving into an area where volume previously built, away from an area where volume was thin, or toward a level where participation has already concentrated.
This script is built to help show that context visually.
📊 What the script shows
• Opening range high, low, and range box
• Configurable session windows
• Current session volume profile
• Previous session volume profile
• POC, HVN, and LVN levels
• Live and prior session node labels
• A terminal-style HUD for session state, trend, range size, POC, HVN, LVN, and impulse counts
• A pressure meter based on session volume standard deviation
• Filtered buy-volume and sell-volume impulse labels
🧠 Why it was built this way
The script is designed around one main idea: the opening range should not be viewed in isolation.
A breakout, rejection, or rotation around the opening range can look completely different depending on where volume is sitting around price. If price is moving into a high-volume area, that can suggest a different type of environment than price moving through a thinner low-volume area. If a prior POC or volume node is nearby, that may also change how a trader studies the move.
This indicator does not try to replace analysis. It simply brings the important intraday structure into one clean visual layout so the user can study the session with more context.
⚙️ How to use it
1. Set the main session and opening range times in the settings.
2. Use the opening range box to mark the first part of the session.
3. Watch how price behaves around the current and prior volume nodes.
4. Use POC, HVN, LVN, and session levels as structure references.
5. Use the HUD to quickly read session state, trend, range size, and active nodes.
6. Use the volume gauge and impulse labels to study stronger participation events.
7. Adjust the session windows to match the market and timezone you trade.
🔁 Current vs prior levels
Live session levels are labeled as LIVE .
Previous session levels are labeled as PRIOR .
This makes it easier to separate developing session structure from levels carried forward from the last completed session.
⚡ Volume impulse labels
The volume impulse labels are intentionally filtered. They are not meant to appear on every volume increase. The script only prints them when participation is stronger than normal based on the selected settings.
This helps keep the chart cleaner and prevents the indicator from turning into a label-heavy mess.
🕒 Session windows
The session windows are visual time references only. They are fully configurable from the settings and can be adjusted, enabled, or disabled depending on the market being viewed.
⚠️ Important notes
This is not a trading system.
This script does not place trades, issue alerts to buy or sell, provide financial advice, or tell the user what action to take. It is a decision-support tool for studying intraday structure, volume location, session context, and participation.
FOR PINECODERS TEAM: Promotional references, branding, and unclear wording have been removed, and this description has been expanded so users can understand the purpose of the tool without needing to read the Pine code. I cannot, within reason, direct users any further regarding specific use of this indicator as to avoid providing any form of financial advice. It is a framework tool for various use-cases outlined above.
The user is responsible for their own analysis, risk management, and execution decisions.
✅ Best used on
Intraday charts where opening range structure and volume context matter, including index futures, stocks, ETFs, and other liquid instruments with meaningful volume data. Indicatore

Liquidity Vacuum Recovery Map [AGPro Series]Liquidity Vacuum Recovery Map
🧠 Core Idea
Did price leave a liquidity vacuum, and is the market repairing that vacuum or rejecting the repair attempt?
📌 Overview / What it does
Liquidity Vacuum Recovery Map is a price-action visualization tool built to study displacement, imbalance, liquidity void behavior, and repair progress after a strong directional candle.
The script identifies high-quality displacement candles, builds an active vacuum zone from the body of that move, tracks how deeply price revisits the zone, measures repair progress, highlights rejection risk, and summarizes the full recovery context inside a compact AG Pro panel.
It does not predict future price, automate trades, or claim that every vacuum must be filled. It is a structured map for reading whether a thin participation area is still open, partially repaired, fully repaired, or being rejected.
🎯 Purpose & Design Philosophy
Many traders can see a fast displacement move after it happens.
The harder question is what comes next:
Is the market repairing the move, respecting the void, or rejecting the return into that area?
This script was built to answer that question visually. It helps traders read imbalance recovery, repair quality, rejection pressure, and next-context conditions without turning the chart into a generic signal board.
⚡ Why This Script Is Different
Most liquidity void tools focus on drawing static gaps, imbalance boxes, or historical void areas.
This script does NOT treat a vacuum as a passive rectangle on the chart.
Instead, it tracks the life cycle of the vacuum after displacement: creation, first repair, half repair, full repair, and rejection risk. The focus is not only where the vacuum is. The focus is whether the market is actively repairing it or refusing to repair it.
⚙️ Methodology
1. Displacement Detection
The script reviews candle range expansion, candle body commitment, close drive, and volume participation to identify a meaningful displacement candle.
2. Vacuum Zone Mapping
When the displacement qualifies, the script builds a vacuum zone from the strongest portion of the candle body. Bullish displacement leaves a repair zone below price. Bearish displacement leaves a repair zone above price.
3. Repair Progress Tracking
The script tracks how far price penetrates back into the active vacuum zone and converts that movement into a repair progress percentage.
4. Rejection Evaluation
If price enters the zone but moves away before full repair, the script evaluates whether the repair attempt is being rejected.
5. Quality Scoring
Vacuum quality combines range expansion, body commitment, close drive, and volume participation into a 0-100 score.
6. Visual Output
The chart displays the active vacuum zone, repair progress fill, midpoint reference, right-side repair tags, event labels, alerts, and a compact AG Pro decision panel.
🗺️ How to Read the Chart
Liquidity Vacuum Zone = the thin participation area left behind by a strong displacement candle.
Repair Progress Fill = the portion of the vacuum that price has already revisited.
VAC HIGH / VAC LOW = the active upper and lower boundaries of the vacuum zone.
REPAIR tag = the current repair progress score on the right side of the chart.
VACUUM OPEN = a qualified vacuum exists, but repair has not meaningfully started.
REPAIRING = price has started revisiting the vacuum zone.
REPAIR COMPLETE = price has repaired most or all of the active vacuum.
REJECTION RISK = price entered the vacuum zone but moved away before full repair.
Panel = summarizes vacuum state, quality score, vacuum type, repair progress, rejection risk, target zone, and next context.
🚦 Signals & States
• BULL VACUUM LEFT → bullish displacement created a vacuum below price.
• BEAR VACUUM LEFT → bearish displacement created a vacuum above price.
• REPAIR START → price has started entering the active vacuum zone.
• REPAIR HALF → price has repaired at least half of the active vacuum zone.
• REPAIR COMPLETE → price has repaired most or all of the active vacuum zone.
• REPAIR REJECTION → price entered the vacuum zone but rejected away before full repair.
🔔 Alerts Logic
Alerts can trigger when a qualified vacuum is created, repair starts, half repair is reached, full repair is reached, or repair rejection appears.
These alerts are attention markers only.
They are not trade instructions, entry signals, exit signals, or guaranteed outcomes.
🧩 Confluence Logic
The context becomes stronger when a high-quality displacement candle creates a clear vacuum, price revisits the zone, repair progress reaches a meaningful threshold, and rejection risk remains low.
The context becomes weaker when the vacuum is old, repair progress is incomplete, and price repeatedly rejects away from the zone.
📊 When to Use
• After strong displacement candles
• During imbalance and liquidity void analysis
• Around fast breakout or breakdown moves
• When evaluating whether a move is being repaired
• When studying continuation versus retracement behavior
• On liquid markets where candles and volume are meaningful
⚠️ When NOT to Use
• In extremely low-liquidity markets
• During highly erratic news candles
• On symbols with unreliable volume data
• When price is moving in tiny noisy candles without displacement
• As a standalone buy or sell system
🎛️ Key Inputs
• Minimum Displacement Range → controls how large a candle must be relative to average range.
• Minimum Body / Range → controls how committed the displacement candle body must be.
• Minimum Close Drive → controls how strongly the candle must close toward its direction.
• Vacuum Zone Body Share → controls how deep the vacuum zone is drawn inside the displacement body.
• Repair Start / Half / Complete Percent → controls the repair progress thresholds.
• Rejection Buffer ATR → controls how far price must move away before rejection risk is detected.
• Projection Bars → controls how far the active zone extends to the right.
• Label and Panel Font Size → controls chart readability.
🖥️ Interface & Visual Design
The visual design is built around one active story:
Where is the vacuum, how much of it has been repaired, and what is the current repair state?
The zone creates the main map, the repair fill shows progress, right-side tags keep the structure readable, event labels mark important moments, and the AG Pro panel summarizes the decision context.
🧪 Practical Usage Workflow
1. Read the panel first.
2. Check whether the script shows an active vacuum.
3. Review the vacuum quality score.
4. Look at repair progress.
5. Check whether rejection risk is low, medium, or high.
6. Use the vacuum boundaries as context areas, not automatic trade levels.
7. Confirm the broader market structure independently.
🔍 Interpretation Guidelines
A vacuum left behind by strong displacement can remain open for a long time.
Repair progress means price has revisited part of the zone.
Full repair means the active vacuum has mostly been revisited.
Rejection risk means the market attempted to repair the zone but moved away before completing the repair.
None of these states guarantee what happens next.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a financial advice tool.
It is not an automated trading system.
It does not guarantee that price will fill a vacuum.
It does not guarantee continuation after rejection.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Vacuum detection depends on candle behavior, volatility, volume, and timeframe.
Different timeframes may show different vacuum structures.
Some markets repair quickly, while others leave open void areas for long periods.
Volume-based scoring may be less reliable on symbols with incomplete or synthetic volume.
High volatility can create visually large zones that should be interpreted with extra caution.
🧠 Market Context Notes
Liquidity vacuums are most useful when interpreted as participation gaps rather than guaranteed magnets.
A repaired vacuum can signal that the market revisited a prior thin area.
A rejected vacuum can signal that the market respected the displacement path and refused deeper repair.
The best interpretation comes from combining vacuum context with structure, volatility, liquidity, and higher-timeframe conditions.
🧾 Use Case Examples
When price leaves a strong bullish displacement candle and later returns into the vacuum zone, traders can monitor whether repair progress increases smoothly or gets rejected near the upper part of the zone.
When price leaves a strong bearish displacement candle and later returns into the vacuum zone, traders can monitor whether the market fully repairs the move or rejects back below the zone.
When repair progress reaches half repair but rejection risk rises, the active context may become more fragile.
🧱 System Philosophy
Liquidity Vacuum Recovery Map is part of the AGPro Series approach:
Build visual tools that explain market context clearly, avoid hype, avoid prediction claims, and support structured decision-making.
The goal is not to tell users what to do.
The goal is to help users see what the market is doing more clearly.
🔐 Non-Promise Statement
No script can remove uncertainty from trading.
This tool does not promise accuracy, certainty, profitability, or future performance.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
Users are responsible for their own decisions, position sizing, risk management, and interpretation.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use this script as a structured way to study displacement, liquidity vacuum behavior, repair progress, and rejection context.
The most valuable output is not a single label.
The value is the full map: vacuum, repair, rejection, quality, and next context.
Indicatore

Range Control Transfer Map [AGPro Series]Range Control Transfer Map
🧠 Core Idea
Who controls the range now, and did control transfer from the buyer side to the seller side or from the seller side to the buyer side?
📌 Overview / What it does
Range Control Transfer Map is a range-control visualization tool built to study sideways markets where price rotates between upper and lower boundaries.
The script builds a mature range, separates it into buyer-control and seller-control zones, maps the internal control transfer band, tracks acceptance through that band, scores transfer quality, monitors failed-transfer risk, and summarizes the current control state in a compact AG Pro panel.
It does not predict future price, automate trades, or claim that a control-transfer event must continue. It is a structured decision-support map for reading range control, acceptance, failed transfer risk, and next-context conditions.
🎯 Purpose & Design Philosophy
Many range tools answer only one question:
Where are support and resistance?
This script was built to answer a more useful question:
Who controls the range now?
The design goal is to help traders separate passive sideways movement from meaningful control transfer inside a mature range.
⚡ Why This Script Is Different
Most range tools draw a box, mark the high, mark the low, and stop there.
This script does NOT treat every range touch as equally important.
Instead, it divides the range into buyer-control and seller-control halves, watches the midpoint transfer band, checks candle body commitment, reviews volume participation, evaluates range health, and tracks whether the active control side is still protected or starting to fail.
The focus is not only where the range is.
The focus is who is gaining or losing control inside it.
⚙️ Methodology
1. Range Detection
The script identifies a working range using recent high/low structure, ATR-normalized range height, and repeated edge interaction.
2. Range Health Scoring
Range Health combines range height balance, edge-touch behavior, and current position relative to the control line.
3. Control Zone Mapping
The upper half becomes the Seller Control Zone.
The lower half becomes the Buyer Control Zone.
The midpoint area becomes the Control Transfer Band.
4. Transfer Evaluation
When price accepts through the transfer band with enough candle body commitment, the script evaluates whether buyer or seller control has transferred.
5. Transfer Quality Scoring
Transfer Quality combines range health, candle body commitment, and volume participation into a 0-100 score.
6. Failure Risk Review
The script monitors whether the active transfer is losing the transfer band and moving back toward control reset.
7. Visual Output
The chart displays buyer/seller control zones, the control transfer band, active transfer labels, failed-transfer labels, right-side control tags, alerts, and a compact AG Pro panel.
🗺️ How to Read the Chart
Seller Control Zone = the upper half of the mature range where seller-side control is evaluated.
Buyer Control Zone = the lower half of the mature range where buyer-side control is evaluated.
Control Transfer Band = the internal midpoint band where control handoff is judged.
SELLER CONTROL = price has accepted through the transfer band in favor of the seller side.
BUYER CONTROL = price has accepted through the transfer band in favor of the buyer side.
BALANCE = the range is mature, but neither side has clean active control.
RANGE BUILDING = the current structure is not mature enough for control-transfer mapping.
Panel = summarizes control side, transfer quality, range health, failure risk, control zone, and next context.
🚦 Signals & States
• CONTROL TRANSFER UP → buyer-side control transfer detected.
• CONTROL TRANSFER DOWN → seller-side control transfer detected.
• FAILED BUYER CONTROL → buyer-side transfer failed back through the control band.
• FAILED SELLER CONTROL → seller-side transfer failed back through the control band.
• BUYER EDGE CONTROL → price reacts from the lower control side.
• SELLER EDGE CONTROL → price reacts from the upper control side.
• BALANCE → no clean control transfer is active.
• RANGE BUILDING → the structure is not mature enough yet.
🔔 Alerts Logic
Alerts trigger when a major range-control event appears.
• Buyer Control Transfer → buyer-side transfer detected.
• Seller Control Transfer → seller-side transfer detected.
• High-Quality Control Transfer → transfer quality reaches the required threshold.
• Failed Control Transfer → active control transfer loses the control band.
• Buyer Edge Control → optional alert for lower-edge control reaction.
• Seller Edge Control → optional alert for upper-edge control reaction.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• The range has enough ATR-normalized height
• The range has repeated edge interaction
• Price accepts through the transfer band
• Candle body commitment supports the transfer direction
• Volume participation is not weak
• Transfer Quality is above the required threshold
• Failure Risk remains low after the transfer
• The panel state agrees with the chart label
When these elements do not align, the script avoids treating every range movement as a meaningful control shift.
📊 When to Use
• Range-control review
• Sideways market analysis
• Buyer/seller control mapping
• Failed transfer review
• Range acceptance study
• Crypto, stocks, futures, forex, and liquid markets
• 15m, 30m, 1H, 4H, and 1D charts
⚠️ When NOT to Use
• Very low-liquidity assets
• Extremely noisy micro timeframes
• Strong news spikes that distort range structure
• Clean one-directional trend environments with no mature range
• Markets where every midpoint cross is being over-interpreted
• Situations where a single label is expected to act as a guaranteed signal
🎛️ Key Inputs
• Range Lookback → defines the recent structure window used for range high, range low, and control line.
• Minimum Range Height ATR → defines the minimum range height required for a meaningful control map.
• Maximum Range Height ATR → prevents very wide structures from being treated as clean range-control maps.
• Use Intraday Adaptive Range → allows intraday charts to keep useful control maps without making higher-timeframe charts too noisy.
• Edge Touch Tolerance ATR → controls how close price must come to a range edge to count as an edge interaction.
• Control Band ATR → controls the thickness of the internal transfer band.
• Minimum Transfer Score → defines the quality threshold for meaningful control transfer.
• Minimum Body / Range → controls how much candle body commitment is required.
• Volume Confirm Ratio → defines how much participation is required for full volume credit.
• Failure Buffer ATR → controls where an active transfer starts to fail.
• Maximum Transfer Age → defines how long an active transfer can remain under review.
🖥️ Interface & Visual Design
The visual hierarchy is built around the active range:
The full range box defines the structure.
The upper half shows seller-control territory.
The lower half shows buyer-control territory.
The transfer band marks the internal handoff area.
Event labels mark control transfer and failed-control states.
Right-side tags keep buyer control, seller control, and transfer references visible.
The AG Pro panel compresses the current range-control context into a fast, readable summary.
🧪 Practical Usage Workflow
1. Read the panel Control Side.
2. Check whether the chart is Range Building, Balance, Buyer Control, or Seller Control.
3. Review where price is relative to the Control Transfer Band.
4. If a transfer label appears, compare it with Transfer Quality.
5. Watch whether Failure Risk remains low or starts rising.
6. Use the buyer and seller control zones as context areas, not automatic trade levels.
7. Confirm with broader market structure, liquidity, volume, and risk planning.
🔍 Interpretation Guidelines
A buyer-control transfer does not guarantee upside continuation.
A seller-control transfer does not guarantee downside continuation.
A failed-transfer label means the active control idea weakened.
A range-building state means the structure is not mature enough yet.
The script is best used as a range-control context layer, not as a standalone trading system.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a simple support/resistance box.
It is not another generic range breakout indicator.
⚠️ Limitations & Transparency
Range quality depends on timeframe and market structure.
Very volatile markets can expand beyond a clean control map.
Low-liquidity symbols may create unreliable edge and transfer behavior.
Choppy markets can create repeated control-transfer attempts.
Volume behavior can differ across crypto, stocks, futures, and forex.
🧠 Market Context Notes
Ranges often move through recognizable control phases:
range building → balance → control transfer → defense → failure or continuation.
This script visualizes that sequence so users can avoid treating every support or resistance touch as equally meaningful.
🧾 Use Case Examples
If price accepts through the transfer band from the lower half, the script may mark CONTROL TRANSFER UP.
If price accepts through the transfer band from the upper half, the script may mark CONTROL TRANSFER DOWN.
If an active buyer-control transfer loses the band, the script may mark FAILED BUYER CONTROL.
If an active seller-control transfer loses the band, the script may mark FAILED SELLER CONTROL.
🧱 System Philosophy
The goal is not to predict the next breakout.
The goal is to understand control inside the range.
This script treats range behavior as a sequence:
structure → control zone → transfer band → acceptance → defense or failure.
🔐 Non-Promise Statement
No control-transfer label guarantees continuation.
No failed-transfer label guarantees reversal.
No range zone guarantees support or resistance.
All outputs should be interpreted as analytical context.
📉 Risk Disclosure
Trading involves risk.
This script is for educational and analytical purposes only.
It does not provide financial advice, investment advice, or guaranteed trading outcomes.
Users are fully responsible for their own decisions, risk management, and trade execution.
📚 Educational Note
Use the script to study how control shifts inside mature ranges.
The most useful question is not only where the range high and low are.
The better question is whether control has actually transferred inside the range.
Indicatore

Quantitative Smart Money Concepts Framework# Quantitative SMC Framework
An implementation of Smart Money Concepts that combines market structure (BOS / CHoCH / MSS), order blocks, fair value gaps, liquidity sweeps, equal highs/lows, and premium/discount zones into a single confluence framework. The methodology itself is public trading theory from Inner Circle Trader (ICT). The algorithms used to detect each component, and the scoring system that ties them together, are original work.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THESE COMPONENTS BELONG IN ONE SCRIPT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SMC trading depends on confluence. A standalone order block is information, but an order block that sits inside a discount zone, overlaps an active fair value gap, and forms after a liquidity sweep is a setup. Pulling those components from separate indicators forces a trader to eyeball alignment by hand. This script computes alignment directly:
— Order blocks are scored 0–100 based on size, displacement at creation, volume, and overlap with any active FVG on the same side.
— Premium/Discount is anchored to the last major structural event (not the visible range), so confluence with structure is automatic.
— Sweep detection is referenced to actual minor pivots, so a sweep label only appears at structurally meaningful levels — levels where structural reactions often occur.
— Equal highs / lows highlight the liquidity pools that sweeps target.
The output is a single chart where these confluence elements appear together in one place.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
IMPLEMENTATION NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ Adaptive pivot engine
The default pivot detection confirms a swing only when price retraces by ATR × multiplier rather than after a fixed bar window. Pivot density adapts to volatility — fewer pivots on trending days, tighter ones on chop. A fixed-window mode is available for traders who prefer the classic approach.
◆ Order block quality filter
Instead of taking the last opposite candle before a break, the engine scans a 30-bar structural window and selects the most-extreme candle that passes three filters: body-to-range ratio ≥ 25%, range < 2.5 × ATR (no outlier candles), and above-average volume by a configurable multiplier. The volume filter is optional.
◆ Market Structure Shift vs Change of Character
When a CHoCH occurs, the breaking candle is checked for displacement (body size ≥ multiplier × ATR). Displacement breaks are labelled MSS, non-displacement reversals stay labelled CHoCH. This separates impulsive trend reversals from soft ones.
◆ AVWAP-anchored Premium/Discount
Equilibrium is computed as a volume-weighted average price anchored at the last trend reversal (CHoCH/MSS), not as the midpoint of the visible range. The anchor resets only on a genuine trend change, so continuation BOSes do not invalidate the level. A classic range-midpoint mode is available as an alternative.
◆ Strict liquidity sweep detection
A sweep is flagged only if the wick pokes through a recent minor structural pivot (not a rolling max/min), the wick is at least 0.8 × ATR, the wick is at least 35% of the candle's total range, and 8 bars have passed since the last same-direction sweep. This significantly reduces signal frequency compared to simple wick-based detection without pivot reference or cooldown.
◆ Fair Value Gap fade mode
When an FVG is mitigated, it can either be removed (classic behaviour) or rendered semi-transparent so historical imbalances and price reactions remain visible. An ATR-based minimum size filter removes micro-gaps.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFLUENCE SCORE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each order block carries an optional 0–100 score:
— Size contribution (0–30): zone height relative to ATR
— Displacement contribution (0–30): body size of the breaking candle relative to ATR
— Volume contribution (10–20): above-average volume at zone creation
— FVG overlap (0–20): an active fair value gap of the same side intersects the zone
The score appears as a small label on each zone when enabled. A minimum-score filter hides everything below a chosen threshold.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Start on a 1D chart with default settings. Use the major structure (BOS / CHoCH / MSS) to set bias. The setup the scoring system is designed to surface is a high-score order block inside a discount zone, overlapping an FVG, formed after a liquidity sweep. For timeframes below 4H, increase the pivot ATR multiplier to 2.5–3.0 to reduce noise.
Live display mode keeps only the most recent structural elements on the chart. All History mode keeps the full archive — useful for visual backtesting, but slower.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COMPONENTS AND SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
— Major and minor market structure: BOS, CHoCH, MSS, iBOS, iCHoCH
— Adaptive ZigZag or fixed-window pivot engine
— Order blocks with quality filter, wick or close mitigation
— Fair value gaps with optional fade mode and ATR size filter
— Equal highs / equal lows with ATR-based tolerance
— Liquidity sweeps with cooldown between same-direction signals
— Premium / Discount via AVWAP or range midpoint
— Previous day / week / month highs, lows, and midpoints
— Mono or accent colour themes
— Optional bar painting by minor bias
— Alerts on every structural and signal event
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Smart Money Concepts methodology is public trading theory from Michael Huddleston (Inner Circle Trader). The implementation here — adaptive pivot engine, quality-filtered order blocks, AVWAP-anchored premium/discount, scoring system, and strict sweep detection — is independent work.
Feedback and bug reports welcome in the comments. Indicatore

Breakout Participation Gate [AGPro Series]Breakout Participation Gate
🧠 Core Idea
Does the breakout have enough participation and structure to deserve attention?
📌 Overview / What it does
Breakout Participation Gate is a breakout validation tool built to separate structured breakouts from weak breaks and fakeout-prone moves.
The script builds upper and lower breakout gate levels from recent structure, evaluates breakout candle quality, checks relative volume, body commitment, close location, trend context, retest behavior, expansion potential, and fakeout risk.
It does not predict price direction, automate trades, or claim that a gate-open event must continue. It is a structured visualization and decision-support tool for breakout participation review.
🎯 Purpose & Design Philosophy
Breakouts are among the most searched and most misunderstood market events.
Many tools mark every move above resistance or below support.
This script was built to ask a stricter question:
Did the breakout pass the participation gate?
The design goal is to help traders avoid treating every structural break as equally meaningful.
⚡ Why This Script Is Different
Most breakout tools focus on the break itself.
This script does NOT mark every breakout as valid.
Instead, it checks whether the breakout had enough relative volume, body commitment, close location, range expansion, trend context, and retest behavior. It also keeps the active gate visible so users can watch whether the breakout holds, expands, or fails back inside the structure.
⚙️ Methodology
1. Context Detection
The script identifies recent upper and lower gate levels using a structure lookback.
2. Breakout Qualification
When price closes beyond a gate, the script scores participation through volume, candle body, close location, range expansion, and trend context.
3. Gate Classification
High-quality breakouts can become GATE OPEN events. Lower-quality breaks can be classified as WEAK BREAK.
4. Retest Evaluation
After a gate opens, the script projects a retest shelf and watches whether price defends the shelf.
5. Fakeout and Expansion Review
The script tracks whether price closes back inside the gate shelf or expands beyond the active gate with acceptable participation.
6. Visual Output
The chart displays breakout gate lines, retest shelf, event labels, right-side tags, alerts, and a compact AG Pro panel.
🗺️ How to Read the Chart
Upper Gate = recent upper structure level that price must break to start an upside gate evaluation.
Lower Gate = recent lower structure level that price must break to start a downside gate evaluation.
Breakout Retest Shelf = the active zone around the gate where retest behavior is evaluated.
GATE OPEN = breakout passed the participation gate.
WEAK BREAK = price broke the gate but participation quality was not strong enough.
RETEST HOLD = price defended the active retest shelf after the breakout.
FAKEOUT RISK = price closed back inside the gate shelf after the breakout.
EXPANSION READY = price expanded beyond the gate while participation remained acceptable.
Panel = summarizes gate status, quality score, direction, relative volume, body commitment, retest health, fakeout risk, and next context.
🚦 Signals & States
• GATE OPEN → breakout passed the participation gate.
• WEAK BREAK → price broke structure but did not show enough participation quality.
• GATE WATCH → active gate is being monitored after a breakout.
• RETEST HOLD → active retest shelf was defended.
• FAKEOUT RISK → price closed back through the gate shelf.
• EXPANSION READY → price expanded beyond the gate with acceptable participation.
• WAIT BREAKOUT → no active gate has been triggered.
🔔 Alerts Logic
Alerts trigger when a major breakout-gate state appears.
• Breakout Gate Open → breakout passed the participation gate.
• Weak Breakout → price broke a gate level without enough participation quality.
• Breakout Retest Hold → active retest shelf was defended.
• Breakout Fakeout Risk → price closed back inside the gate shelf after the breakout.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• Price closes beyond a defined structure gate
• Relative volume is above normal
• Candle body commitment is strong
• Close location supports the breakout direction
• Range expands versus ATR
• The breakout direction agrees with trend context
• Retest behavior respects the active gate shelf
When these elements do not align, the script avoids treating the breakout as automatically valid.
📊 When to Use
• Breakout validation
• Failed breakout review
• Retest planning
• Trend continuation review
• Crypto, stocks, futures, forex, and liquid markets
• 15m, 30m, 1H, 4H, and 1D charts
⚠️ When NOT to Use
• Very low-liquidity assets
• Extremely noisy micro timeframes
• Symbols with unreliable volume
• News-driven spikes where structure can be distorted
• Markets where every wick break is being over-interpreted
• Situations where a single breakout label is expected to act as a guaranteed signal
🎛️ Key Inputs
• Gate Structure Lookback → defines the recent structure window used for upper and lower gates.
• Breakout Close Buffer ATR → controls how far beyond the gate price must close.
• Minimum Breakout Relative Volume → defines how much participation is required for strong volume credit.
• Minimum Body Commitment % → controls how much candle body participation is required.
• Gate Quality Threshold → separates gate-open breakouts from weak breaks.
• Retest Evaluation Window → defines how long the active gate shelf remains under review.
• Retest Shelf Width ATR → controls the thickness of the retest shelf around the active gate.
• Expansion Ready Distance ATR → defines when a breakout has expanded far enough to be monitored as continuation-ready.
• Event Label Mode → Premium focuses on higher-quality gate states. Detailed allows more weak-break labels.
🖥️ Interface & Visual Design
The visual hierarchy is built around the gate:
Gate lines define the structure.
The retest shelf shows where the breakout should hold.
Event labels mark gate-open, weak-break, retest-hold, fakeout-risk, and expansion-ready states.
Right-side tags keep the active gate context visible.
The AG Pro panel compresses the current breakout context into a fast, readable summary.
🧪 Practical Usage Workflow
1. Read the panel gate status.
2. Check whether price has broken the upper or lower gate.
3. Compare quality score with the event label.
4. Watch the active retest shelf.
5. Check whether price holds, expands, or fails back inside the gate.
6. Confirm with broader market structure, liquidity, volume, and risk planning.
🔍 Interpretation Guidelines
A gate-open label does not guarantee continuation.
A weak-break label does not guarantee reversal.
A retest-hold label means the active shelf was defended according to the script's rules.
A fakeout-risk label means the breakout structure weakened.
The script is best used as a breakout-quality layer, not as a standalone trading system.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a simple support/resistance breakout marker.
⚠️ Limitations & Transparency
Breakout quality depends on market structure and liquidity.
Volume behavior can differ across crypto, futures, stocks, and forex.
Choppy ranges can create repeated weak-break and fakeout states.
Different timeframes may show different gate behavior.
Highly volatile news events can distort breakout quality.
🧠 Market Context Notes
Breakouts are strongest when structure, candle commitment, participation, and retest behavior align.
The first break is only one part of the story.
The active gate shelf helps users watch whether the market accepts the breakout after the first impulse.
🧾 Use Case Examples
If price closes above the upper gate with strong participation, the script may mark GATE OPEN.
If price breaks a gate but quality is weak, the script may mark WEAK BREAK.
If price returns to the active shelf and defends it, the script may mark RETEST HOLD.
If price closes back through the shelf, the script may mark FAKEOUT RISK.
🧱 System Philosophy
The goal is not to chase every breakout.
The goal is to filter breakout attention.
This script treats breakout quality as a sequence:
structure break → participation gate → retest shelf → expansion or failure.
🔐 Non-Promise Statement
No breakout label guarantees continuation.
No weak-break label guarantees reversal.
No retest label guarantees a successful trend move.
All outputs should be interpreted as analytical context.
📉 Risk Disclosure
Trading involves risk.
This script is for educational and analytical purposes only.
It does not provide financial advice, investment advice, or guaranteed trading outcomes.
Users are fully responsible for their own decisions, risk management, and trade execution.
📚 Educational Note
Use the script to study which breakouts attract real participation and which breaks fail to hold their gate.
The most useful question is not only whether price broke structure.
The better question is whether the breakout deserved attention after the break.
Indicatore

Historical Liquidity Proximity Heatmap [LuxAlgo]The Historical Liquidity Proximity Heatmap indicator highlights historical swing levels closest to the current price, using a volumetric heatmap to visualize potential areas of support and resistance.
One buy-side and sell-side volume-weighted average is also returned to provide clear breakout indications.
🔶 USAGE
This tool is designed to identify where significant liquidity resides by tracking historical pivot points and sorting them based on their proximity to the current price. By focusing on levels nearest to the market, traders can see a real-time "map" of potential structural obstacles or targets.
🔹 Identifying Liquidity Clusters
The indicator plots dots representing the nearest historical pivot highs (above price) and pivot lows (below price). When multiple dots are tightly packed together, it indicates a significant liquidity zone where historical price action was concentrated. The color of these dots is determined by the volume recorded at the time the pivot was formed:
High-Contrast Colors: Represent pivots formed on high volume, suggesting stronger institutional interest or "heavier" liquidity. Low-Contrast Colors: Represent pivots formed on lower volume, which may represent lighter liquidity zones.
🔹 Level Tests and Sweeps
Traders can monitor how price reacts as it approaches the nearest dots. If price touches a dot and immediately rejects, it confirms the historical level as active resistance or support. A "Liquidity sweep" occurs when price moves rapidly through one or more dots, clearing the nearest historical structures before a potential reversal or continuation.
🔹 Breakouts and Volumetric Averages
The indicator includes two dashed lines representing the Volume-Weighted Swing Average of the displayed liquidity points.
Volume-Weighted Highs: A dotted red line representing the average price of the nearest P pivot highs, weighted by their historical volume. Volume-Weighted Lows: A dotted green line representing the average price of the nearest P pivot lows, weighted by their historical volume.
A breakout above or below these Volumetric Averages suggests that the market has cleared the weighted "supply" or "demand" of the immediate vicinity, often leading to increased volatility.
🔶 DETAILS
The script maintains a historical buffer of pivots. On every bar, the script filters all stored pivots to identify those currently above the price (highs) and those currently below the price (lows).
These filtered levels are then sorted by price distance. The top P closest levels are selected for display. This ensures that the heatmap always focuses on the most relevant price levels regardless of how far the market has moved from older structures.
The color themes (Viridis, Magma, etc.) are perceptually uniform, meaning the transition from low-volume colors to high-volume colors is mathematically linear to the human eye, making it easier to gauge relative "liquidity weight" at a glance.
🔶 SETTINGS
🔹 Pivots
Pivot Left/Right Length: Determines the sensitivity of the pivot detection. Larger values find more significant structural swings, while smaller values find more frequent, minor levels. Historical Buffer Size: Controls how many historical pivots the script stores in memory. A larger buffer allows the script to track older historical levels.
🔹 Display
Number of Points (P): Sets the maximum number of closest levels to display and include in the Volumetric Average calculation. Dot Transparency: Adjusts the visibility of the heatmap dots on the chart. Color Theme: Allows selection between different heatmap palettes (Viridis, Inferno, Magma, Plasma, Cividis, Turbo) to represent volume intensity. Indicatore

Indicatore

Indicatore

ICT Dealing Range [EmpArchitect]█ OVERVIEW
ICT Dealing Range auto-detects the active confirmed swing range and maps premium, discount, equilibrium, and directional OTE context directly on your chart.
No manual Fibonacci drawing.
No signals.
No entries.
No targets.
This is a clean dealing-range framework for ICT, SMC, and price-action workflows.
The tool answers one question:
Where is price trading within the active range?
█ WHAT IT SHOWS
The script draws:
• Active confirmed swing range
• Premium zone
• Discount zone
• 50% equilibrium
• Directional OTE zone
• Range high and range low
• Compact dashboard state
Premium and discount are always based on the active range:
• Premium = above equilibrium
• Discount = below equilibrium
• Equilibrium = 50% midpoint of the range
█ DIRECTIONAL OTE
OTE is directional.
In Bull Pullback mode, the range is measured Low → High and the OTE zone is drawn inside discount.
In Bear Rally mode, the range is measured High → Low and the OTE zone is drawn inside premium.
Default OTE levels:
• 62%
• 70.5%
• 79%
The 70.5% midpoint is shown inside the OTE zone.
█ RANGE DETECTION
The indicator uses confirmed pivot highs and lows to define the active dealing range.
Auto mode uses the most recent valid alternating pivot sequence:
• Low → High = Bull Pullback
• High → Low = Bear Rally
A minimum ATR range-size filter helps reject noisy micro-ranges on lower timeframes.
Auto-Update can be turned off to freeze the current range.
█ DASHBOARD
The top-right dashboard summarizes current range context:
• Mode: Bull Pullback / Bear Rally
• Zone: Premium / Discount / EQ / Above Range / Below Range
• Bull OTE / Bear OTE: Inside / Above / Below
• Range: size in ATR, or Broken Low / Broken High if price exits the range
• Age: bars since the range formed
If price breaks below a bullish range low or above a bearish range high, the dashboard marks the broken-range state clearly.
█ RANGE MODE
Available modes:
• Auto — uses the latest valid alternating pivot sequence
• Bull Pullback — forces Low → High range, OTE in discount
• Bear Rally — forces High → Low range, OTE in premium
█ VISUAL SYSTEM
The color system matches the EmpArchitect suite:
• Premium = amber
• Discount = teal
• OTE = subtle white / silver
• EQ = gray dashed line
Line hierarchy:
• EQ = dashed, width 2
• Range edges = solid, thin
• OTE levels = dotted, thin
Right-edge labels show:
• 100% High
• 50% EQ
• 0% Low
• Bull OTE / Bear OTE
█ ALERTS
Included factual alerts:
• Price entered premium
• Price entered discount
• Price crossed equilibrium
• Price entered directional OTE
• Price left directional OTE
Alerts are context alerts only. They are not trade signals.
█ NON-REPAINTING LOGIC
Ranges are based on confirmed pivots.
Pivot-based ranges confirm only after the required right-side bars have closed. This is structural confirmation by design.
Once a range is confirmed, it remains stable until a new valid confirmed range replaces it, or Auto-Update is disabled to freeze the current range.
█ PAIRS WITH
Smart Liquidity Map — liquidity context
HTF Context Overlay — higher-timeframe reference levels
Liquidity Trap Zones — failed reversal / trap context
CISD tools — displacement confirmation context
█ NOTES
• Works on all instruments and timeframes
• Best on 15M–4H charts
• Pine Script v6
• Open-source
• Built by EmpArchitect
Educational context tool only.
Not financial advice.
Not a signal service. Indicatore

Indicatore

Indicatore

Liquidity Hunter v1.5Liquidity Hunter v1.5
Part of the Hunters Framework ... WHERE / WHEN / WHY
Liquidity Hunter answers WHERE ... where are the levels that matter?
Detects buyside and sellside liquidity zones from clustered swing highs/lows, then tracks how price interacts with them: approaching, sweeping, or breaking through.
Built on the LuxAlgo Buyside/Sellside Liquidity concept (CC BY-NC-SA 4.0) with significant enhancements for practical trading.
WHAT IT SHOWS
Liquidity zones are drawn where multiple swing highs or lows cluster at similar prices. These are levels where stop orders accumulate ... the fuel that moves price. The indicator detects these clusters and tracks their lifecycle.
Labels use intuitive directional naming:
- Buy Zone (green) ... sellside liquidity at swing lows. Price sweeps below, grabs stops, bounces up. You buy here.
- Sell Zone (red) ... buyside liquidity at swing highs. Price sweeps above, grabs stops, rejects down. You sell here.
ENHANCED FEATURES
Touch Count (Strength Weighting)
Each level shows how many times price has tested it. More touches = more stops accumulated = stronger reaction expected. Labels display the count: "Buy Zone " means 5 touches.
- 7+ touches = STRONG
- 5-6 touches = MODERATE
- Below 5 = WEAK
Sweep vs Break Detection
Not all liquidity interactions are equal.
- Sweep = price wicks through the level but closes back inside. Stops triggered, reversal likely. Orange markers.
- Break = price closes through the level. Structure broken, level invalidated. Level turns gray.
- Arrow signals appear on confirmed sweeps for clear visual entry cues.
EMA Sweep Filter
Filters sweep signals by EMA trend alignment. Only fires when the sweep direction agrees with the EMA trend.
- With Trend mode: buy sweeps valid above EMA, sell sweeps valid below EMA
- Counter Trend mode: opposite (works for specific instruments)
- Configurable EMA length (default 50)
- Diamond-shaped arrows distinguish EMA-filtered signals from raw sweeps
- Backtested on BTC 1H with EMA50: 76.5% WR, PF 4.87
Proximity Alerts
Alerts fire when price approaches a level within a configurable ATR distance (default 2x ATR). Gives you time to prepare before the sweep happens. Optional proximity zone bands show the trigger area.
Liquidity Voids
Detects gaps in the candle structure where price moved fast with no resting orders. These voids tend to get filled. Toggle on/off with bull/bear coloring.
WaveTrend Context in Alerts
When enabled, every alert includes the current WaveTrend state (bull/bear, WT2 level, overbought/oversold). This gives you instant confluence without checking another indicator. Works with Trend Hunter settings (channel 9, average 12, SMA 3).
Nearest Level Display
Dashboard showing distance to the nearest Buy Zone and Sell Zone with touch count and strength rating. Configurable position and size.
ALERTS
11 individual alertconditions for granular webhook/notification setup:
Sweep signals (raw):
- Buy Zone Swept (potential long)
- Sell Zone Swept (potential short)
- Any Sweep Signal
EMA-filtered sweeps:
- EMA BUY ... sweep + trend aligned
- EMA SELL ... sweep + trend aligned
- Any EMA Sweep Signal
Structure breaks:
- Buy Zone Broken (bearish structure break)
- Sell Zone Broken (bullish structure break)
Proximity:
- Approaching Buy Zone
- Approaching Sell Zone
- Approaching Any Level
All alert messages include level price, touch count, strength rating, and WT state.
HOW IT FITS THE FRAMEWORK
The Hunters Framework uses three indicators together:
1. Liquidity Hunter (this indicator) ... finds WHERE the key levels are
2. Trend Hunter ... finds WHEN to enter (WaveTrend MTF alignment, dots, pullbacks)
3. RSI+StochRSI ... tells you WHY (momentum divergence, confirmation)
Workflow: Liquidity Hunter shows you the battlefield (where stops sit). Trend Hunter tells you when the army is marching (trend direction + timing). RSI confirms whether the momentum supports the trade.
SETTINGS
Detection Length ... swing detection lookback (default 7, range 3-13)
Margin ... how close swing points must be to cluster (default 6.9)
EMA Length ... trend filter for sweep signals (default 50)
EMA Mode ... With Trend or Counter Trend
Mode ... Present (live levels only) or Historical (all levels)
Visible Levels ... how many levels to display (default 3)
Colors follow standard convention ... green for buy opportunities, red for sell opportunities. Fully configurable.
CREDITS
Based on Buyside & Sellside Liquidity by LuxAlgo (CC BY-NC-SA 4.0). Enhanced with touch counting, sweep/break distinction, EMA sweep filter, proximity alerts, WaveTrend context, and directional labeling. Indicatore

Session Sweeps Pro | GainzAlgoWhat are Liquidity Sweeps?
In modern algorithmic markets, price does not move randomly; it moves from one pocket of liquidity to the next. Liquidity Sweeps (also known as stop runs or "grabs" ) occur when price briefly breaches a well-defined technical level (like a swing high or low) to trigger the stop-loss orders resting there.
Once this liquidity is "tapped," large institutional players often use these orders to fill their own counter-positions, leading to a sharp reversal . Identifying where these sweeps have occurred and where they are likely to occur next, is the cornerstone of institutional-grade supply and demand trading .
Introducing: Session Sweeps by GainzAlgo
This indicator is a premium technical suite designed to visualize the "gravity" of market liquidity. Unlike 90% of liquidity indicators that simply label old highs and lows, the Session Sweeps uses a probabilistic model to map out exactly where the "business" of the market is being conducted.
It combines real-time sweep detection with a Cumulative Distribution Function (CDF) to provide a heads-up display (HUD) of the session's liquidity health.
How It Works:
The engine monitors price action for "breach and reclaim" signatures .
Detection: When a pivot high or low is swept and price closes back within the previous range, the script identifies a confirmed sweep .
Ghost S/R Zones: Upon detection, the script anchors a "Ghost Box" at the sweep level. These zones extend through the current session, acting as dynamic support and resistance levels that represent "already tapped" liquidity.
Conflict Resolution: To keep your charts clean, the script includes a built-in "De-overlapping" logic . If multiple sweeps occur in the same tight price area, it prioritizes the most significant level , preventing visual clutter.
The Liquidity Sweep CDF Profile
The centerpiece of this indicator is the HUD Profile on the right margin. While standard Volume Profiles show you where volume was traded, our Sweep CDF shows you the distribution of liquidity grabs .
Weighted Gravity: Every bar in the profile is weighted by the frequency of sweeps . A "thick" area in the profile indicates a price zone where the market has repeatedly reached for stops.
Color-Coded Probability: The profile uses a manual RGB interpolation (shifting from Neon Cyan to Magenta). As the bars widen and change color, they represent the cumulative probability (0% to 100%) of the session's total liquidity being found at or below that price.
Sweep POC (Point of Control): The yellow dashed line represents the Sweep POC , the specific price level with the highest density of liquidity sweeps in the current session. This is the market's true "Center of Gravity."
Session Anchoring & Menu Inputs
The indicator is built for the professional intraday and swing trader , offering full control over the data's scope:
Session Period: Select between Daily, Weekly, or Monthly anchors. The CDF profile and S/R zones will automatically reset at the start of each new period, ensuring your data is fresh and relevant .
Profile Resolution: Adjust the number of "Rows" to fine-tune the granularity of the CDF heatmap .
Risk Threshold: Customize the sensitivity of the Sweep Risk Index (top right), which monitors volatility compression to warn you when a sweep is statistically imminent .
How to Trade with Session Sweeps
Mean Reversion: Watch for price to approach the Sweep POC during low-volatility periods. These often act as magnets where price stabilizes.
Exhaustion Signals: Use the CDF percentages (85%, 70%, etc.). If price is trading at the 90% CDF level , it means the majority of the session's liquidity has already been "cleared" below. Pursuing further moves in that direction carries higher risk .
S/R Flips: Use the Ghost S/R Boxes as high-probability entry/exit zones. A Bearish Sweep zone that was once resistance will often act as a "re-entry" point if price returns to test the liquidity remaining in that pocket.
The Risk Index: Monitor the Sweep Risk % in the dashboard. When this index spikes ( Red ), be wary of placing stops at obvious swing points, as the "Stop Hunt" probability is at its peak.
Indicatore

Bastion Ledger [JOAT]Bastion Ledger
Introduction
Bastion Ledger is an open-source liquidity and structure overlay designed to track active demand and supply zones through a full lifecycle model. The script builds zones from confirmed pivots and volume impulse events, then tracks how price interacts with those zones over time through active, swept, broken, retested, and archived states.
The problem Bastion Ledger solves is zone ambiguity. Many support and resistance tools simply draw a level and leave interpretation to the user. Bastion Ledger adds structure to that process by classifying how each zone was created and what has happened to it since. This makes the chart easier to read and gives the user a cleaner framework for identifying whether liquidity has held, been swept, failed, or transitioned into a retest state.
Core Concepts
1. Confirmed Pivot Structure
Zones created from pivots only appear after pivot confirmation. This introduces natural delay by design, but it prevents the script from creating forward-looking structure that disappears later.
2. Volume-Impulse Zone Creation
The script can also create zones from candles that exhibit high relative volume and efficient directional body behavior. This allows the overlay to capture not only swing structure but also displacement-origin areas.
3. Zone Lifecycle Model
Each zone progresses through a clear state model:
ACTIVE
SWEEPED
BROKEN
RETESTED
ARCHIVED
This is one of the defining features of the script. Instead of leaving historical rectangles behind with no context, the overlay tracks what has happened to each one.
4. Midpoint and Structure Rails
Every zone can include a midpoint reference and supporting structure rails to make reaction areas easier to inspect. This helps distinguish edge reactions from deeper zone acceptance.
5. Dashboard Context
The top-right dashboard summarizes active counts, nearest demand and supply distance, event state, and structure bias so the user can quickly orient themselves.
Features
Dual-source zone creation: Confirmed pivots and volume impulse zones
Stateful zone lifecycle: Tracks sweeps, breaks, retests, and archival
ATR-aware zone sizing: Zone height adapts to market conditions
Object-efficient rendering: Uses persistent objects with setter updates
Midpoint lines: Helps judge reaction depth inside each zone
Structure bias readout: Gives a quick demand-versus-supply view
Nearest-zone distance readout: Useful for contextual planning
Top-right dashboard: Medium-size summary panel
Confirmed-bar event logic: Creation and transitions are handled safely
Alertconditions: Zone create, sweep, break, retest, and structure breaks
How to Use This Indicator
Step 1: Identify the Nearest Active Zone
Use the plotted boxes and dashboard distance readouts to locate the nearest demand and supply area.
Step 2: Read the Zone State
An active zone is different from a swept or broken zone. The lifecycle state tells you whether the zone is still intact or has already lost integrity.
Step 3: Watch Retests After Breaks
Retested zones can be especially useful because they represent a transition from defended liquidity to broken structure and then a recheck of that failure.
Step 4: Combine with Regime Context
Bastion Ledger works best when combined with a separate trend or regime filter. Use it to map where reactions matter, not to replace directional context.
Indicator Limitations
Pivot-based zones confirm after the pivot completes, which is intentional non-repainting behavior
Very fast markets can move through multiple zone states in a short number of bars
Zone relevance declines over time, so older archived zones should not be treated like fresh liquidity
This script tracks structural interaction, not order flow or real exchange-level liquidity
Originality Statement
Bastion Ledger is original in its combination of pivot structure, volume-impulse zone creation, and lifecycle classification. The script is not just a rectangle drawer. Its core value lies in tracking how a zone evolves after creation and presenting that evolution in a consistent institutional overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Liquidity zones are interpretive tools based on historical price and volume behavior and do not guarantee future reactions.
- Made with passion by jackofalltrades
Indicatore

Sigma Structure [RWCS]What it is:
Sigma Structure is a confluence-based trading indicator that unifies three distinct analytical layers into a single, cohesive view: a Z-Score oscillator measuring price deviation from its 20 EMA, a normalized MACD histogram for momentum context, and an Order Block detection engine that identifies structural demand and supply zones directly on the price chart. The result is an indicator that tells you not just when price is statistically extended, but where that extension is occurring relative to meaningful price structure — giving every signal a location and every location a statistical weight.
How it works:
1. Z-Score layer: Price is measured as the number of standard deviations it sits above or below its 20-period EMA. This produces an oscillator that reads consistently across any asset or timeframe — a reading of +2 on Bitcoin means the same thing structurally as +2 on the S&P or EURUSD. The line color intensifies from faded to full aqua as it moves above zero, and faded to full fuchsia below, so the degree of extension is immediately legible at a glance. Fixed bands at ±1, ±2, and ±3 sigma define the statistical landscape.
2. MACD layer: A standard MACD histogram is computed normally, then linearly scaled so its rolling peak aligns with the ±3σ band. No calculation is modified — only the display axis is shared with the Z-Score. This means crossovers, divergences, and momentum shifts read identically to a standard MACD, but now live in the same visual space as the bands, letting you see momentum and mean-reversion context simultaneously.
3. Order Block layer: The indicator scans for order blocks using a sequential candle method — a bearish candle followed by a configurable number of consecutive bullish candles (demand), or a bullish candle followed by consecutive bearish candles (supply). Detected zones are drawn directly on the price chart as shaded regions with solid top boundaries and dashed bottom boundaries, color-coded aqua for demand and fuchsia for supply. Zones extend rightward bar by bar and self-invalidate the moment price closes through them, so what you see on the chart is always live and relevant.
4. Confluence signals: Two signal types fire when the Z-Score and Order Block layers align. An OB Reversal label appears when price is inside an Order Block while the Z-Score is at or beyond ±2σ — the statistical extension and the structural level are confirming each other as a fade opportunity. An OB Continuation label appears when price pulls back into an Order Block and the Z-Score reclaims zero — the trend is reasserting after a mean-reversion dip into demand or supply.
5. Volatility divergence: A background highlight layer compares price's rolling highs and lows against the rolling highs and lows of realized volatility (standard deviation of log returns). When price makes a new low without a corresponding expansion in realized volatility, a bullish divergence is flagged. The inverse flags bearish divergence. These are not entry signals on their own — they indicate moments where price action and volatility are telling different stories and warrant closer attention.
Possible ways to use it:
1. Reversal setups: When the Z-Score reaches ±2σ or beyond and price simultaneously tags an active Order Block zone, the statistical extension and structural level are aligned. The OB Reversal label marks these bars. Look for MACD histogram compression or a zero cross in the same window for additional confirmation before acting.
2. Trend continuation entries: In trending markets, price frequently pulls back into demand or supply zones and finds support exactly where it should. When the Z-Score crosses back through zero inside an active zone, the OB Continuation label fires — this is your structural retest with momentum confirmation.
3. Divergence as a filter: The volatility divergence highlights flag potential exhaustion in price moves that lack volatility confirmation. Use these as a reason to tighten risk or wait for the OB/Z-Score confluence before entering, rather than chasing the move.
4. EMA trend bias: The fast and slow EMA overlay on the price chart provides a quick structural read. Aligning your OB Reversal or Continuation signals in the direction of the EMA cross adds a higher-timeframe trend filter without requiring a second indicator.
5. Alert-driven scanning: Three configurable alerts cover the ±2σ Trade Zone cross, OB Reversal confluence, and OB Continuation setup. Set these across a watchlist to surface actionable conditions without manual chart monitoring.
Settings guide:
1. EMA / Std Dev Length: Both default to 20, matching a standard Bollinger Band configuration. Increase for smoother, slower signals on higher timeframes.
2. MACD Norm Lookback: Controls how far back the indicator looks to find the MACD histogram's peak for scaling. Higher values produce more stable scaling; lower values make the histogram more reactive to recent momentum.
3. Sequential Candles for OB: The number of consecutive candles required after the origin candle to confirm a block. Higher values produce fewer, higher-quality zones.
4. Max Active Zones: How many demand and supply zones can coexist on each side. Older zones are removed when the limit is reached.
5. Divergence Lookback: The rolling window for comparing price extremes against volatility extremes. Shorter values produce more frequent signals; longer values are more selective.
Disclaimer:
This indicator is published for educational and informational purposes only. Nothing presented here constitutes financial advice, a solicitation, or a recommendation to buy or sell any financial instrument. All trading involves risk, including the possible loss of principal. Past performance of any indicator or methodology is not indicative of future results. You are solely responsible for your own trading decisions. Always conduct your own research and consult a qualified financial professional before making any investment decisions. Indicatore

RBD SMC ConceptsRBD SMC Concepts is an institutional-grade Smart Money Concepts toolkit that combines higher-timeframe bias detection
with the four signals professional traders actually use: liquidity sweeps, order blocks, fair value gaps, and
break-of-structure events — all gated by HTF alignment to filter out counter-trend noise.
What it does
The script tracks structure on a higher timeframe and overlays four signal types on your current chart, only
displaying those that align with the HTF directional bias when the alignment filter is enabled.
HTF Bias Engine
Auto-maps your chart timeframe to a logical higher timeframe (5m → 30m, 15m → 1H, 1H → 4H, 4H → D) or override
manually. Tracks the last three confirmed swing highs and lows on the HTF and labels the bias as:
- Bullish: Higher Highs + Higher Lows
- Bearish: Lower Highs + Lower Lows
- Neutral: any other structure (range / mixed)
Order Blocks
On every LTF Break of Structure, marks the last opposing candle as an order block. Bullish OB = last down candle
before bullish BOS; bearish OB = last up candle before bearish BOS. Boxes auto-mitigate once price returns to them,
keeping the chart clean.
Liquidity Sweeps
Detects wicks that pierce the prior 10-bar swing high or low and close back inside the range. Reported as SSL ↑
(sell-side liquidity swept, bullish reversal signal) or BSL ↓ (buy-side liquidity swept, bearish reversal signal). A
close beyond the level is treated as a breakout, not a sweep.
Fair Value Gaps
Three-bar imbalances drawn as soft, low-opacity zones in a distinct hue from order blocks. Auto-mitigate when filled.
BOS / CHoCH Detection
Continuation breaks (BOS) vs character changes (CHoCH = BOS against the current HTF bias). Surfaced in the dashboard
rather than as chart clutter.
Dashboard
A compact top-right table in TradingView native dark palette shows at a glance:
- Active HTF and alignment filter state
- HTF Bias and Structure label (HH+HL / LH+LL / Ranging)
- Most recent structure event (BOS or CHoCH)
- Most recent sweep (SSL or BSL)
- Live count of active order blocks and FVGs
Position is configurable across 5 anchor points.
Alignment Filter
When enabled (default), only signals that align with HTF bias are displayed and alerted on. Bullish sweeps require
Bullish HTF; bearish sweeps require Bearish HTF; FVGs are hidden if they contradict bias. Toggle off to see all
signals raw.
Settings
- HTF auto-selection or manual override (30m / 1H / 4H / D / W)
- HTF pivot length (default 10)
- LTF pivot length for BOS and OB anchor (default 5)
- Max OBs per side, max FVGs per side
- Box forward extension in bars
- Auto-mitigation toggles for OBs and FVGs
- 4 built-in alerts: bullish sweep, bearish sweep, bullish CHoCH, bearish CHoCH
How to use
1. Apply on any timeframe; the HTF is auto-selected
2. Wait for HTF Bias to read Bullish or Bearish (skip Neutral conditions)
3. Watch the chart for SSL or BSL sweeps that align with bias
4. Use mitigated order blocks or FVGs in the rejection zone as entry triggers on a pullback
5. Stop above the swept high (BSL) or below the swept low (SSL); target the next opposing liquidity pool
Scope and limitations
This is a signal-detection and bias-alignment tool, not a buy/sell system. It draws zones and surfaces context; entry
timing, stop placement, and position sizing are the trader's job. The HTF bias engine uses lookahead_off and confirmed
pivots, so it does not repaint after the HTF bar closes — however, pivots inherently form pivot_length bars after the
actual swing, which is a property of the math, not a bug.
Pine v6. Works across stocks, futures, FX, and crypto on timeframes from 1m to weekly.
Headers to bold: What it does, HTF Bias Engine, Order Blocks, Liquidity Sweeps, Fair Value Gaps, BOS / CHoCH
Detection, Dashboard, Alignment Filter, Settings, How to use, Scope and limitations. Indicatore

SMC Supply & Demand Zones - H4 / H1 / M10Automatically identifies and draws supply and demand zones across three timeframes (H4, H1, and M10) simultaneously on any chart, using a strict volume-confirmed impulse candle definition rooted in Smart Money Concepts (SMC).
How zones are built
A zone is created only when all three conditions are met on the same candle:
Body size ≥ 1.5 × ATR(14) — filters out indecision candles
Close breaks beyond the prior 5 candles' high (demand) or low (supply) — confirms impulsive intent
Volume ≥ 1.5 × SMA(volume, 20) — requires institutional-level participation
Zone boundaries follow the SMC base candle rule: demand zones span from the impulse candle's open down to its low; supply zones span from its high down to its open.
Visual design
Each timeframe uses a distinct colour family so you can read confluence at a glance — H4 in blue, H1 in orange, M10 in green. Lighter shades mark demand, darker shades mark supply. When price closes fully through a zone, it fades to grey and is tagged with (mitigated) — it stays on the chart for context but is visually de-emphasised. Each zone carries a label (e.g. "H4 D", "H1 S") pinned to its right edge.
Settings
Toggle each timeframe on/off independently
Adjust the body multiplier, prior-bar lookback, and volume multiplier to match the instrument
Set separate caps for active and mitigated zones per timeframe (FIFO — oldest removed first)
Full colour control per timeframe and direction
Toggle labels and borders separately
Non-repainting
All three timeframe feeds use request.security() with lookahead = barmerge.lookahead_off and gaps = barmerge.gaps_off. Zones are created only on the bar where an impulse candle's close is first confirmed — no bar-0 data is used.
Recommended use
Load on your entry timeframe (M10 or M5) and use the H4/H1 zones as bias and confluence levels. Look for price to sweep into a higher-TF zone and react — that is your area of interest for entry confirmation on the lower timeframe. Indicatore

Svopex SwingSvopex Swing
A pivot-based swing-level indicator that marks every confirmed high and low with a horizontal line and a price box, then automatically tracks whether the
level has been filled (revisited) or remains untested. Originally built on top of LeviathanCapital's swing engine and adapted with extra filters and styling
for cleaner crypto and futures workflows.
What it does
The indicator detects pivot highs and pivot lows using configurable left/right bar lookbacks and draws:
- A horizontal line at every swing high (sell-side liquidity) and swing low (buy-side liquidity)
- A price box above/below the swing point that visualizes the level's "thickness" and accepts optional volume / OI text inside it
- A circle marker at the exact pivot bar so the swing point is easy to spot
Each level extends to the right until price comes back and fills it (high ≥ level ≥ low). Filled levels can be hidden, kept on chart, or trimmed
automatically.
Open Interest delta confluence
This is the indicator's main differentiator: each pivot is tagged with the Open Interest delta at the swing bar, aggregated from up to six perp feeds:
- Binance USDT.P / USD.P / BUSD.P
- BitMEX USD.P / USDT.P
- Kraken USD.P
Each feed has its own toggle so you can include only the venues you care about. The OI delta is then used to filter which swings get drawn:
- Positive OI Delta — show only swings that printed alongside increasing open interest (fresh longs / fresh shorts being added)
- Negative OI Delta — show only swings printed during OI-decline (position unwinding)
- / (off) — show all swings regardless of OI direction
Combined with a volume threshold and abs(OI delta) threshold, you can isolate only the most institutionally-loaded pivots and ignore retail noise.
Inputs
Detection
- Bars Right / Bars Left — pivot lookback (default 10 / 15)
- Lookback (D) — only draw swings within the last N days
Filters
- Volume > — minimum bar volume at the pivot
- OI Δ (abs.) > — minimum absolute open-interest change at the pivot
- Only Swings With — Positive / Negative / any OI delta
- Hide Filled — drop levels once price retraces through them
- Extend Until Fill — keep extending the line right-ward until it's hit
OI Sources
- Per-exchange / per-feed toggles for the six supported perp pairs
Appearance
- Show Boxes / Lines / Labels — independent toggles
- Show Volume / Show OI Δ — render the values inside the box text
- Highs color / Lows color — line + label + box colors per side
- Line Style — Solid / Dashed / Dotted, plus width
- Box Width / Box Type — TYPE 1 (snap to pivot) or TYPE 2 (% offset from pivot)
- Text Size & H-align — Tiny / Small / Normal / Large / Auto, left/center/right
How to use
1. Liquidity mapping — every untested swing high above current price is a pool of sell-side stops; every untested swing low below is buy-side stops. Use them
as targets and reaction points.
2. OI-loaded pivots — turning on the Positive OI Delta filter highlights only the swings where new positioning was added. These tend to be the strongest
levels because trapped longs/shorts defend them.
3. Trend bias — if recent highs are being filled (taken out) while lows stay untested, the bias is bullish, and vice versa.
4. Multi-timeframe — run the indicator twice on the same chart with different left/right values for a layered view (e.g., 5/5 for fast, 20/20 for structural).
Tips
- OI feeds default to crypto perp tickers — the indicator works best on BTC, ETH, SOL and other coins with active futures. On stocks/forex/indices, leave OI
filters off (set "/" and zero thresholds) and use it as a pure pivot tool.
- The Lookback (D) input is essential on long charts — without it the indicator can hit the 500-line/box cap and stop drawing.
- Combine Show OI Δ with Hide Filled = OFF to build a heat-map of where futures positioning was historically loaded.
Credits
- Base swing/pivot engine and OI aggregation by © LeviathanCapital — thank you.
- Filter, styling, and workflow adjustments by Svopex.
Open source under MPL 2.0 — fork, adapt, and share. Indicatore

Svopex Pullback LevelSvopex Pullback Level
A pullback-break indicator that detects valid retracement levels using body-based pivot logic and confirms breakouts with higher-timeframe RSI momentum
confluence. Designed to mark the precise body extreme where a counter-trend move began — and signal when the original trend resumes.
What it does
When price makes a new N-bar low with a red body and the next bar closes green, the indicator walks back through the consecutive red candles and draws a
horizontal line at the highest body of that down-move — your short pullback level. The mirror logic plots a long pullback level at the lowest body of an
up-move that just printed a new N-bar high.
A break of the level (body close beyond it) closes the line and optionally triggers a confluence signal:
- Bullish break of a short level + HTF RSI ≥ HTF RSI-SMA → green dot below the bar + alert
- Bearish break of a long level + HTF RSI ≤ HTF RSI-SMA → red dot above the bar + alert
This filters out countertrend breakouts that happen against higher-timeframe momentum.
Why body extremes (not wicks)
Wick-based pivot levels are noisy — they reset on every false sweep. By tracking only candle bodies, the indicator captures the decision points where the move
actually consolidated, producing levels that act as cleaner support/resistance.
Inputs
Detection
- Lookback for new low/high (bars) — how many bars back must be cleared to qualify (default 20)
- Max bars for walk-back — cap on how far the body-walk searches for the move's origin (default 50)
- Detect short levels — toggle pullback levels from down-moves
- Detect long levels — toggle pullback levels from up-moves
Style
- Short level color / Long level color — independent color pickers
- Line width — 1 to 4
RSI confluence (HTF)
- Mark break + HTF RSI vs SMA filter — master toggle for the confluence dots and alerts
- HTF multiplier — higher timeframe = current TF × multiplier (default 2× — e.g., 1H chart → 2H RSI)
- RSI length — default 14
- RSI SMA length — default 14 (the trigger line)
- Bullish / Bearish confluence colors — independent
Outputs
- Horizontal lines at every pullback level until it breaks
- Green circles below the bar on bullish confluence breakouts
- Red circles above the bar on bearish confluence breakouts
- Alerts with full context: ticker, timeframe, break price, level price, HTF RSI value, HTF RSI-SMA value
How to use
1. Trend trading — wait for a confluence dot to appear at a key support/resistance level (use higher-timeframe structure or your own zones). The HTF RSI
filter ensures you're trading with momentum.
2. Trade management — un-broken pullback levels often act as targets for the next leg.
3. Pullback entries — when price retraces into a fresh pullback level on a lower timeframe, you have a defined invalidation (the level itself) and a defined
target (recent high/low).
Tips
- Tune lookback bars to your timeframe: shorter values (10–15) for scalping, longer (25–40) for swing.
- The HTF multiplier of 2× is a balanced default; increase to 3–5 for stricter momentum filtering, decrease to 1.5 to keep the filter close to the trading TF.
- Levels that get broken without confluence are still useful as price magnets — they just don't qualify as high-probability entries by this strategy.
Credits
Built by Svopex. Open source — fork and adapt. Indicatore
