Indicator

Sweep TerminalSweep Terminal
Description:
Welcome to Sweep Terminal, an elite all-in-one institutional trading indicator designed for maximum precision. Developed by erdensedat, this tool provides unparalleled clarity on price action, liquidity sweeps, market structure shifts, and daily biases—all without cluttering your chart. It seamlessly integrates Multi-Timeframe (MTF) analysis, an advanced Fair Value Gap (FVG) engine, dynamic BOS/CHoCH mapping, and real-time session tracking.
Core Features:
1. Live Market Info Panel
A dynamic, non-intrusive table situated at the top right of your screen providing instant, actionable data:
Directional Biases: Instantly know the Daily, Weekly, and VWAP bias (Bullish/Bearish).
Momentum & Trend: Real-time RSI momentum value and raw DI+ / DI- (Directional Movement) data. The dominant DI force is automatically color-coded for quick visual confirmation.
Active Structure: Displays the most recent character of the market (Bullish/Bearish Structure).
Session Status: Real-time sync with the Europe/Istanbul timezone. Displays exactly which session is active (Asian, London, NY) or which one is upcoming, indicated by active Green/Red LED dots.
2. MTF Sweep Logic & Opening Ranges
Understanding where liquidity lies is crucial. This module automatically detects and highlights major High/Low levels across key timeframes (1 Hour, 4 Hour, 1 Daily).
Sweep & Raid Detection: Highlights potential liquidity sweeps (shadow boxes) in real-time and explicitly marks confirmed "Raids" with directional triangles once the price deviates and closes back within the range.
Discount/Premium Pricing: H/L pivot lines clearly dictate "Premium" (Short) and "Discount" (Long) equilibrium zones.
Session Killzone Pivots (Optional): Tracks session highs and lows. Once a session level is breached, the line freezes at the breakout point, turns dotted, and marks the raid with a clean "X" at the center.
3. Advanced Fair Value Gap (FVG) Engine
Our refined FVG engine ensures you only see the most significant imbalances.
Clean Visualization: Bullish FVG boxes default to a deep teal (#006064) and bearish to a dark crimson (#801922), complete with lightly opaque mid-lines for precise entries.
Smart Filtering: Removes overlapping FVGs, filters by threshold sizes, and offers customizable mitigation triggers (Close, Wick, or Average price).
Breaker Blocks: Seamlessly toggle between standard FVGs or Breaker block tracking.
4. Dynamic BOS & CHoCH Mapping
Stay on the right side of the trend with an automated structure mapping algorithm based on pivot fractals.
Pre-Break Candidates: Anticipate structure shifts with dashed candidate lines marking unmitigated Pivot Highs and Lows.
Confirmed Breaks: Once a level is breached, the line solidifies. Includes smart alert routing for instant notifications on structural shifts.
How to Use:
Liquidity Traps: Use the MTF Sweep Logic to spot when retail stops are triggered above a 4H or Daily high, providing high-probability mean reversion setups.
Confluence Trading: Check the live Panel. If the Daily/Weekly bias is Bullish, look for a Discount zone test, wait for a Bullish CHoCH, and enter on a lower timeframe FVG mid-line.
Customization: The settings menu is highly compartmentalized. Isolate specific logic (e.g., only show 1D sweeps, VWAP, and FVG) allowing this indicator to adapt perfectly to any Smart Money Concept (SMC) or ICT-based strategy.
Dedicated to clean charts and precise execution.
Disclaimer:
The information, scripts, and features provided by this tool are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Trading in financial markets (including cryptocurrencies, forex, and stocks) involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own thorough research, backtest thoroughly, and consult with a certified financial advisor before making any trading decisions. The author (erdensedat) assumes no responsibility for any financial losses or damages incurred while using this script. Indicator

Crossframe Bias Ledger [JOAT]Crossframe Bias Ledger
Introduction
Crossframe Bias Ledger is an open-source non-repainting higher-timeframe bias overlay built to align an intermediate timeframe, a major timeframe, and the local chart into one directional map. It uses safely delayed `request.security()` calls, crossframe basis clouds, premium/discount rails, alignment boxes, execution-state labels, and an optional TP/SL scaffold on fresh confirmed alignment shifts.
The script solves directional context across timeframes. Many local signals fail because they are taken against dominant higher-timeframe structure. Crossframe Bias Ledger keeps the user anchored to higher-timeframe alignment while still making the output actionable on the trading timeframe.
Core Concepts
1. Safe Higher-Timeframe Requests
All higher-timeframe values are retrieved using delayed indexing so incomplete higher-timeframe bars do not leak into the current chart:
idxHigher = barstate.isrealtime ? 1 : 0
idxCurrent = barstate.isrealtime ? 0 : 1
2. Primary and Secondary Trend Stacks
Fast, slow, and signal EMAs are retrieved from two higher timeframes and converted into directional scores.
3. Premium / Discount Map
The two higher-timeframe bases define a premium/discount zone. Price trading above the upper rail is treated as premium. Price trading below the lower rail is treated as discount. Price between them is treated as rebalancing.
4. Fresh Alignment Shifts
When the crossframe score crosses into confirmed bullish or bearish alignment, the script marks this as a fresh state transition and can build an informational TP/SL ladder.
5. Rebalance vs Continuation Logic
The script distinguishes rebalancing entries inside the premium/discount box from continuation conditions outside it.
Features
Non-repainting crossframe logic: Uses safely delayed higher-timeframe requests
Dual cloud system: Primary and secondary timeframe clouds on the chart
Premium / discount rails: Crossframe valuation map between the two HTF bases
Bias box: Forward execution window for the current crossframe state
Fresh alignment detection: Distinguishes a new bull/bear shift from an already active state
Continuation and rebalance readouts: Shows whether price is extending or rebalancing
Optional TP/SL ladder: Informational scaffold for new alignment shifts
Top-right dashboard: Displays state, signal, timeframe bias, location, execution mode, basis, and score
How to Use This Indicator
Step 1: Read whether the state is aligned up, aligned down, or mixed.
Step 2: Check if price is trading in premium, discount, or rebalance territory.
Step 3: Use fresh shifts to identify new state transitions. Use continuation and rebalance readings to differentiate execution style.
Step 4: Keep local entries aligned with the dominant crossframe bias whenever possible.
Indicator Limitations
Higher-timeframe logic is intentionally delayed for safety, so it will not react as quickly as unstable lookahead-based implementations
Premium/discount interpretation depends on the chosen timeframes
Mixed states are intentional and may persist when higher timeframes disagree
The TP/SL ladder is informational and does not place trades
Originality Statement
Crossframe Bias Ledger is original in the way it combines safe higher-timeframe delay logic, dual-basis premium/discount mapping, fresh alignment shifts, and execution-state scaffolding into one open-source overlay. The script is intended to provide a reusable top-down directional framework rather than a generic MTF trend line.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Higher-timeframe alignment may still fail, reverse, or become mixed as new data forms. Always use independent analysis and risk management.
-Made with passion by jackofalltrades
Indicator

Absorption Range Ledger [JOAT]Absorption Range Ledger
Introduction
Absorption Range Ledger is an open-source range and participation overlay built to detect high-participation ranges, estimate internal bull-vs-bear ownership, track weighted equilibrium, and monitor whether the market is being absorbed, contained, reclaimed, or broken. It is designed for traders who want richer range context than a basic support/resistance box.
The script identifies high-participation candles, merges overlapping activity into persistent range zones, tracks a weighted equilibrium line inside the zone, and then highlights whether that zone is acting as supportive absorption, resistant absorption, or a two-way transfer area. Optional TP/SL rails are created when weighted reclaims or range breaks occur on confirmed bars.
Core Concepts
1. High Participation Detection
The script compares current volume to a baseline moving average. When participation exceeds the threshold, the candle is eligible to build or extend an absorption range.
2. Range Merging
New high-participation candles are merged into existing ranges when overlap conditions are satisfied. This creates broader institutional-style transfer zones rather than isolated candle markers.
3. Ownership Split
Each active range tracks approximate bullish and bearish ownership internally. This is displayed visually using sub-boxes and summarized numerically in the dashboard.
4. Weighted Equilibrium
A weighted equilibrium line is maintained inside the dominant active range. This level serves as a practical internal reference for reclaim and failure behavior.
5. Range Events
The script distinguishes containment, weighted-line reclaims, and outright range breaks. These states are used for dashboard context and optional TP/SL scaffolding.
Features
High-participation range detection: Builds active ranges when volume exceeds the baseline threshold
Range merging: Overlapping participation bars are combined into richer zones
Bull/bear ownership split: Internal sub-boxes show approximate participation balance
Weighted equilibrium line: A central reference inside the active range
Dominant active range logic: Tracks the most relevant current range for context
Range reclaim and break states: Distinguishes contained trade from directional escape
Optional TP/SL ladder: Builds informational risk rails on confirmed reclaims and breaks
Top-right dashboard: Shows state, active count, weighted level, balance, range width, and event condition
How to Use This Indicator
Step 1: Identify whether a dominant active range exists.
Step 2: Check the ownership balance. Strong positive balance suggests bid-side absorption. Strong negative balance suggests offer-side absorption.
Step 3: Watch how price behaves around the weighted equilibrium line. Reclaims and failures often provide better context than touching the raw box boundary alone.
Step 4: Use confirmed breaks of the dominant range as state changes, not as guaranteed trend starts.
Indicator Limitations
Ownership balance is an internal estimate, not a true order-flow measurement
Range merging depends on the chosen volume threshold and can be too broad or too narrow if poorly configured
Old ranges expire by design and will not remain indefinitely on the chart
The TP/SL ladder is informational and not an execution engine
Originality Statement
Absorption Range Ledger is original in the way it combines participation-based zone merging, internal ownership splitting, weighted equilibrium governance, and event-driven scaffolding into one open-source range tool. It is published as a contextual market-transfer indicator rather than a simple breakout box.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Participation, ownership, and absorption states are inferred from historical price and volume behavior and may not reflect future outcomes. Use independent analysis and risk management.
-Made with passion by jackofalltrades
Indicator

Range Breakdown Readiness [AGPro Series]Range Breakdown Readiness
🧠 Core Idea
Is the range breakdown valid, early, or likely to fail?
📌 Overview / What it does
Range Breakdown Readiness is a support-side breakdown planning tool built to evaluate whether price is actually accepting below a mature range or only probing below support and returning.
The script maps a prior range, tracks the support-side breakdown, draws a breakdown acceptance band, projects a target-room corridor, marks reclaim risk, and summarizes the setup through a 0-100 Breakdown Score.
It does not predict price direction, automate decisions, or turn every low into a tradeable support level. It is a rule-based chart-reading and planning framework.
🎯 Purpose & Design Philosophy
Many breakdown tools only mark the moment price moves below a level. That is usually not enough.
This script was built for traders who want to review breakdown quality before reacting. It focuses on acceptance, failure risk, target room, and the next planning action rather than printing generic bearish signals.
The mindset is simple: a breakdown should be reviewed as a structured decision context, not as a one-bar event.
⚡ Why This Script Is Different
Most tools focus on break markers, support/resistance lines, or broad breakout confirmation.
This script does NOT clone Consolidation Breakout Quality, Range Escape Planner, Compression Breakout Readiness, or a generic S/R zone map.
Instead, it stays narrow: it evaluates the support-side breakdown of a mature range and asks whether the break has enough acceptance to deserve review, or whether reclaim/failure risk is still too high.
⚙️ Methodology
1. Context Detection
The script maps the prior range high and range support edge, then checks whether the structure is mature enough to evaluate.
2. Reference Mapping
It uses the support edge as the breakdown reference, then draws a range box, acceptance band, reclaim rail, and target-room corridor.
3. Reaction Evaluation
The score combines range age, close below support, candle close quality, volume support, retest rejection, and target room.
4. Visual Output
The chart receives clean planning zones, compact labels, guide lines, alerts, and a premium AGPro panel with state, score, acceptance, risk, and action.
🗺️ How to Read the Chart
Zones = the mapped range, the breakdown acceptance band, and the target-room corridor.
Labels = support watch, breakdown, breakdown ready, retest rejection, follow-through, reclaim risk, and failure risk states.
Colors = teal and indigo for constructive planning context, pink for active breakdown pressure, amber for caution and failure-risk review.
Panel = the planning summary: Range State, Breakdown Score, Acceptance, Failure Risk, and Action.
🚦 Signals & States
• Support Watch → price is near the support side of a mature range.
• New Range Breakdown → price closed below the mapped support edge.
• Breakdown Ready → score and failure-risk context support a stronger breakdown review.
• Retest Rejection → price revisited the broken support area and rejected from the acceptance band.
• Failure Risk Review → acceptance is weak or reclaim pressure increased.
• Breakdown Reclaim → price moved back above the reclaim rail and the active review is invalidated.
• Target Corridor Reached → price reached the projected target-room area.
🔔 Alerts Logic
Alerts trigger when the script detects support watch, a new breakdown, breakdown ready state, retest rejection, failure-risk review, follow-through, reclaim, or target-corridor contact.
Alerts are attention markers. They are not trade instructions.
🧩 Confluence Logic
The breakdown context becomes stronger when range maturity, close distance below support, bearish close quality, relative volume, retest rejection, and target room align.
The context weakens when the move stays too close to support, forms a large lower wick, lacks volume support, or reclaims back above the support rail.
📊 When to Use
• Mature ranges that begin to test the lower boundary.
• Breakdown review after a support-side close outside the range.
• Markets where target room below the range matters.
• Charts where a trader wants failure-risk context before reacting.
⚠️ When NOT to Use
• Extremely illiquid symbols.
• Very noisy micro timeframes with unreliable range structure.
• News spikes where ATR and volume become distorted.
• Markets that gap through the entire range before a readable review forms.
🎛️ Key Inputs
• Range Lookback → controls the range reference window.
• Minimum Range Age → controls how mature the range must be before readiness improves.
• Minimum Close Below Support ATR → controls the required close distance below support.
• Acceptance Band ATR → controls the width of the breakdown acceptance band.
• Reclaim Buffer ATR → controls the invalidation rail above support.
• Target Corridor Range Multiple → controls the projected target-room corridor.
• Label and Panel Font Size → controls publication readability.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first. The range box, acceptance band, and target corridor provide the main visual structure.
The panel stays compact and decision-oriented, with one merged blue AGPro header row and five planner rows.
Labels are limited, offset away from candles, and controlled by cooldown and max-visible settings to preserve a premium chart view.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether the range is mature or only building.
3. Review the support-side acceptance band after a close below support.
4. Compare Breakdown Score with Failure Risk.
5. Watch the reclaim rail and target-room corridor as context references.
🔍 Interpretation Guidelines
Think in terms of quality and failure risk.
A low score does not mean price cannot continue. It means the current breakdown context is not yet clean.
A high score does not mean certainty. It means the script sees stronger alignment between range maturity, acceptance, volume, candle quality, retest behavior, and target room.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a generic support/resistance scanner.
• Not an Order Block, Fair Value Gap, BOS/CHOCH, or broad SMC map.
⚠️ Limitations & Transparency
Range quality can change by timeframe.
High volatility can make reclaim and target-room references move quickly.
Low liquidity can reduce the usefulness of volume support.
The script is rule-based and should be interpreted within broader market context.
🧠 Market Context Notes
Breakdowns are often most useful when the prior range is mature, the support edge is clear, and price has enough room below the range to develop.
Weak breakdowns often appear as a quick pierce below support followed by a reclaim back inside the range.
This script focuses on that difference.
🧾 Use Case Examples
When price closes below range support with strong close quality, elevated relative volume, and a clean target corridor, the panel may move toward Breakdown Ready.
When price pierces below support but closes back near or above the edge, the script may show Failure Risk or Reclaim Review.
🧱 System Philosophy
AGPro planning tools are built to reduce chart ambiguity. The goal is not to add another signal, but to organize the decision context around structure, risk, acceptance, and next action.
🔐 Non-Promise Statement
No script can provide certainty.
No score should be interpreted as a guaranteed outcome.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use the script as an educational planning layer to study breakdown quality, reclaim risk, and target-room context across different symbols and timeframes.
Indicator

Meridian Session Cartography [JOAT]Meridian Session Cartography
Introduction
Meridian Session Cartography is an open-source session-structure overlay designed to map intraday market geography through Asia, London, New York, and one fully custom session. The indicator tracks each session's developing high, low, open, midpoint, previous-day references, and confirmed liquidity sweeps, then organizes those references into a clean institutional chart layout.
The problem Meridian solves is session context. Many intraday decisions fail not because the setup is invalid, but because the trader is reading a local move without understanding which session created the range, where the day is trading relative to prior-day references, and whether liquidity has already been swept. Meridian turns that information into a persistent map.
Core Concepts
1. Timezone-Safe Session Tracking
Each session is evaluated through explicit session windows and a user-selected timezone, allowing the script to adapt to regional workflows without hard-coding exchange assumptions.
f_inSession(string sess, string tz) =>
not na(time(timeframe.period, sess, tz))
2. Session Range Construction
Every active session continuously updates its high, low, midpoint, and opening price. These references remain actionable because they are tied to actual session development instead of static preset levels.
3. Previous-Day Reference Logic
Previous-day high, low, open, and close are requested from the daily context using non-lookahead calls. These levels frame the broader day structure around which the active session range is operating.
4. Confirmed Sweep Detection
The indicator identifies confirmed buy-side and sell-side sweeps around tracked extremes, helping the user recognize when a session has already consumed nearby liquidity.
5. Managed Object Layout
Boxes, lines, and labels are retained through capped arrays and automatically cleaned to avoid chart clutter and object-budget drift.
Features
Four configurable session blocks: Asia, London, New York, and one custom session
Range geometry: High, low, midpoint, and opening references for each session
Previous-day levels: Prior day high, low, open, and close included in the same framework
Confirmed sweep logic: Liquidity sweep status updates only after bar confirmation
Reference-level extension: Session levels can project forward for practical intraday use
Chart-cleaning controls: Managed limits for labels, boxes, and lines
Top-right dashboard: Active session, day range, sweep status, and nearest level are summarized continuously
Input Parameters
Core:
Timezone
Active Days To Retain
Level Extend Bars
Max Session Objects
Per-Session Blocks:
Show Session toggle
Session window
Bull and bear colors
Range fill color
Levels and Display:
Show Previous Day Levels
Show Opens
Show Midpoints
Show Range Zones
Show Sweep Labels
Show Candle Tint
Dashboard position and size
How to Use This Indicator
Step 1: Identify the active session
Use the dashboard to confirm which session currently governs price. This gives immediate context for interpreting local range behavior.
Step 2: Compare the active session to the day
Check the relationship between the active session range and previous-day high/low. This helps distinguish local noise from meaningful day-level expansion.
Step 3: Monitor midpoint and open behavior
Session midpoints and opens often act as practical mean-reversion or continuation checkpoints during intraday trading.
Step 4: Watch sweep status before fading or chasing
If the session has already swept one side of liquidity, that changes the quality of any breakout or reversal idea built near the same reference.
Indicator Limitations
Session-based indicators are highly sensitive to the chosen timezone and should be configured intentionally
Sweep detection confirms after the bar closes, which is deliberate non-repainting behavior
Very low-liquidity markets can produce irregular session geometry
The script maps context and liquidity behavior; it does not generate full trade plans by itself
Originality Statement
Meridian Session Cartography is original in the way it combines timezone-safe multi-session mapping, previous-day references, midpoint and open logic, confirmed sweep detection, and managed chart-object cleanup into one publication-ready intraday overlay. It is not a simple session shading script or a basic high/low plotter.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Session levels and sweep readings are contextual tools and can fail in volatile or atypical conditions. Trading involves risk, including the risk of loss.
Indicator

Northsea Auction Map [JOAT]Northsea Auction Map
Introduction
Northsea Auction Map is an open-source auction-style overlay that builds a rolling or session-anchored profile directly on the chart. It estimates where business has been conducted, where value is concentrated, where activity is thin, and how price is positioned relative to that structure.
The problem this script solves is that directional tools alone do not explain where the market is accepting price and where it is rejecting price. Auction context is useful because trend and reversal behavior both depend on where price is trading relative to value. Northsea uses a configurable anchor, builds a profile histogram, derives value area and point of control, approximates delta bias, and summarizes that information in a clean on-chart framework.
Core Concepts
1. Session or Rolling Anchoring
The script can build its auction map from a live session anchor or from a fixed rolling window. That allows it to serve both intraday session analysis and broader window-based contextual analysis. Session anchoring can use exchange-aware timing or an explicit timezone selection so the profile starts from the intended session definition.
2. Profile Row Construction
The chosen anchor range is divided into configurable price rows. Each eligible bar contributes volume into those rows, producing a simplified volume-at-price map. The widest concentration becomes the point of control, while the surrounding rows are expanded outward until the configured percentage of activity defines the value area.
3. Point of Control and Value Area
Northsea calculates:
POC: the highest-activity row
VAH: the upper boundary of the selected value area
VAL: the lower boundary of the selected value area
These levels are drawn forward on the chart so users can quickly see whether price is trading inside accepted value or outside it.
4. Delta Bias and Node Logic
The script derives a directional participation proxy and combines it with profile concentration to estimate whether the current map leans more bid-dominant, offer-dominant, or balanced. It also classifies high-value nodes and low-value nodes using row-level z-score logic so pockets of acceptance and low-participation gaps stand out.
5. Anchored VWAP and Range Context
An anchored VWAP and session range lines are drawn alongside the profile. This gives the user both price-distribution context and mean-location context in the same overlay.
Features
Two anchoring modes: Session Anchor and Rolling Window
Flexible session timezone handling: Supports exchange-aware or explicit timezone session anchoring
Configurable profile density: Adjustable lookback, row count, width, and offset
POC and value area: Automatically derived and extended on the chart
HVN and LVN identification: Highlights acceptance nodes and thin areas
Anchored VWAP: Adds a fair-value style reference line
Session range guides: High, low, and midpoint lines
Delta bias proxy: Adds directional auction context
Dashboard summary: Anchor bars, range, POC/VWAP, value area, delta bias, location, and balance metrics
Input Parameters
Anchoring:
Anchor Mode
Session Window
Session Timezone
Profile Lookback
Profile Rows
Value Area Percentage
Layout:
Right Offset
Profile Width
Session Range toggle
Anchored VWAP toggle
Profile Labels toggle
Node Summary toggle
Node Logic:
High-Value Node Z
Low-Value Node Z
Node Transparency
POC Highlight toggle
Value Area Highlight toggle
How to Use This Indicator
Step 1: Locate Price Relative to Value
If price is trading inside the value area, the market is operating near accepted value. If price is outside value and not returning quickly, the market may be discovering a new area.
Step 2: Compare POC With VWAP
The relationship between POC and anchored VWAP can help show whether the bulk of business and the weighted mean price are clustered together or diverging.
Step 3: Watch HVNs and LVNs
High-value nodes often behave like acceptance shelves. Low-value nodes often behave like traversal zones where price moves more quickly. These are not guaranteed reactions, but they are useful structural references.
Step 4: Use the Delta Bias as Context, Not Certainty
The delta bias proxy helps describe whether the current map is leaning more bid-side or offer-side. It should be read as auction context rather than treated as direct order-book truth.
Indicator Limitations
The script approximates auction structure from bar data and does not reconstruct true exchange-level volume at every traded price
Profile interpretation depends on the selected anchor; different anchors can produce different maps
Thinly traded instruments may generate unstable row distributions
Node thresholds are model-based and may require tuning by instrument
Originality Statement
Northsea Auction Map is original in the way it combines anchored profiling, value-area construction, node classification, delta bias estimation, and anchored VWAP into one restrained overlay. The goal is not to duplicate a platform-native profile panel, but to provide a configurable auction context tool that can travel with the chart and integrate directly with other analytical layers.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice. Profile levels and node classifications are derived from historical bar data and model assumptions, so they can differ from full exchange or footprint tools. Use independent judgment and risk management.
Indicator

Session Strata Mapper [JOAT]
Session Strata Mapper
Introduction
Session Strata Mapper is an overlay indicator that tracks three critical intraday price levels in real time: the Premarket session range (04:00-09:30 ET), the Initial Balance range (09:30-10:30 ET), and the Previous Day's high, low, and midpoint. These levels are rendered as dynamic zones that expand as each session progresses and extend as horizontal reference lines throughout the trading day. Extension projections above and below the Initial Balance provide potential target levels based on the established morning range.
Session-based levels represent areas where institutional participation was concentrated during distinct time periods. The premarket range reflects the overnight positioning of market participants before retail hours begin. The Initial Balance captures the price range set by the first hour of regular trading, a period often dominated by institutional order flow. Violations of these levels, especially when accompanied by volume, frequently signal meaningful directional commitment from large participants.
Core Concepts
1. Session Detection and Range Building
Sessions are detected using TradingView's time() function with a configurable timezone (default: America/New_York). The premarket range builds bar by bar during the 04:00-09:30 window, tracking the running high and low. The Initial Balance does the same during 09:30-10:30. All objects (boxes, lines, labels) update in real time as each session progresses.
2. Initial Balance Extensions
The IB range can optionally project extension levels above and below at 0.5x IB multiples. Extensions are labeled IB +1x, IB +2x, etc. These project the IB range beyond the session boundaries and serve as potential continuation targets when price breaks from the IB.
3. Previous Day Levels
The previous trading day's high, low, and midpoint are tracked by detecting session-start bars and storing the completed day's range. These levels extend throughout the current session as dashed reference lines and are updated at the start of each new day.
4. Zone Boxes and Line Rendering
Each session's range is rendered as a filled zone box that expands during the session and then remains fixed after the session ends. Horizontal lines extend from the session boundaries into the future trading period, providing ongoing reference as price interacts with those levels throughout the day.
Features
Premarket Range Zone: Live-building box with high, low, and optional midpoint lines
Initial Balance Zone: Live-building box with high, low, midpoint, and extension projections
Previous Day Levels: Prior session high, low, and midpoint as dashed reference lines
Extension Lines: Up to 4 levels of IB extension projections with optional labels
Dashboard: Real-time level values and whether price is currently above or below each key level
Configurable Timezone: Works for multiple market sessions globally
Label Size and Line Width Controls
Input Parameters
Timezone: Market-specific timezone for session detection
Show Premarket, IB, Previous Day: Individual toggles
IB Extension Levels: Number of extension multiples to show (0-4)
Color inputs for each session type
Label size and line width settings
How to Use This Indicator
Premarket Range as Reference
Price trading above the premarket high at the regular session open is constructive. A break below the premarket low often draws bearish attention. The premarket midpoint frequently acts as intraday support or resistance.
Initial Balance Breakouts
When price breaks above the IB high with momentum, the extension levels provide natural targets. An IB high breakout that reaches IB +1x suggests continuation may carry to IB +2x. Reversals from IB extension levels are also common.
Previous Day Level Confluences
When the premarket or IB range aligns closely with the previous day's high or low, that confluence represents an area where two independent session-based reference points agree — a stronger potential reaction zone.
Limitations
Session detection requires intraday data. The indicator is not meaningful on daily or higher timeframes
Some brokers and data providers do not include premarket data. On charts without premarket bars, the premarket range will be empty
Extension levels are mechanical projections of the IB range. They are reference points, not guaranteed targets
The Previous Day tracking resets on each new session. On instruments that trade continuously (such as some crypto markets), the day boundary is user-defined by the timezone setting
Originality Statement
The integration of three distinct session types (premarket, initial balance, and previous day) within a single dynamically updating visualization system provides a consolidated view that would otherwise require multiple separate tools. The live-expanding zone boxes with simultaneous line extension represent a unified approach to session level tracking. The IB extension projection system is built around the specific multiples used by institutional traders who apply IB methodology.
Disclaimer
This indicator is for educational and informational purposes only. Session levels are historical reference points and do not predict future price reactions. Price can and regularly does pass through any level without reaction. Use in conjunction with other analysis and always apply proper risk management.
-Made with passion by officialjackofalltrades
Indicator

Range Zones AlertsRange Zones — Buy the Green, Sell the Red
Get alerted when price enters a buy zone or a sell zone.
This indicator detects the current trading range, splits it into three color-coded zones, and sends you an alert the moment price touches the zone you care about. No guessing where support and resistance are — the indicator finds them for you.
Green Zone = Buy Zone
The bottom third of the range is shaded green. This is where price has historically found support. When price drops into the green, buyers tend to step in. Set up the Bull alert and get notified the instant price touches this zone — that's your signal to start looking for a long entry.
Red Zone = Sell Zone
The top third of the range is shaded pink/red. This is where price has historically hit resistance. When price pushes into the red, sellers tend to step in. Set up the Bear alert and get notified the instant price touches this zone — that's your signal to start looking for a short entry or to take profits on longs.
Blue Zone = No Trade Zone
The middle third is shaded blue. Price is stuck between support and resistance with no clear edge in either direction. When price is in the blue, wait.
Alerts
Three options in TradingView's alert panel:
— Bull Alert: fires when price touches the green support zone.
— Bear Alert: fires when price touches the red resistance zone.
— Both: fires on either — one alert covers everything.
A built-in cooldown (default 20 bars) prevents spam. You get one alert per zone touch, then silence until the cooldown clears. Bull and bear cooldowns are independent — a green zone alert won't block a red zone alert.
How It Works
The indicator uses pivot-based swing detection to find the most recent significant high and low. The range between them is divided into three equal horizontal zones. The zones update automatically as new swing highs and lows form. A Max Range Age setting ensures stale, outdated ranges are dropped.
Settings
— Pivot Strength: how significant the swing points need to be. Default 20. Higher = wider ranges.
— Max Range Age: how old the range can be before it's dropped. Default 300 bars.
— Alert Cooldown: bars of silence after an alert fires. Default 20.
— Zone Colors: fully customizable.
Works on any ticker, any timeframe. Add it to your chart, set up your alerts, and let the zones tell you when it's time to trade. Indicator

Prior Day Range BoxPrior Day Range Box
Prior Day Range Box plots the previous trading day’s high and low directly on the current chart and displays that range as a visual box with optional reference lines. The script pulls the prior day’s high and low from the daily timeframe, then projects those levels onto the active chart so traders can track how current price behaves around important higher-timeframe levels.
At the start of each new trading day, the indicator creates a new prior day range using the previous day’s high and low. A box can be drawn between those levels to clearly show the full prior day range, while separate horizontal lines mark the prior day high and prior day low. These levels are widely used by intraday traders as key areas for support, resistance, breakout confirmation, rejection, and liquidity interaction.
An optional midpoint line can also be displayed. This line marks the 50% level of the prior day’s range and can serve as an added reference for balance, mean reversion, or directional bias during the session.
The script also includes an optional historical lookback mode. When enabled, it can display prior day range levels from multiple past sessions, making it easier to study how price reacts to historical daily ranges over time. The number of displayed lookback days can be adjusted to fit the user’s preference.
All visual elements are customizable. Users can choose whether to show the range box, enable the midpoint, extend the prior day high and low across the chart, display historical lookback days, and adjust the colors and line width to match their chart setup.
This indicator is designed for traders who use prior day high and low levels as part of their intraday process and want a clean visual framework for tracking previous session range structure on any intraday chart. Indicator

Indicator

ATR Bands (MA Distance)ATR Bands (MA Distance) plots volatility-based bands at a multiple of ATR away from a selected moving average.
Unlike percentage envelopes or standard deviation bands, this indicator measures distance from the moving average using ATR, representing the market’s normal “breathing range” rather than statistical probability.
Key Features
The center line is a selectable moving average (EMA, SMA, RMA/Wilder, or WMA).
Upper and lower bands are calculated as:
Moving Average ± ATR × Multiplier
Band width automatically adapts to changing market volatility.
Designed for consistent use across different markets and timeframes without parameter re-optimization.
Non-repainting: all values are calculated only from confirmed historical bars.
Intended Use
ATR Bands (MA Distance) is best used as a context and preparation tool , not as a direct entry or exit signal.
Typical use cases include:
Identifying areas where price is extended relative to its recent volatility.
Visualizing normal vs. stretched price distance from the moving average.
Supporting range-based analysis or trade preparation when combined with other indicators (e.g., oscillators).
Important Notes / How NOT to Use
This indicator does NOT generate buy or sell signals by itself .
Touching or crossing a band does not imply an automatic reversal.
In strong trending markets, price may stay outside the bands for extended periods.
ATR Bands should not be interpreted as overbought/oversold levels on their own.
This indicator does NOT repaint. Once a bar is closed, its values will not change.
For best results:
Use ATR Bands as a preparation zone, then wait for confirmation from your own entry logic.
Disable or ignore band-based mean-reversion ideas during strong trend conditions.
Concept Summary (Short)
ATR Bands (MA Distance) visualize how far price has moved from its moving average in terms of volatility, without repainting and without relying on percentage deviation or statistical assumptions.
Optional Short Description (Preview)
Volatility-based, non-repainting ATR bands plotted at a distance from a moving average.
Designed for market context and trade preparation — not standalone signals. Indicator

Open Range BreakoutOpen Range Breakout (ORB)
The Open Range Breakout (ORB) is a classic intraday strategy used across stocks, indices, FX and futures. It focuses on how price behaves during the first minutes of a major session, when liquidity and volatility are highest.
This indicator fully automates the ORB process with session detection, box drawing, breakout & retest logic, and final Buy/Sell signals.
Multi-Session Support
Choose between the three most important global opens:
Asia (Tokyo) – JPY pairs, Asian indices, gold, crypto
London – FX majors, European indices, strong volatility
New York – US indices, USD pairs, gold, oil, highest volume
The Opening Range is calculated only during the selected session.
ORB Range (5 / 15 / 30 min)
The indicator builds the ORB High/Low from the first X minutes of the session, draws the box, and waits for price action once the range is complete.
How It Works
ORB Window → High/Low of the opening minutes are recorded.
Breakout → Price closes above/below the ORB → “BREAKOUT” label.
Retest → Price returns to the ORB box → “RETEST” label.
Confirmation Levels Freeze → Upper/lower structure set.
Final Signal
Close above frozen upper level → BUY
Close below frozen lower level → SELL
This filters out false breakouts and provides structured continuation signals.
Alerts
Includes built-in alert conditions for:
ORB BUY Signal
ORB SELL Signal
Alerts trigger exactly when the Buy or Sell label appears.
Works On
Stocks & indices
Forex
Futures Indicator

Range Lattice## RangeLattice
RangeLattice constructs a higher-timeframe scaffolding on any intraday chart, locking in structural highs/lows, mid/quarter grids, VWAP confluence, and live acceptance/break analytics. It provides a non-repainting overlay that turns range management into a disciplined process.
HOW IT WORKS
Structure Harvesting – Using request.security() , the script samples highs/lows from a user-selected timeframe (default 240 minutes) over a configurable lookback to establish the dominant range.
Grid Construction – Midpoint and quarter levels are derived mathematically, mirroring how institutional traders map distribution/accumulation zones.
Acceptance Detection – Consecutive closes inside the range flip an acceptance flag and darken the cloud, signaling balanced auction conditions.
Break Confirmation – Multi-bar closes outside the structure raise break labels and alerts, filtering the countless fake-outs that plague breakout traders.
VWAP Fan Overlay – Session VWAP plus ATR-based bands provide a live measure of flow centering relative to the lattice.
HOW TO USE IT
Range Plays : Fade taps of the outer rails only when acceptance is active and VWAP sits inside the grid—this is where mean-reversion works best.
Breakout Plays : Wait for confirmed break labels before entering expansion trades; the dashboard's Width/ATR metric tells you if the expansion has enough fuel.
Market Prep : Carry the same lattice from pre-market into regular trading hours by keeping the structure timeframe fixed; alerts keep you notified even when managing multiple tickers.
VISUAL FEATURES
Range Tap and Mid Pivot markers provide a tape-reading breadcrumb trail for journaling.
Cloud fill opacity tightens when acceptance persists, visually signaling balance compressions ready to break.
Dashboard displays absolute width, ATR-normalized width, and current state (Balanced vs Transitional) so you can glance across charts quickly.
Acceptance Flag toggle: Keep the repeated acceptance squares hidden until you need to audit balance.
PARAMETERS
Structure Timeframe (default: 240): Choose the timeframe whose ranges matter most (4H for indices, Daily for stocks).
Structure Lookback (default: 60): Bars sampled on the structure timeframe.
Acceptance Bars (default: 8): How many consecutive bars inside the range confirm balance.
Break Confirmation Bars (default: 3): Bars required outside the range to validate a breakout.
ATR Reference (default: 14): ATR period for width normalization.
Show Midpoint Grid (default: enabled): Display the midpoint and quarter levels.
Show Adaptive VWAP Fan (default: enabled): Toggle the VWAP channel for assets where volume distribution matters most.
Show Acceptance Flags (default: disabled): Turn the acceptance markers on/off for maximum visual control.
Show Range Dashboard (default: enabled): Disable if screen space is limited, re-enable during prep sessions.
ALERTS
The indicator includes five alert conditions:
Range High Tap: Price interacted with the RangeLattice high
Range Low Tap: Price interacted with the RangeLattice low
Range Mid Tap: Price interacted with the RangeLattice mid
Range Break Up: Confirmed upside breakout
Range Break Down: Confirmed downside breakout
Where it works best
This indicator works best on liquid instruments with clear structural levels. On very low timeframes (1-minute and below), the structure may update too frequently to be useful. The acceptance/break confirmation system requires patience—faster traders may find the multi-bar confirmation too slow for scalping. The VWAP fan is session-based and resets daily, which may not suit all trading styles.
Indicator

IDWM Master StructureExecutive Summary
The IDWM Master Structure is a Multi-Timeframe (MTF) trading tool designed to force discipline by aligning traders with the "Parent" trend. It functions by locking onto the "Completed Auction" of a higher timeframe candle (like a Daily or Weekly bar) and projecting that structure onto your lower timeframe chart. Its primary goal is to define the "Dealing Range"—the hard boundaries where value was previously established—so you don't get lost in the noise of smaller price movements.
1. The Principle of Completed Auctions (Hierarchy)
Most technical indicators curve dynamically with every price tick. This script acts differently because it relies on "Settled Arguments." A closed Daily candle represents a finished battle between buyers and sellers; the High and Low are the historical results of that battle.
To enforce this, the script automatically selects a "Parent" timeframe based on your view:
Scalping (charts below 15 minutes) uses the 4-Hour Auction.
Intraday trading (15 minutes to 4 Hours) uses the Daily Auction.
Swing trading (Daily chart) uses the Weekly Auction.
2. Liquidity Pools & The Sticky Range
The High and Low lines drawn by the indicator are not just support and resistance; they represent Liquidity Pools. In market theory, stop-losses (Sell Stops below Lows, Buy Stops above Highs) accumulate at these edges.
Smart money often pushes price just past these lines to grab this liquidity (a "Stop Hunt") before reversing direction. To account for this, the script uses a "Sticky Range" mechanism. It refuses to redraw the box simply because price touched the line. Instead, it uses an Average True Range (ATR) Buffer. A new structure is only formed if the candle closes decisively outside the range plus this volatility buffer. This ensures you are trading real breakouts, not liquidity sweeps.
3. Internal Range Mechanics (Premium vs. Discount)
Inside the Master Box, the script applies Equilibrium Theory to help with trade location.
The most important internal line is the Equilibrium (EQ), which marks the exact 50% point of the range.
Premium Zone (Above EQ): Price is mathematically "expensive" relative to the recent range. Algorithms generally look to establish Short positions here.
Discount Zone (Below EQ): Price is considered "cheap." Algorithms generally look to establish Long positions here.
It also plots the Master Open, which acts as a "Line in the Sand." If price is currently trading above the Master Open, the higher timeframe candle is Green (Bullish), suggesting longs have a higher probability. If below, the candle is Red (Bearish).
4. Wick Theory (Failed Auctions)
The script places special emphasis on the wicks of the Master Candle because a wick represents a "Failed Auction"—a price level the market tried to explore but ultimately rejected.
The indicator highlights the background of the wick area (from the High to the Body). On a retest, these zones often act as supply or demand blocks because the market remembers the previous failure.
It also calculates the "Consequent Encroachment," which is the 50% midpoint of the wick. The rule of thumb here is that if a candle body can close past 50% of a wick, the rejection is nullified, and price will likely travel to fill the entire wick.
5. Energy Expansion (Breakout Targets)
Market energy transfers from Consolidation (inside the box) to Expansion (the breakout). When the price finally breaks the "Sticky Range" (confirming via the ATR buffer), the script projects where that energy will go.
It uses the height of the previous range to calculate Fibonacci extensions. Specifically, it targets the 1.618 Extension, often called the "Golden Ratio." This is a statistically significant level where expansion moves tend to exhaust themselves and reverse.
6. Safety Protocol: Live Detection
A dashboard monitors the state of the parent candle. If the text turns Magenta with a warning symbol, it means the Higher Timeframe candle is "Live" (still forming).
Trading off a live structure is considered higher risk because the "Auction" isn't finished—the High or Low can still shift. The safest approach is to trade when the dashboard indicates a standard, locked, historical structure. Indicator

Premium/Discount Zones with Confirmation Signals📌 Indicator Description: Premium/Discount Zones with Confirmed Signals
This indicator identifies dynamic Premium, Discount, and Equilibrium zones based on recent swing highs and lows, helping traders visualize where price is considered expensive, cheap, or fair value. It’s designed for Smart Money Concepts (SMC), ICT-style trading, and anyone who values precision in zone-based analysis.
🔍 Key Features
Swing-Based Zones: Automatically detects swing highs/lows over a customizable lookback period (default: 48 bars — equivalent to 2 days on a 1-hour chart).
Premium & Discount Levels: Define overbought and oversold zones using percentage inputs (default: 25%).
Equilibrium Band (middle): Highlights the no-trade value zone with adjustable width (default: 5%).
Signal Engine: Generates trade signals based on two styles:
Bounce: Reversal signals when price reacts to a zone and confirms direction.
Breakout: Continuation signals when price breaks through a zone with momentum.
Trade Type Selector: Choose between Bounce, Breakout, or Both from the input menu.
Signal Filtering: Limits signals to one per direction at a time to reduce noise.
Visual Styling: Toggle between colored or monochrome themes for clean charting.
🧠 How It Works
Buy signals appear when price confirms strength from the discount zone or breaks above the premium zone.
Sell signals appear when price confirms weakness from the premium zone or breaks below the discount zone.
All signals include a built-in 3-bar confirmation delay to reduce false triggers.
🎯 Ideal For
Traders using SMC, ICT, or price action strategies
Zone-based scalping, swing trading, or intraday setups
Visualizing market structure and value areas with clarity
I hope you find this useful — and wish you Happy Trades! Indicator

Range Oscillator (Zeiierman)█ Overview
Range Oscillator (Zeiierman) is a dynamic market oscillator designed to visualize how far the price is trading relative to its equilibrium range. Instead of relying on traditional overbought/oversold thresholds, it uses adaptive range detection and heatmap coloring to reveal where price is trading within a volatility-adjusted band.
The oscillator maps market movement as a heat zone, highlighting when the price approaches the upper or lower range boundaries and signaling potential breakout or mean-reversion conditions.
Highlights
Adaptive range detection based on ATR and weighted price movement.
Heatmap-driven coloring that visualizes volatility pressure and directional bias.
Clear transition zones for detecting trend shifts and equilibrium points.
█ How It Works
⚪ Range Detection
The indicator identifies a dynamic price range using two main parameters:
Minimum Range Length: The number of bars required to confirm that a valid range exists.
Range Width Multiplier: Expands or contracts the detected range proportionally to the ATR (Average True Range).
This approach ensures that the oscillator automatically adapts to both trending and ranging markets without manual recalibration.
⚪ Weighted Mean Calculation
Instead of a simple moving average, the script calculates a weighted equilibrium mean based on the size of consecutive candle movements:
Larger price changes are given greater weight, emphasizing recent volatility.
⚪ Oscillator Formula
Once the range and equilibrium mean are defined, the oscillator computes:
Osc = 100 * (Close - Mean) / RangeATR
This normalizes price distance relative to the dynamic range size — producing consistent readings across volatile and quiet periods.
█ Heatmap Logic
The Range Oscillator includes a built-in heatmap engine that color-codes each oscillator value based on recent price interaction intensity:
Strong Bullish Zones: Bright green — price faces little resistance upward.
Weak Bullish Zones: Muted green — uptrend continuation but with minor hesitation.
Transition Zones: Blue — areas of uncertainty or trend shift.
Weak Bearish Zones: Maroon — downtrend pressure but soft momentum.
Strong Bearish Zones: Bright red — strong downside continuation with low resistance.
Each color band adapts dynamically using:
Number of Heat Levels: Controls granularity of the heatmap.
Minimum Touches per Level: Defines how reactive or “sensitive” each color zone is.
█ How to Use
⚪ Trend & Momentum Confirmation
When the oscillator stays above +0 with green coloring, it suggests sustained bullish pressure.
Similarly, readings below –0 with red coloring, it suggests sustained bearish pressure.
⚪ Range Breakouts
When the oscillator line breaks above +100 or below –100, the price is exceeding its normal volatility range, often signaling breakout potential or exhaustion extremes.
⚪ Mean Reversion Trades
Look for the oscillator to cross back toward zero after reaching an extreme. These transitions (often marked by blue tones) can identify early reversals or range resets.
⚪ Divergence
Use oscillator peaks and troughs relative to price action to spot hidden strength or weakness before the next move.
█ Settings
Minimum Range Length: Number of bars needed to confirm a valid range.
Range Width Multiplier: Expands or contracts range width based on ATR.
Number of Heat Levels: Number of gradient bands used in the oscillator.
Minimum Touches per Level: Sensitivity threshold for when a zone becomes “hot.”
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs. Indicator

Indicator

Quantum Range Filter by MRKcoin### Quantum Range Filter by MRKcoin
**Overview**
This indicator is a sophisticated range detection tool designed based on the principles of quantitative multi-factor models. Instead of relying on a single condition, it assesses the market from three different dimensions to provide a more robust and reliable identification of range-bound (sideways) markets.
When the background is highlighted in red, it indicates that the market is likely in a range phase, suggesting that trend-following strategies may be less effective, and mean-reversion (range trading) strategies could be more suitable.
---
**Core Logic: A Multi-Factor Approach**
The filter evaluates the market state using the following three independent factors:
1. **Momentum Volatility (RSI Bollinger Bandwidth):**
* **Question:** Is the momentum of the market contracting?
* **Method:** It measures the width of the Bollinger Bands applied to the RSI. A narrow bandwidth suggests that momentum is consolidating, which is a common characteristic of a range market.
2. **Price Volatility (ATR Ratio):**
* **Question:** Is the actual price movement shrinking?
* **Method:** It calculates the Average True Range (ATR) as a percentage of the closing price. A low ratio indicates that the price volatility itself is low, reinforcing the case for a range environment.
3. **Absence of Trend (ADX):**
* **Question:** Is there a lack of a clear directional trend?
* **Method:** It uses the Average Directional Index (ADX), a standard tool for measuring trend strength. A low ADX value provides active confirmation that the market is not in a trending phase.
---
**How to Use**
1. **Range Detection:** The primary use is to identify ranging markets. The red highlighted background serves as a visual cue.
2. **Strategy Selection:**
* **Inside the Red Zone:** Consider using range-trading strategies (e.g., buying at support, selling at resistance, using oscillators like RSI or Stochastics for overbought/oversold signals). Avoid using trend-following indicators like moving average crossovers, as they are prone to generating false signals in these conditions.
* **Outside the Red Zone:** The market is likely trending. Trend-following strategies are more appropriate.
3. **Parameter Tuning (In Settings):**
* **This is the key to adapting the filter to any market or timeframe.** Different assets (like BTC vs. ETH) and different timeframes have unique volatility characteristics. Don't hesitate to adjust the parameters to fit the specific chart you are analyzing.
* **Range Detection Score:** This is the most important setting. It determines how many of the three factors must agree to classify the market as a range. The default is `2`, which provides a good balance.
* If the filter seems **too sensitive** (highlighting too often), increase the score to `3`.
* If the filter seems **not sensitive enough** (missing obvious ranges), decrease the score to `1`.
* **Factor Thresholds:** For fine-tuning, adjust the thresholds for each factor.
* **`RSI BB Width Threshold`:** If you want to detect even tighter momentum consolidations, *decrease* this value.
* **`ATR Ratio Threshold`:** If you want to be stricter about price volatility, *decrease* this value.
* **`ADX Threshold`:** To be more lenient on what constitutes a "trendless" market, *increase* this value (e.g., to 30). To be stricter, *decrease* it (e.g., to 20).
* **Pro Tip:** Use the Debug Table (uncomment it in the script's code) to see the live values of each factor. This will give you a clear idea of how to set the thresholds for the specific asset you are trading.
**Disclaimer**
This indicator is a tool to assist in market analysis and should not be used as a standalone signal for making financial decisions. Always use it in conjunction with your own trading strategy, risk management, and analysis. Past performance is not indicative of future results.
**Credits**
* **Concept & Vision:** MRKcoin Indicator

Fibonacci Range Detector ║ BullVision🔬 Overview
The Fibonacci Range Mapper is a dynamic technical tool designed to identify, track, and visualize price ranges using Fibonacci levels. Whether you're trading manually or prefer automated structure recognition, this indicator helps you contextualize market moves and locate key price zones with precision.
⚙️ Core Logic
🔍 Range Detection (Auto & Manual Modes)
In Auto mode, the indicator uses an advanced ZigZag system based on ATR or percentage thresholds to confirm market swings and construct Fibonacci-based ranges.
In Manual mode, traders can define their own swing low and high to generate precise custom ranges.
📐 Fibonacci Mapping
Each detected range is automatically plotted with key Fibonacci retracement levels — 0%, 25%, 50%, 75%, 100% — along with optional extensions (127.2% and 161.8%) to anticipate price continuations or reversals.
📋 Live Data Table
An integrated info panel dynamically displays crucial metrics:
• Range size
• Current price zone (Discount / Mid / Premium)
• Position within range (%)
• Distance to range extremes
• Range status (Pending or Confirmed)
🕰️ Historical Memory
Up to 20 past ranges can be stored and visualized simultaneously, helping traders recognize repeated price behaviors and contextual support/resistance levels.
🎨 Visual Highlights
Zones of interest (0–25% = Discount, 75–100% = Premium) are color-coded with custom transparency, and labels can be toggled for clarity. The current active range updates in real time as structure evolves.
🔧 User Customization
• Detection Method: Choose between ATR or % ZigZag for automated swing identification
• Confirmation Delay: Set how many bars to wait before confirming a new high
• Manual Overrides: Select exact price levels when you want full control
• Extensions & Labels: Toggle additional lines and info to suit your charting style
• Visual Table Position: Customize where the data table appears on screen
• Color Scheme: Define your own zone gradients for better visual interpretation
📈 Use Cases
This indicator is ideal for traders who want to:
• Identify value zones within local or macro price structures
• Plan trades around Fibonacci retracement and extension levels
• Detect shifts in market structure using an adaptive ZigZag logic
• Track recurring price ranges and historical reaction points
• Enhance technical confluence with clean, visual price mapping
⚠️ Important Notes
This tool is not a buy/sell signal generator — it is a visual framework for structure-based analysis.
Use it in conjunction with your existing strategy and risk management process.
Always confirm with broader context and multi-timeframe alignment. Indicator

Trend Range Detector (Zeiierman)█ Overview
Trend Range Detector (Zeiierman) is a market structure tool that identifies and tracks periods of price compression by forming adaptive range boxes based on volatility and price movement. When prices remain stable within a defined band, the script dynamically draws a range box; when prices break out of that structure, the box highlights the breakout in real-time.
By combining a volatility-based envelope with a custom weighted centerline, this tool filters out noise and isolates truly stable zones — providing a clean framework for traders who focus on accumulation, distribution, breakout anticipation, and reversion opportunities.
Whether you're range trading, spotting trend consolidations, or looking for volatility contractions before major moves, the Trend Range Detector gives you a mathematically adaptive, visually intuitive structure that maps the heartbeat of the market.
█ How It Works
⚪ Range Formation Engine
The core of this indicator revolves around two conditions:
Distance Filter: The maximum distance between all recent closes and a dynamic centerline must remain within a volatility envelope.
Volatility Envelope: Based on an ATR(2000) multiplied by a user-defined factor to account for broader market volatility trends.
If both conditions are satisfied over the most recent length bars, a range box is drawn to visually anchor the zone.
⚪ Dynamic Breakout Coloring
When price breaks out of the top or bottom of the active range box, the box color shifts in real-time:
Blue Boxes represent areas where price has remained within a defined volatility envelope over a sustained number of bars. These zones reflect stable, low-volatility periods, often associated with consolidation, equilibrium, or market indecision.
Green Boxes for bullish breakouts.
Red Boxes for bearish breakdowns.
This allows traders to visually spot transitions from consolidation to expansion phases without relying on lagging signals.
█ Why Use a Weighted Close Instead of SMA?
A standard Simple Moving Average (SMA) treats all past closes equally, which works well in theory, but not in dynamic, fast-shifting markets. In this script, we replace the traditional SMA with a speed-weighted average that reflects how aggressively the market has moved bar-to-bar.
⚪ Here's why it matters:
Bars with higher momentum (larger price differences between closes) are given more weight.
Slow, sideways candles (typical in noise or low volume) contribute less to the calculated centerline.
This method creates a more accurate snapshot of market behavior, especially during volatile phases. As a result, the indicator adapts to market conditions more effectively, helping traders identify real consolidation zones, not just average lines distorted by flat bars or noise.
█ How to Use
⚪ Range Detection
Boxes form only when price remains consistently close to the speed-weighted mean.
Helps identify sideways zones, consolidations, and low-volatility structures where price is “charging up.”
⚪ Breakout Confirmation
Once price exits the top or bottom boundary, the box immediately highlights the direction of the break.
Use this signal in conjunction with your own momentum, volume, or trend filters for higher-confidence trades.
█ Settings
Minimum Range Length: Number of candles required for a valid range to form.
Range Width Multiplier: Adjusts the envelope around the weighted average using ATR(2000).
Highlight Box Breaks: Enables real-time coloring of breakouts and breakdowns for immediate visual feedback.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Range Breakout [sgbpulse]Range Breakout
1. Overview
The "Range Breakout " indicator is a powerful tool designed to identify and visually display price ranges on your chart using pivot points. It dynamically draws two distinct boxes – an External Range and an Internal Range – helping traders pinpoint potential support and resistance zones. Beyond its visual representation, the indicator offers a comprehensive set of 12 unique breakout alerts, providing real-time notifications for significant price movements outside these defined ranges. Additionally, it integrates RSI and MFI metrics for momentum confirmation.
2. How It Works
The indicator operates by identifying pivot points based on user-defined "left" and "right" bar lengths. A high pivot is a bar with a specified number of lower highs both to its left and right, and similarly for a low pivot.
External Range: Calculated using longer pivot lengths (default: 15 bars left, 6 bars right). This range represents broader, more significant price consolidation areas.
Internal Range: Calculated using shorter pivot lengths (default: 4 bars left, 3 bars right). This range captures tighter, more immediate price consolidations within the broader trend.
The External Range will always be greater than or equal to the Internal Range, as it's based on a wider historical context. Both ranges are displayed as transparent boxes on your chart, dynamically adjusting as new pivots are formed.
3. Key Features and Settings
Customizable Pivot Lengths:
External Range (Left/Right Bars): Adjust sensitivity for identifying the broader price range. Longer lengths lead to more stable, but less frequent, range updates.
Internal Range (Left/Right Bars): Adjust sensitivity for the tighter, more immediate price range.
Tool Tips: Minimum 6 bars for the External Range, and minimum 2 bars for the Internal Range.
Customizable Range Colors: Easily change the background colors of the External and Internal Range boxes to match your chart's aesthetic.
Dynamic Range Display: The indicator automatically updates the range boxes as new pivot highs and lows are formed, always presenting the most current valid ranges.
RSI / MFI Settings:
Timeframe Source: Select the timeframe for RSI and MFI calculation.
- Chart: Calculation based on the current chart timeframe.
- Daily: Always calculated based on the daily ("D") timeframe, even if the chart is on a lower timeframe.
RSI Length: Period length for RSI calculation (default: 14).
RSI Overbought Level: Overbought level for RSI (default: 70.0).
RSI Oversold Level: Oversold level for RSI (default: 30.0).
MFI Length: Period length for MFI calculation (default: 14).
MFI Overbought Level: Overbought level for MFI (default: 80.0).
MFI Oversold Level: Oversold level for MFI (default: 20.0).
4. Synergy of Ranges & Breakout Strength
The interaction between the External and Internal Ranges provides deep insights into price movement and breakout strength:
Immediate Direction: The movement of the Internal Range (up or down) indicates the short-term directional bias within the broader framework of the External Range.
Strength Confirmation: A breakout of the External Range, followed by a breakout of the Internal Range, confirms the strength of the move and increases confidence in the breakout.
Strong Momentum ("Leaving" Ranges Behind): When price breaks out with exceptionally strong momentum, it continues to move aggressively and does not immediately form new pivots. In such situations, the existing ranges (External and Internal) remain in place while the candles "leave them behind." A "Full Candle" breakout, where the entire candle moves past both ranges, indicates a particularly powerful and decisive move.
Momentum (RSI / MFI) as Confirmation:
- RSI (Relative Strength Index): Measures the speed and change of price movements. Extreme values (above 70 or below 30) indicate overbought/oversold conditions respectively, confirming strong momentum in a breakout.
- MFI (Money Flow Index): Similar to RSI but incorporates volume. Extreme values (above 80 or below 20) indicate strong money flow in/out, reinforcing breakout confirmation.
- Importance of Confirmation: If a breakout occurs but momentum indicators do not confirm it (for example, an upside breakout while RSI is declining), this could signal weakness in the move and the risk of a false breakout (Fakeout).
5. Visuals
The indicator provides clear visual representations on the chart:
Range Boxes:
Two dynamic boxes are drawn on the chart: one for the External Range and one for the Internal Range.
These boxes update continuously, displaying the current range boundaries based on the latest pivots. They provide an immediate visual indication of support and resistance levels.
RSI/MFI Status Labels:
Small text labels appear to the right of the current bar, vertically centered.
They display the status of RSI and MFI: RSI OB (Overbought), RSI OS (Oversold), MFI OB, MFI OS, along with the exact value.
Important: The labels remain on the chart as long as the condition holds (indicator is above/below the level), unlike alerts which mark a singular crossover event.
Plotting of Key Values:
The indicator plots six invisible series on the chart, primarily to allow the user to view the exact numerical values of:
- The upper and lower bounds of the External Range (External High, External Low).
- The upper and lower bounds of the Internal Range (Internal High, Internal Low).
- The calculated RSI and MFI values (RSI, MFI).
These values are accessible for viewing through TradingView's Data Window and also via the Status Line when hovering over the relevant candle. This enables more precise quantitative analysis of range levels and momentum.
6. Comprehensive Breakout Alerts
The "Range Breakout " indicator provides 12 distinct alert conditions for breakouts, allowing you to select the required level of confirmation for each alert. All alerts are triggered only upon a fully confirmed bar close (barstate.isconfirmed) to minimize false signals and ensure reliability.
All breakout alerts are configured to detect a Crossover/Crossunder of the levels, meaning a specific event where the price moves from one side of the range to the other.
External Range Breakout UP
- Close: Price closes above the External Range.
- Real Body: The entire "real body" of the candle (min of open/close prices) closes above the External Range.
- Full Candle: The entire candle (the lowest point of the candle) closes above the External Range.
External Range Breakout DOWN
- Close: Price closes below the External Range.
- Real Body: The entire "real body" of the candle (max of open/close prices) closes below the External Range.
- Full Candle: The entire candle (the highest point of the candle) closes below the External Range.
Internal Range Breakout UP
- Close: Price closes above the Internal Range.
- Real Body: The "real body" of the candle closes above the Internal Range.
- Full Candle: The entire candle closes above the Internal Range.
Internal Range Breakout DOWN
- Close: Price closes below the Internal Range.
- Real Body: The "real body" of the candle closes below the Internal Range.
- Full Candle: The entire candle closes below the Internal Range.
7. Ideal Use Cases
This indicator is ideal for traders who:
Want to clearly identify and monitor price consolidation zones.
Seek confirmation for breakout strategies across various timeframes.
Require reliable and automated alerts for potential entry or exit points based on range expansion.
8. Complementary Indicator
For even more comprehensive market analysis, we highly recommend using this indicator in conjunction with Market Structure Support & Resistance External/Internal & BoS .
This powerful complementary indicator automatically and accurately identifies significant support and resistance levels by locating high and low pivot points, as well as key Pre-Market High/Low levels. Its strength lies in its dynamic adaptability to any timeframe and asset, providing precise and relevant real-time levels while maintaining a clean chart. It also identifies Break of Structure (BoS) to signal potential trend changes or continuations.
Using both indicators together provides a robust framework for identifying defined ranges and potential trend shifts, enabling more informed trading decisions.
View Market Structure Support & Resistance External/Internal & BoS Indicator
9. Important Note: Trading Risk
This indicator is intended for educational and informational purposes only and does not constitute investment advice or a recommendation for trading in any form whatsoever.
Trading in financial markets involves significant risk of capital loss. It is important to remember that past performance is not indicative of future results. All trading decisions are your sole responsibility. Never trade with money you cannot afford to lose.
Indicator

Trend Impulse Channels (Zeiierman)█ Overview
Trend Impulse Channels (Zeiierman) is a precision-engineered trend-following system that visualizes discrete trend progression using volatility-scaled step logic. It replaces traditional slope-based tracking with clearly defined “trend steps,” capturing directional momentum only when price action decisively confirms a shift through an ATR-based trigger.
This tool is ideal for traders who prefer structured, stair-step progression over fluid curves, and value the clarity of momentum-based bands that reveal breakout conviction, pullback retests, and consolidation zones. The channel width adapts automatically to market volatility, while the step logic filters out noise and false flips.
⚪ The Structural Assumption
This indicator is built on a core market structure observation:
After each strong trend impulse, the market typically enters a “cooling-off” phase as profit-taking occurs and counter-trend participants enter. This often results in a shallow pullback or stall, creating a slight negative slope in an uptrend (or a positive slope in a downtrend).
These “cooling-off” phases don’t reverse the trend — they signal temporary pressure before the next leg continues. By tracking trend steps discretely and filtering for this behavior, Trend Impulse Channels helps traders align with the rhythm of impulse → pause → impulse.
█ How It Works
⚪ Step-Based Trend Engine
At the heart of this tool is a dynamic step engine that progresses only when price crosses a predefined ATR-scaled trigger level:
Trigger Threshold (× ATR) – Defines how far price must break beyond the current trend state to register a new trend step.
Step Size (Volatility-Guided) – Each trend continuation moves the trend line in discrete units, scaling with ATR and trend persistence.
Trend Direction State – Maintains a +1/-1 internal bias to support directional filters and step tracking.
⚪ Volatility-Adaptive Channel
Each step is wrapped inside a dynamic envelope scaled to current volatility:
Upper and Lower Bands – Derived from ATR and band multipliers to expand/contract as volatility changes.
⚪ Retest Signal System
Optional signal markers show when price re-tests the upper or lower band:
Upper Retest → Pullback into resistance during a bearish trend.
Lower Retest → Pullback into support during a bullish trend.
⚪ Trend Step Signals
Circular markers can be shown to mark each time the trend steps forward, making it easy to identify structurally significant moments of continuation within a larger trend.
█ How to Use
⚪ Trend Alignment
Use the Trend Line and Step Markers to visually confirm the direction of momentum. If multiple trend steps occur in sequence without reversal, this typically signals strong conviction and trend persistence.
⚪ Retest-Based Entries
Wait for pullbacks into the channel and monitor for triangle retest signals. When used in confluence with trend direction, these offer high-quality continuation setups.
⚪ Breakouts
Look for breakouts beyond the upper or lower band after a longer period of pause. For higher likelihood of success, look for breakouts in the direction of the trend.
█ Settings
Trigger Threshold (× ATR) - Defines how far price must move to register a new trend step. Controls sensitivity to trend flips.
Max Step Size (× ATR) - Caps how far each trend step can extend. Prevents runaway step expansion in high volatility.
Band Multiplier (× ATR) - Expands the upper and lower channels. Controls how much breathing room the bands allow.
Trend Hold (bars) - Minimum number of bars the trend must remain active before allowing a flip. Helps reduce noise.
Filter by Trend - Restrict retest signals to those aligned with the current trend direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator
