Round Number Rejection Planner [AGPro Series]# Round Number Rejection Planner
🧠 Core Idea
Is the round number acting as rejection, magnet, or failed reference?
📌 Overview / What it does
Round Number Rejection Planner is a psychological price level decision-support script built to evaluate how price reacts around nearby round numbers.
The script maps adaptive round-number bands, detects wick-based rejection behavior, separates rejection from magnet conditions, scores the context from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize round-number context, rejection quality, distance, failure risk, and action state into a clean visual workflow.
🎯 Purpose & Design Philosophy
Round numbers often attract attention because they are easy reference points for traders, algorithms, stops, targets, and liquidity.
This script was built for traders who want to evaluate whether price is respecting a psychological level, getting pulled toward it, or failing to reject it cleanly.
The design supports structured observation instead of treating every round-number touch as a signal.
⚡ Why This Script Is Different
Most tools draw psychological levels or mark round numbers.
This script does NOT stop at drawing levels.
Instead, it evaluates the behavior around the level: wick rejection, close location, distance, reaction count, volatility fit, and failure risk.
⚙️ Methodology
1. Adaptive Round Level Detection
2. Psychological Band Mapping
3. Wick Rejection Evaluation
4. Magnet And Failure Risk Detection
5. 0-100 Rejection Score
6. Panel And Alert Output
🗺️ How to Read the Chart
The active round band marks the nearest psychological price zone.
Nearby round rails show the next upper and lower round references.
READY REJECTION labels appear when wick response, close location, and score quality align.
Magnet or failed-reference states appear when price interacts with the level without a clean rejection.
The panel summarizes Round Level, Rejection Score, Distance, Failure Risk, and Action.
🚦 Signals & States
• READY → A qualified round-number rejection has formed.
• MONITOR → Price is near the round number but rejection quality is not yet strong enough.
• WAIT → No active round-number context is close enough to evaluate.
• INVALIDATED → Price failed through the level instead of rejecting it.
• BLOCKED → The script cannot define a valid round-number context.
🔔 Alerts Logic
Bullish Round Number Rejection Ready triggers when price rejects upward from a round-number band with enough quality.
Bearish Round Number Rejection Ready triggers when price rejects downward from a round-number band with enough quality.
Round Number Magnet Warning triggers when price is close to the level but rejection quality is weak.
Round Number Rejection Invalidated triggers when price fails through the level instead of respecting it.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The rejection score combines wick strength, close distance from the level, proximity, recent reaction count, relative volume, and volatility fit.
When several of these conditions align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, or BLOCKED state.
📊 When to Use
• Psychological level analysis
• Intraday price action workflows
• Round-number rejection setups
• Stop and liquidity reaction observation
• Support and resistance context around visible price levels
⚠️ When NOT to Use
Avoid relying on this script in extremely illiquid markets, very noisy symbols, holiday sessions, or conditions where round numbers are not meaningful to participants.
It should not be used as a standalone decision tool without broader market context, risk planning, and independent confirmation.
🎛️ Key Inputs
• Round Level Mode controls whether level spacing is automatic or manual.
• Manual Round Step defines custom level spacing when manual mode is selected.
• Round Band ATR controls the width of the psychological level band.
• Max Active Distance controls how close price must be before evaluation begins.
• Minimum Ready Score controls how strong the rejection must be before READY appears.
• Failure Risk Threshold controls when weak rejection or magnet behavior blocks READY.
• Visual settings control bands, rails, labels, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to make the active psychological level readable without flooding the chart.
The chart shows the active round band, nearby round rails, failure shelf, and relevant rejection labels.
The AG Pro panel provides compact decision context while preserving chart visibility.
🧪 Practical Usage Workflow
1. Check the active round level in the panel.
2. Observe whether price is touching or rejecting the round band.
3. Read the rejection score and failure risk.
4. Check whether the action state is READY, MONITOR, WAIT, INVALIDATED, or BLOCKED.
5. Confirm the context with broader trend, liquidity, volatility, and risk structure.
🔍 Interpretation Guidelines
A higher rejection score means the round-number reaction is cleaner according to the script logic.
A high failure risk means the level may be acting more like a magnet or failed reference.
READY means the rejection context deserves attention, not that price must reverse.
MONITOR means price is near the level but the reaction is not yet clean enough.
🚫 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Round-number behavior changes across markets, symbols, timeframes, volatility regimes, and liquidity conditions.
The score is rule-based and depends on wick behavior, close location, distance, relative volume, and ATR normalization.
Different symbols may require different round-step or sensitivity settings.
🧠 Market Context Notes
Round-number rejection can be more meaningful when aligned with liquidity response, trend context, session timing, volume participation, and nearby structure.
Weak rejection near a level can become magnet behavior instead of a clean turn.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
지표

Opening Range Retest Planner [AGPro Series]# Opening Range Retest Planner
## Core Idea
Did the opening range breakout return to its boundary and hold with enough quality to deserve attention?
## Overview / What It Does
Opening Range Retest Planner is an intraday opening range decision-support script built for traders who want to evaluate the quality of the first meaningful retest after an opening range breakout.
The script builds the opening range, tracks the first bullish or bearish breakout, maps a focused retest pocket around the broken boundary, grades the retest from 0 to 100, and displays a clear action state in a compact AG Pro panel.
It does not predict price direction, automate execution, or provide guaranteed outcomes. Its purpose is to organize structure, acceptance, invalidation, and retest quality in a clean visual workflow.
## Purpose & Design Philosophy
Many opening range tools focus only on the initial break. In practice, the first retest after the break is often where the structure becomes more meaningful.
This script was built for traders who want to separate a clean retest hold from a weak pullback, failed breakout, or expired setup. The design supports structured observation instead of impulsive reaction.
## Why This Script Is Different
Most opening range tools stop at the range or breakout itself.
This script does not stop there.
Instead, it focuses on what happens after the break: whether price returns to the broken boundary, respects it, fails back inside the range, or runs out of time before a qualified retest appears.
## Methodology
1. Opening Range Mapping
2. Breakout Detection
3. Retest Pocket Construction
4. Retest Quality Scoring
5. Acceptance, Invalidation, or Expiration State
6. Panel and Alert Output
## How To Read The Chart
The opening range remains the main session reference.
The retest pocket marks the area where the script evaluates whether the broken boundary is being respected or rejected.
Labels highlight qualified retests, invalidations, and key state changes.
Target rails project possible continuation space after a qualified retest.
The panel summarizes OR state, retest score, acceptance side, failure risk, and current action.
## Signals & States
READY -> A retest touched the pocket, held the broken boundary, and met the minimum quality threshold.
MONITOR -> A breakout occurred and the script is tracking whether a qualified retest develops.
WAIT -> The opening range is still building, has just locked, or is waiting for a valid post-break condition.
INVALIDATED -> Price failed back inside the opening range after the breakout.
EXPIRED -> The retest window closed without a qualified retest.
BLOCKED -> The opening range is not valid enough to evaluate.
## Alerts Logic
Bullish Opening Range Retest Ready triggers when a bullish breakout retest holds the broken range high with enough score.
Bearish Opening Range Retest Ready triggers when a bearish breakout retest holds the broken range low with enough score.
Opening Range Retest Invalidated triggers when price fails back inside the opening range after a breakout.
Opening Range Retest Expired triggers when the retest window expires without a qualified hold.
Alerts are attention markers, not trade instructions.
## Confluence Logic
The retest score combines pocket touch quality, close response, retest timing, relative volume, opening range volatility fit, and available target room.
When these conditions align, the context becomes stronger. When they do not align, the panel remains in MONITOR, WAIT, INVALIDATED, or EXPIRED state.
## When To Use
This script is most useful in liquid intraday markets where the opening range matters and session structure is clear.
It fits breakout-retest workflows, opening drive continuation, failed breakout monitoring, and structured intraday planning.
## When NOT To Use
Avoid relying on this script in very low-liquidity symbols, extremely noisy sessions, holiday trading, or chart conditions where the opening range session cannot be represented cleanly.
## Key Inputs
Opening Range Mode controls whether the script uses an exact session window or the first chart bars of each day.
Auto mode uses session-window logic on lower intraday charts and switches to first-bars-of-day logic on higher timeframes.
Retest Pocket ATR controls the depth of the retest zone around the broken boundary.
Minimum Ready Score controls how strong the 0-100 retest score must be before READY appears.
Panel and label controls let users adjust position, theme, and visual density.
## Interface & Visual Design
The visual design is chart-first.
The opening range stays readable, the active retest pocket becomes the focus area, and the panel provides compact decision context without covering the whole chart.
The first panel row uses the AG Pro blue header style and shows only the script name.
## Practical Usage Workflow
1. Wait for the opening range to lock.
2. Watch for a breakout beyond the range boundary.
3. Observe whether price returns to the retest pocket.
4. Check the retest score and action state.
5. Treat alerts as attention markers and confirm context with your broader process.
## 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 guarantee outcomes.
It does not replace independent risk management or market context.
## Limitations & Transparency
Opening range behavior changes across markets, sessions, liquidity conditions, and timeframes.
The score is rule-based and depends on the configured session, ATR normalization, volume behavior, and retest window.
Different chart timeframes may display session structure differently.
## Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
지표

Trendline Bounce [EXCAVO]Automatic Trendline Detection with Multi-Stage Bounce Detection and Quality Filters
The Trendline Bounce automatically identifies support and resistance trendlines
validated by three or more confirmed pivot touches. When price returns to an established
line, the indicator places a directional bounce arrow and triggers the alert. A dual-
lookback architecture fires earlier than traditional pivot-confirmation methods, while
span, regime, and trend filters eliminate structurally weak or contextually invalid setups.
This is not a simple two-point line connector. The slope is derived from a best-fit
search across all qualifying pivots, every candidate line is rejected if any candle
between touch points crosses the boundary, and three parallel detection channels reduce
the confirmation delay without sacrificing structural validity.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW TO USE
Step 1 → Add the indicator. Trendlines appear immediately - solid line
is the most recent valid line per direction, dashed lines are
the previous ones (up to Max Lines per Side).
Step 2 → Watch for the bounce arrow. A triangle (▲ or ▼) marks the bar
where the third or later touch is detected. Check the dashboard
for the quality grade (A / B / C).
Step 3 → Use the Trend Filter and ATR Regime Filter inputs to narrow the
context. Enable Trend Filter to gate bounces by 200 EMA direction.
Enable ATR Regime Filter to suppress detections during extreme
volatility spikes.
Step 4 → Adjust Early Detection Lookback to trade off timing vs. accuracy.
Lower values fire earlier but may produce more noise. The Detection
Lookback controls the quality trendline anchor; Early Detection
Lookback controls how quickly subsequent touches are confirmed.
Step 5 → Use dashed historical lines for context. They show where price
previously respected trendlines and may act as reference levels.
Step 6 → Set alerts to monitor conditions in real time. Use "Any Bounce"
for general monitoring or direction-specific alerts for automated
setups via webhook.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW IT CALCULATES
◆ Pivot Detection (Quality Layer)
Swing highs and lows are confirmed using ta.pivothigh() / ta.pivotlow() with
Detection Lookback bars required on each side (default 14). A pivot high at bar B
requires bar B's high to be the maximum of the surrounding 14 bars on both sides.
Up to 60 pivots per direction are stored in a rolling buffer. These quality pivots
form the structural anchor for trendline fitting.
◆ Best-Slope Trendline Fitting
For each anchor pivot A, the algorithm scans all other pivots B to compute slope:
sl = (price_B - price_A) / (bar_B - bar_A). Slopes steeper than 0.5 x ATR per bar
are rejected. For each valid slope, the algorithm counts how many pivots fall within
ATR x Tolerance of the projected line. The slope maximizing confirmed touch count
(minimum 3) is selected. This approach finds the line that fits the most pivots
rather than simply connecting two points.
◆ Breakout Rejection Sampling
Once a candidate line passes the touch count test, 60 evenly spaced bars between the
first and last touch are sampled. If any sampled bar's high (for resistance) or low
(for support) exceeds the projected price plus tolerance, the line is rejected. This
catches wick or body violations between pivot points that pure pivot-based validation
would miss.
◆ Minimum Span Filter
A trendline whose first and last touch are fewer than Min Trendline Span bars apart
is discarded. Three pivots clustered within a few bars share no structural significance.
This filter ensures every displayed line represents a meaningful price reaction period,
not a short-term oscillation.
◆ Three-Channel Bounce Detection
After the structural line set is built, three parallel detection channels produce the
bounce arrow:
1. Quality path: when the most recent quality pivot (i_len delay) falls on an
established line within the tolerance band, a detection fires.
2. Early path: when the most recent fast pivot (Early Detection Lookback, default 5)
touches an already-established quality trendline, a detection fires earlier than
waiting for full quality confirmation.
3. Real-time path: every tick, each stored trendline is projected to the current bar.
If the current bar's high (resistance) or low (support) enters the tolerance band,
a detection fires immediately without waiting for pivot confirmation.
All three channels require the line to have been built from quality pivots. The early
and real-time channels only fire against pre-validated structural lines - they do not
create new lines themselves.
◆ Trend and Regime Gates
Two optional gates filter the output of all three detection channels. The Trend Filter
(200 EMA) passes bullish detections only when close is above the EMA and bearish
detections only when close is below. The ATR Regime Filter computes
ta.percentrank(ATR, 200) / 100 and suppresses all detections when the result exceeds
0.90 - this blocks entries during the top 10% of volatility events where trendline
breaks are more likely than bounces.
◆ Bounce Grade (A / B / C)
Each detected bounce is evaluated at the detection bar: volume ratio = volume /
SMA(volume, 20); wick position = (close - low) / (high - low) for bullish or
(high - close) / (high - low) for bearish. Grade A requires volume ratio >= 2.0
AND wick position >= 0.60. Grade B requires ratio >= 1.5 OR position >= 0.50.
Grade C is assigned otherwise.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ WHAT MAKES IT DIFFERENT
◆ Best-Slope Fitting Across All Pivots
Rather than connecting only two pivots, the algorithm finds the slope that maximizes
the number of confirmed touches. A line with three near-misses is ranked higher than
a line connecting two pivots perfectly, because more touches represent stronger
structural significance.
◆ Breakout Rejection via Bar Sampling
Most trendline tools draw a line between any two pivots regardless of what happens in
between. This indicator samples 60 bars between the first and last touch and rejects
any line where a candle crosses the boundary. Only lines price has genuinely respected
are shown.
◆ Minimum Span Filter
Trendlines that form in fewer bars than the span threshold are discarded. This removes
short-term pivot clusters that look like trendlines but carry no structural weight.
The result is fewer, higher-quality lines.
◆ Three-Channel Detection for Earlier Timing
Traditional trendline indicators confirm a bounce only after the full pivot lookback
elapses - on a 4H chart with lookback 14, that is 56 hours after the actual low. The
early detection channel reduces this to 5 bars (20 hours on 4H). The real-time channel
fires on the current bar. Both channels require the line to already be structurally
validated - they reduce timing delay without introducing unvalidated lines.
◆ Trend and Regime Filters
The 200 EMA gate removes counter-trend detections. The ATR regime gate suppresses
detections during the highest-volatility periods where trendline structure tends to
break rather than hold. Both filters are optional and off by default.
◆ Exact Touch Markers
Circles are placed at actual candle prices (high for resistance, low for support), not
at the theoretical projected price on the line. This makes it immediately visible
whether the wick tapped the line or the body closed through it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ DASHBOARD
Real-time panel (top right corner) showing current state:
Last Bounce - direction (▲ bullish / ▼ bearish) and quality grade (A/B/C) of the most recent bounce
Trend (200 EMA) - current price position relative to 200 EMA (▲ Bull / ▼ Bear)
Lines R / S - count of currently active resistance and support trendlines
Legend table (bottom left) explains every visual element. Both panels can be
toggled independently in Dashboard settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ SETTINGS
Trendlines
Detection Lookback - 14 bars (bars on each side to confirm a quality swing pivot; higher = fewer but stronger lines)
Max Lines per Side - 5 (maximum number of trendlines shown per direction)
Tolerance (xATR) - 0.5 (ATR multiple defining how close a pivot must be to the line to count as a touch)
Min Trendline Span - 30 bars (minimum bars between first and last touch; filters structurally insignificant lines)
Bounce Detection
Min Touches - 3 (minimum confirmed touches before a bounce arrow appears)
Show Grade (A/B/C) - ON (display quality grade in the dashboard)
Early Detection Lookback - 5 bars (shorter lookback for faster bounce detection on established lines)
Trend Filter (200 EMA) - OFF (when ON: bullish bounces above EMA only, bearish below only)
ATR Regime Filter - OFF (when ON: suppresses detections when ATR is above 90th percentile of last 200 bars)
Visualization
Support Color - blue (color for support trendlines and bullish bounce arrows)
Resistance Color - red (color for resistance trendlines and bearish bounce arrows)
Bounce Color - orange (color for bounce arrows)
Bar Coloring - OFF (color bars on bounce detection using direction color)
Show 200 EMA - OFF (plot 200-bar EMA on the chart)
Dashboard
Show Dashboard - ON
Dashboard Position - Top Right (Top Right / Top Left / Bottom Right / Bottom Left)
Show Legend - ON
Alert Settings
Allow Repainting - OFF (when off, detection confirms at bar close; enable only if monitoring open bars)
JSON Alerts - OFF (structured JSON payload for webhook automation)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ALERTS
Bullish Bounce - price touches a confirmed support trendline for the 3rd+ time
Bearish Bounce - price touches a confirmed resistance trendline for the 3rd+ time
Any Bounce - bounce detected in either direction
All alerts respect the Allow Repainting setting. When off, bounces are confirmed
at bar close only. JSON Alerts option sends a structured payload with ticker,
price, timeframe, direction, and grade fields.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best regards,
EXCAVO
Disclaimer
Trading involves significant risk. This indicator is a technical analysis tool
and does not constitute financial advice, investment recommendations, or a
guarantee of future results. Past indicator behavior does not guarantee future
performance. Always use proper risk management and your own judgment.
지표

Svopex S&D ScanSvopex S&D Scan
Multi-symbol Supply & Demand zone scanner that displays the status of up to 40 instruments in a single table. Built on the same detection logic as Svopex Supply &
Demand Zones (base + explosive ATR candle pattern), but extended to portfolio-wide screening with on-chart zone drawing for the active symbol.
What it does
For each of up to 40 user-defined symbols (default: NAS100, XAU, EURUSD, US30, SPX500, WTICO, XAG, BTC + 27 main and cross OANDA currency pairs), the scanner detects
supply and demand zones in real time and shows in the result table where price currently sits relative to those zones.
Detected statuses (priority order: IN > NEAR > WAS_IN > none):
- IN SUPPLY / IN DEMAND — price is currently inside an active zone
- NEAR SUPPLY / NEAR DEMAND — price is within nearMult × ATR of the zone edge
- WAS IN SUPPLY / WAS IN DEMAND — price was inside a zone within the last N closed bars but is no longer in/near it (zone has been broken). Useful as a follow-up
signal after price entered a zone and the zone was invalidated
- (blank) — no relevant state
The table can be filtered to show only hits, and rows update as the chart timeframe changes — the scanner always operates on the chart's current TF.
Zone detection logic (identical to Svopex Supply & Demand Zones):
- 1 to N "base" candles with body ≤ baseBodyPct × ATR
- Followed by an explosive candle with body ≥ explMult × ATR
- The high/low of the base candles defines the zone boundaries
- The zone is invalidated when price breaks through it according to breakPct threshold (with optional wick or body-only mode)
On-chart zone drawing
For the current chart symbol, the scanner also draws supply (red) and demand (green) boxes the same way as Svopex S&D Zones — so you can use it as a single-symbol
indicator and as a multi-symbol scanner in one. Switching the chart to any other symbol redraws the boxes for that symbol.
---
Parameters
Symbols (1–40)
- Each slot accepts a BROKER:TICKER format (e.g. OANDA:EURUSD, BINANCE:BTCUSD). Empty slots are skipped (mapped to chart symbol internally and deduplicated by Pine).
Zone detection
- Max base candles (default 3, range 1–6) — maximum number of base candles that can precede the explosive move.
- Base body ≤ ATR × (default 0.5) — the body of base candles must be at most this multiple of ATR.
- Explosive body ≥ ATR × (default 1.5) — the body of the explosive candle must be at least this multiple of ATR.
- ATR length (default 14) — period for ATR calculation.
- Max active zones per side (default 20, range 1–100) — how many supply/demand zones to track per symbol; oldest are dropped when the limit is exceeded.
Zone Break
- Include wicks (else body only) (default true) — when ON, the break check uses candle high/low (wicks); when OFF, only body (max/min of open, close).
- Break threshold (%) (default 0, range 0–100) — how far price must penetrate the zone to invalidate it. 0 = zone breaks at first touch of the near edge, 50 = breaks
at midline, 100 = breaks only after fully crossing the zone.
Proximity
- Near threshold (ATR ×) (default 1) — distance from zone edge (in ATR units) within which price counts as "NEAR".
Was-in zone
- Bars back for 'was in zone' (default 10, range 1–50) — lookback window for the WAS_IN status. If price was inside a zone within the last N confirmed bars but is no
longer there, the symbol shows WAS IN SUPPLY / WAS IN DEMAND. Only triggers when no IN/NEAR status applies.
Current-symbol zones
- Draw zones for current chart symbol (default true) — toggles zone box rendering on the chart.
- Max drawn zones per side (default 20) — limit for boxes drawn on chart.
- Supply fill / Demand fill (default red 80% / green 80%) — zone box colors.
Table
- Position (default top_right) — top/bottom × left/right/middle.
- Show only hits (default true) — hides symbols with no signal.
- Text size (default normal) — tiny / small / normal / large / huge.
- Strip exchange prefix (default true) — shows EURUSD instead of OANDA:EURUSD.
---
Typical usage
- Open any chart and timeframe — the scanner immediately shows which symbols in your watchlist are in/near a zone.
- When you change the chart timeframe, the scanner recomputes all symbols on the new TF.
- When you switch the chart to a symbol from the list, you see its zones rendered as boxes directly on the chart.
Limitations
- Pine Script enforces a hard limit of 40 unique request.security calls per indicator — hence the 40-symbol cap. Empty slots are mapped to the chart symbol and
deduplicated, so the actual call count depends on how many distinct tickers you populate.
- Zone boxes are drawn only for the active chart symbol (price-axis scaling makes cross-symbol overlay meaningless).
- With breakPct=0 and useWicks=true, zones have a short life (a single wick touch invalidates them) — the WAS_IN status acts as a follow-up signal in that mode.
Tip: For longer-lived zones, raise breakPct to 50–100% — IN/NEAR statuses will then persist as long as price holds the zone. For a classic S&D screener, the
recommended combination is useWicks=true + breakPct=0 + wasInLookback=10. 지표

Pymander's EZ Key LevelsHey everyone! Pymander here. I’m excited to share EZ Key Levels, a tool I built to solve one of the biggest problems we face as intraday traders: chart clutter.
We all know that "levels are king," but when your screen is a spiderweb of Daily, Weekly, and Session lines, it’s easy to get lost in the noise. This indicator is designed to give you total clarity so you can focus on execution.
What is EZ Key Levels?
At its core, this is a hybrid indicator. It combines High Timeframe (HTF) logic with Machine Learning (K-Means Clustering) to map out the most important psychological and volume-based zones on your chart.
How It Works & Why It’s Different:
Solid Until Mitigated: This is the real game-changer. Every level starts as a solid line (meaning it's fresh and untested). The moment price "mitigates" it—either by a wick touch or a candle close—the line automatically turns dotted. You’ll never have to guess if a level is still "fresh" again.
Volume-Weighted Clustering: Instead of just looking at where price sat, our dynamic clusters use VWAP logic to find where the most volume actually traded. It identifies the true "Value Areas" of the last few days.
Premium Proximity & Focus Mode: Most indicators show you everything at once. EZ Key Levels identifies the 4 levels closest to price and highlights them in Rose (Above) and Emerald (Below). Turn on Focus Mode, and every other line disappears, leaving you with a clean, "pro-style" chart that only shows what matters right now.
All-In-One Session Logic: It automatically tracks Asia, London, and NY session highs/lows and projects them infinitely so you can see how those ranges act as support or resistance days later.
How This Helps You:
This tool is built for the 3-5 minute trader who needs to make split-second decisions. By identifying high-confluence zones (where a V-Cluster lines up with a PDH or Session Low) and highlighting them automatically, it removes the "analysis paralysis" that kills so many trades.
I’d love to hear your thoughts! If you have any feedback or ideas on how to make this even better for your workflow, please let me know.
Wishing you all the best of luck and many, many green days!
-Pymander
지표

Support and Resistance Institutional Zones [FEELS]Trade Volume-Weighted, Actionable Zones.
Many traditional support and resistance tools draw lines at every recent high and low. This script takes a different approach. It waits until price has actually used a level multiple times, weights each touch by how much volume and rejection was behind it, and only then draws a zone. The result is fewer levels on your chart, but the ones that do show up have a real mathematical reason to be there. Coupled with a strict, non-repainting signal engine, this tool is designed for serious Price Action traders.
—
🔥 Why This is Different
100% Non-Repainting Signals: Our signal engine operates strictly in real-time. Once a signal (Break, Bounce, Hold) is printed on a closed candle, it stays there forever, ensuring full historical accuracy for your backtesting.
Liquidity Sweep & "Born-Dead" Protection: Sometimes, algorithmic approaches can print false breakout signals if a zone forms retroactively during a massive price drop. We built a custom "Live Break" memory engine that verifies if the price was actually above/below the zone before the break. Furthermore, deep wicks (liquidity sweeps) do not trigger breaks—only solid candle closes do.
Volume & Rejection Weighting: Not all levels are created equal. Pivots that fired on heavy volume with long wicks weigh significantly more than quiet pokes. Zones with higher volume automatically become more vivid, while low-volume zones fade into the background.
—
⚙️ How It Works Under the Hood
The script collects confirmed pivots – both highs and lows – and groups them into clusters by price proximity. It uses a temporal spacing rule that prevents tight, standard consolidations from artificially inflating a single zone.
Older pivots gradually decay in influence, ensuring the active zones reflect what is actually relevant to current price action. The top zones by weighted strength are kept and ranked relative to each other.
—
📊 Reading the Chart
★ to ★★★ – The relative strength of the zone vs. other zones currently visible.
2× / 4× / 7× – The number of qualifying touches the zone has accumulated.
Vol: 72.19K – The cumulative volume of all pivots that built this zone.
Color intensity – Vividness scales with volume; highly transparent, faded zones are weak levels you can mostly ignore.
—
🎯 Strength Presets
Most users do not want to tune pivot parameters manually. The preset selector handles this in one click:
Local — Short pivots, tight zones. Use on intraday for scalping levels.
Swing (Default) — Balanced. Works incredibly well on most timeframes.
Major — Long pivots, wide zones. Surfaces the macro structure of the asset.
Custom — Full manual control over pivot length, tolerance, and spacing. Note: You can switch presets without losing the chart's other visual settings.
—
🚥 Active vs. Broken vs. Dropped Zones
There are three states a zone can be in:
Active: Currently respected by price. Drawn in your chosen support or resistance color.
Confirmed broken: Price closed through the zone with conviction. (Optional setting).
Dropped: Disappeared from the active list because newer pivots reorganized the cluster set. (Optional setting). Useful when reviewing why a past signal fired.
Both broken types are off by default for a clean chart. Toggle them on to study how zones evolved or to backtest signal context.
—
⚡ Optional Signals
The script can mark four types of price reactions. All are off by default – turn on what fits your style:
Successful test: A circle below or above the bar when price tests an active zone and closes back in the rejection direction.
Retest: A diamond when price returns to a previously broken zone within the retest window and reacts off it. The classic broken-resistance-becomes-support play.
Zone reaction marks: A small diamond when price touches a zone and holds without closing through. Bold Break R / Break S text labels appear only when a zone is genuinely broken on close.
RSI filter: An extra confirmation gate. Bullish signals only fire on RSI oversold; bearish only on overbought. Reduces signals to higher-conviction setups.
—
🔔 Alerts
Eight precise alert conditions are exposed for automated trading or notifications:
Resistance touched / Support touched
Resistance broken / Support broken
Successful support test / Successful resistance test
Bullish retest / Bearish retest
New pivot confirmed
Set them through the standard TradingView alert dialog – the conditions appear directly in the dropdown.
—
💡 Pro Tips
No Volume? No Problem: On low-liquidity assets or indices without volume data, zones still build correctly using the wick and structure components. Volume coloring will be uniform, but everything else works flawlessly.
Clean the Clutter: If the chart looks crowded, lower "Active zones per side" to 3-4, or increase "Hide zones farther than (%)" to filter out distant zones.
Fast Timeframes: On 1m or 5m charts, switch the preset to Local and lower the Cooldown bars if you trade off rapid bounce signals.
Relative Strength: Strength is a relative measure within the visible zones, not an absolute score. ★★★ on a quiet, ranging chart is not the same as ★★★ on a high-volume, trending one.
This script is open-source. If you build something interesting on top of it, please reference where the original idea came from.
Disclaimer: Not financial advice. Always backtest before risking capital. 지표

Order Block Detector [SMC ChartSense]# SMC ChartSense — Order Block Detector
**Order block detection with mandatory FVG (Fair Value Gap) confirmation.** Each zone marked must have a 3-bar FVG at the anchor candle — institutional displacement that left a literal gap in price. Most basic OB scripts flag every breakout candle as an order block; this script filters to only the zones that came with displacement footprint, producing a cleaner chart with fewer but more meaningful zones.
## How it works
The script tracks swing pivots at a configurable length and waits for a confirmed break — a candle that closes beyond the prior swing high or low. When a break occurs, it searches back through the recent bars to identify the deepest counter-direction candle (lowest low for a bullish OB, highest high for a bearish OB). This becomes the OB anchor.
The anchor is then validated against the FVG requirement: there must be a 3-bar gap at the anchor index (bar A high below bar C low for bullish, bar A low above bar C high for bearish). No FVG, no OB. This is the central quality filter.
Validated zones extend forward from the anchor and remain active until invalidated — either when price closes through the zone or when the wick touches the far side, depending on user preference.
## Features
- FVG validation gate at the anchor candle (3-bar gap requirement)
- Configurable swing pivot length for structural sensitivity
- User-tunable OB anchor lookback (5–100 bars)
- Wick-based or body-based zone definition
- Configurable mitigation trigger: Close-through or Wick-touch
- Auto-pruning of oldest OBs when active count exceeds limit
- Optional faded display of mitigated zones for historical study
- Built on Pine v6 with clean, maintainable architecture
## Inputs
**Structure Detection**
- *Swing Pivot Length* — Higher values produce fewer, more significant pivots. Lower values produce more frequent pivots of smaller structural significance. Default: 5.
**Quality Filters**
- *OB Anchor Lookback Bars* — How far back from a confirmed pivot break to search for the OB anchor candle. Default 30 covers most timeframes; reduce for scalping, increase for higher TFs.
- *Anchor OB to Wick (vs Body)* — Wick mode uses the full candle range. Body mode uses open/close only (tighter zones).
- *Mitigation Trigger* — Close mode invalidates when a candle closes through the zone. Wick mode invalidates on first wick touch.
**Visualization**
- Bull/Bear OB colors (customizable)
- Max OBs Per Side (caps active display, oldest auto-pruned)
- Show OB Labels (off by default — boxes alone are usually sufficient)
- Show Midline (50% level inside each OB, dotted)
- Keep Mitigated OBs Visible (faded gray boxes remain for historical reference)
## Built-in alerts
- New Bull OB formed
- New Bear OB formed
- Bull OB touched (price entered zone)
- Bear OB touched (price entered zone)
## Suggested use
Best on liquid intraday markets — major forex pairs, crypto perps, index futures, large-cap equities — at timeframes from 5m to 4h. Default settings are tuned for 15m–1h ranges; adjust Swing Pivot Length down to 3 for scalping or up to 8–10 for higher-TF trend trading.
Use this as a context tool. The zones identify where institutional displacement occurred — actual entries should incorporate your own analysis: HTF bias, structural alignment with current market regime, risk-reward planning, and confirmation from other tools.
## Part of the SMC ChartSense suite
One of several focused SMC tools. Designed to work alongside other SMC ChartSense scripts for a coherent analytical workflow across the SMC vocabulary.
## Disclaimer
This is a technical analysis tool. It does not provide investment advice or trade recommendations. The author is not a SEBI-registered Research Analyst. Use at your own risk; do your own due diligence. 지표

Market Sessions [Crypto Imperija]Market Sessions is a clean session-mapping indicator designed for crypto traders who want to better understand how price behaves during different parts of the trading day.
The indicator highlights the main market sessions directly on the chart using customizable boxes, session names, session times, completed session high/low levels, sweep detection, reclaim detection and alerts.
It is especially useful for traders who work with liquidity concepts, session ranges, intraday market structure, and time-based trading analysis.
Default Sessions:
• Asian Session: 02:00 - 10:00 UTC;
• London Session: 09:00 - 17:30 UTC;
• New York Session: 16:30 - 23:00 UTC;
• Closed / Low Activity Session: 23:00 - 02:00 UTC.
1. Session Boxes
The indicator draws visual boxes around each selected session. Each box shows the full price range created during that session, including the session high and session low.
This helps traders quickly see:
• Where price ranged during a specific session;
• Which session created the most volatility;
• Whether price is expanding or consolidating;
• How the current session reacts to previous session ranges.
2. Session Names and Times
Each session box can display the session name and session time directly on the chart.
This makes it easier to follow the trading day without constantly checking the clock, especially when analyzing multiple timeframes or trading crypto markets that run 24/7.
3. Session High / Low Levels, Sweeps and Reclaims
After each session finishes, the indicator automatically draws the completed session high and low as horizontal levels. These levels are often important because previous session highs and lows can act as key liquidity areas. Traders commonly watch them to see whether price rejects from them, breaks through them, sweeps them, or reclaims them.
Examples of completed session levels:
• Asian High / Asian Low;
• London High / London Low;
• New York High / New York Low;
• Closed Session High / Closed Session Low.
The indicator detects two important events around these levels:
• Session Sweep:
A high sweep is detected when the current candle high reaches or moves above a completed session high.
A low sweep is detected when the current candle low reaches or moves below a completed session low.
• Session Reclaim:
After a sweep, the indicator watches the candle close.
If a completed session high is swept and price closes back below that high, it is considered a reclaim.
If a completed session low is swept and price closes back above that low, it is considered a reclaim.
This helps traders identify when price has interacted with a previous session liquidity level and whether the move continued or failed after the sweep.
4. Mitigated Levels
When a session level is swept, the trader can choose whether to remove it from the chart or keep it visible as a faded/dotted mitigated level.
This gives more control over chart cleanliness:
• Hide mitigated levels for a cleaner chart;
• Show mitigated levels to study how price reacts after liquidity is taken.
5. Customizable Visual Settings
The indicator includes multiple customization options:
• Show or hide session boxes;
• Show or hide session names;
• Show or hide completed session high/low levels;
• Show or hide price values on labels;
• Choose label size;
• Choose session level line style;
• Choose line width;
• Choose box border style;
• Choose box border width;
• Customize each session color;
• Hide weekend sessions.
This makes the indicator flexible for different trading styles, chart layouts, and visual preferences.
6. Alerts
The indicator includes alert conditions for:
• Session Sweep
• Session Sweep Reclaim
The alert messages can include the ticker, timeframe, swept level, price, and reclaim direction.
Important Notes:
This indicator does not predict price direction. It is a visual and alert-based tool that helps traders identify session ranges, completed session highs/lows, sweeps, and reclaims. A sweep does not guarantee a reversal, and a reclaim does not guarantee continuation in the opposite direction. These events should always be analyzed together with market structure, candle closes, volatility, volume, risk management, and a complete trading plan.
Trading involves risk. This indicator is for educational and analytical purposes only and should not be considered financial advice. 지표

지표

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

Black Tie SMCA complete Smart Money Concepts toolset on a single chart. Plots the
building blocks structure-based traders work with: market structure breaks
on two levels, order blocks, equal highs and lows, fair value gaps,
strong and weak extremes, and premium/discount zones.
WHAT IT INCLUDES
Swing Structure
Tracks the larger market shifts. Plots BOS (Break of Structure) when
price continues in the prevailing direction and CHoCH (Change of
Character) when the structural bias flips.
Internal Structure
Tracks short-term shifts within the larger swing structure. Same BOS and
CHoCH logic on a smaller pivot length. Optional confluence filter
requires the breaking candle to have more body than wick on the
breakout side, filtering weak breaks.
Order Blocks
The last opposing candle before a structural break. Plotted as a zone
that price often retests. Available on both swing and internal levels,
with separate counts and color settings for each. Volatility filtered
(ATR or Cumulative Mean Range) to avoid blocks formed on engulfing
candles. Mitigation tracked by close or wick.
Equal Highs and Equal Lows
Pivots that form at similar prices, marking liquidity pools. The
tolerance is expressed in ATR multiples, so the detection scales with
each instrument.
Fair Value Gaps
Three-bar imbalances where price moved without being balanced. Often
acts as future support or resistance. Auto-threshold filters small
gaps based on average bar size. Multi-timeframe support.
Strong and Weak Highs and Lows
The most recent significant high and low, labeled as Strong (the
opposite extreme was swept) or Weak (it held while the opposite was
swept). Useful for identifying which side of the range carries
liquidity.
Premium and Discount Zones
Divides the most recent swing range into Premium (top), Equilibrium
(middle), and Discount (bottom). For timing entries within a
structural range.
HOW TO USE
Use Swing Structure for directional context, Internal Structure for
timing. Order Blocks and Fair Value Gaps mark zones where price often
reacts. Equal Highs and Equal Lows mark where liquidity sits. Premium
and Discount zones tell you whether you are buying or selling at a
favorable location within the range.
This is a visualization toolset, not a signal generator. The chart still
requires interpretation.
SETTINGS
Display Mode controls whether all historical structures stay on chart
(Historical) or only the most recent ones are kept (Present, default).
Every component can be enabled or disabled individually so you only see
what you need on the chart. 지표

HTF Context Overlay [EmpArchitect]█ OVERVIEW
HTF Context Overlay draws clean higher-timeframe reference levels directly on your chart: previous day/week/month highs and lows, daily open, midnight open, and key session opens.
It is designed as a passive context layer for ICT, SMC, and price-action workflows.
No signals.
No entries.
No stop losses.
No take profits.
No predictions.
This tool answers one simple question:
Where is price trading relative to the important higher-timeframe reference levels?
█ LEVELS INCLUDED
Daily
PDH / PDL
Daily Open
Midnight Open
Previous Day Midpoint optional
Weekly
PWH / PWL
Previous Week Midpoint optional
Monthly
PMH / PML
Previous Month Midpoint optional
Sessions
London Open
New York Open
Asia Open optional
Midpoints are off by default to keep the chart clean.
█ VISUAL HIERARCHY
The overlay uses a simple visual system:
Amber = high-side levels: PDH / PWH / PMH
Teal = low-side levels: PDL / PWL / PML
Gray = opens: Daily Open, Midnight Open, session opens
Muted gray = optional midpoints
Line style encodes timeframe:
Daily = solid
Weekly = dashed
Monthly = dotted / more subtle
Opens = thinner contextual lines
The color language is aligned with Smart Liquidity Map , but the purpose is different:
Smart Liquidity Map shows where liquidity sits.
HTF Context Overlay shows the reference levels that frame price.
█ DASHBOARD
The top-right dashboard summarizes current context without adding chart clutter.
It can show:
Current session: Asia / London / New York / Off
Daily range state: Above PDH / Inside PD / Below PDL
Weekly range state
Monthly range state in Expanded mode
Nearest level above price
Nearest level below price
Price position versus active opens: DO / MO / LO / NY
Dashboard modes:
Compact — session and nearest levels
Standard — default context view
Expanded — adds monthly range state
█ OPEN LABEL MODE
Open labels can be controlled separately from the open lines.
Modes:
Smart — default; shows Daily Open, Midnight Open, and the current active session open
All — shows all open labels
Main Only — shows only Daily Open and Midnight Open
Off — hides open labels while keeping the lines visible
This keeps the chart readable on lower timeframes.
█ MIDNIGHT OPEN
The Midnight Open is timezone-aware.
Options:
New York
UTC
London
Exchange
New York is the default because it is commonly used in ICT-style workflows.
█ SESSION OPENS
London and New York opens are enabled by default.
Asia open is optional.
Session reference hours are configurable in UTC.
Session and midnight opens are most accurate on intraday charts, especially 1H and below. On higher timeframes, the open reflects the first bar that captures the session boundary.
█ NON-REPAINTING LOGIC
Previous day, week, and month levels are based on completed periods.
Session and open levels are set when the relevant session/day begins.
The script does not generate trade signals or predictive conditions.
█ BEST USE
Best used on:
5M
15M
1H
4H
Useful for crypto, forex, indices, commodities, and other liquid markets.
█ PAIRS WITH
Pairs well with:
Smart Liquidity Map
Trap Zones
CISD tools
Any discretionary ICT / SMC / price-action workflow
Use HTF Context Overlay as the clean reference framework beneath more active liquidity or execution tools.
█ NOTES
Pine Script v6
Open-source
Built by EmpArchitect
Educational context tool only
Not financial advice
Not a signal service 지표

Hull Market Structure [BOSWaves]Hull Market Structure - Hull-Filtered Break of Structure Detection with Integrated Position Planning
Overview
Hull Market Structure is a structure-based trend identification system that detects Break of Structure and Change of Character events through swing pivot analysis filtered by Hull Moving Average trend direction, where signal validity, structural level plotting, and position tool generation are governed by the alignment between confirmed swing breaks and the underlying Hull trend state rather than raw price crossovers or unfiltered pivot reactions.
Instead of relying on unqualified structure breaks that fire regardless of trend context, BOS and CHoCH events are gated by Hull trend direction, ensuring that bullish structural breaks only register during confirmed Hull uptrends and bearish structural breaks only register during confirmed Hull downtrends, eliminating a significant portion of counter-trend noise that plagues standard market structure implementations.
This creates a structure detection framework that combines two independent but complementary layers of evidence: confirmed swing pivot breaks that identify structural shifts in price behavior, and Hull trend direction that filters those breaks for alignment with the dominant momentum state. When both layers agree, the indicator plots the structural event, labels it correctly as either a continuation BOS or a reversal CHoCH, and optionally deploys a full position planning tool with calculated entry, stop loss, and multi-target take profit levels.
Price structure is therefore evaluated not in isolation but in the context of a momentum-validated trend framework, producing signals that reflect genuine structural agreement rather than mechanical pivot crossovers.
Conceptual Framework
Hull Market Structure is founded on the principle that break of structure signals carry meaningful directional information only when they occur in alignment with the prevailing momentum trend, and that the distinction between a trend continuation break and a character-changing reversal break carries significant strategic weight that standard BOS indicators routinely ignore.
Traditional market structure tools plot every swing break regardless of trend context, producing frequent counter-trend signals that require manual filtering. This framework embeds that filtering directly into the detection logic, using the Hull Moving Average as a momentum validation layer that qualifies structural breaks before they are registered, and separately classifying each qualifying break as either a BOS or CHoCH based on the current structural trend state.
Three core principles guide the design:
Structure breaks should only fire when aligned with Hull trend direction, ensuring momentum context validates each structural event before it is presented.
Each structural break should be classified as continuation (BOS) or reversal (CHoCH) based on the prior structural trend state, preserving the critical distinction between trend-following and trend-changing breaks.
CHoCH events should optionally generate a full position planning framework at the point of reversal, translating structural signals directly into actionable trade planning output.
This shifts market structure analysis from mechanical pivot tracking into momentum-qualified structural event detection with integrated trade planning capability.
Theoretical Foundation
The indicator combines Hull Moving Average trend direction measurement, confirmed swing pivot detection, structural trend state tracking, BOS and CHoCH classification logic, and an optional position tool that calculates and plots entry, stop loss, and three take profit levels from each CHoCH event.
The Hull Moving Average provides low-lag trend direction through comparison of current and two-bar-lagged values, producing a responsive momentum filter that avoids the smoothing delay of standard moving averages. Pivot highs and lows are confirmed through a configurable left-right bar requirement applied to swing detection. Structural trend state is maintained independently of Hull direction, tracking the most recent structural break to determine whether the next break represents continuation or character change. The position tool derives risk levels directly from the CHoCH bar's price action, scaling take profit targets as configurable multiples of the measured risk.
Four internal systems operate in tandem:
Hull Trend Engine : Calculates the Hull Moving Average and determines directional state through comparison with its two-bar-lagged value, providing the momentum filter that gates structural break registration.
Swing Pivot Detection : Identifies confirmed swing highs and lows through the configurable pivot length parameter, maintaining current and previous pivot levels with their originating bar indices for structural level plotting.
Structure Break Classification : Tests price for crossovers of previous pivot levels when Hull trend alignment is confirmed, classifying each qualifying break as BOS or CHoCH based on whether it continues or contradicts the prior structural trend state.
Position Tool Engine : On CHoCH events with the position tool enabled, calculates entry, stop loss with percentage buffer, and three R-multiple take profit levels, plotting them with gradient-filled risk and reward zones that extend a configurable number of bars forward.
This design ensures that structural events carry both momentum validation and classification context, and that reversal signals translate directly into structured trade planning output.
How It Works
Hull Market Structure evaluates price through a sequence of structure-aware and momentum-validated processes:
Hull Direction Calculation : The Hull Moving Average is calculated over the configured length and compared with its two-bar-lagged value. A value above its lag registers bullish Hull trend, below registers bearish Hull trend.
Pivot Registration : Confirmed swing highs and lows are registered when sufficient bars to the left and right validate the pivot, storing the current and previous pivot price and bar index for each side independently.
Bull Break Testing : On each bar during a bullish Hull trend, price is tested against the previous confirmed swing high. A close crossing above that level after closing at or below it on the prior bar triggers a bull structural break.
Bear Break Testing : On each bar during a bearish Hull trend, price is tested against the previous confirmed swing low. A close crossing below that level after closing at or above it on the prior bar triggers a bear structural break.
Cooloff Enforcement : A configurable minimum bar distance between consecutive bullish and bearish signals is enforced independently for each direction, preventing signal clustering during volatile structural events.
BOS or CHoCH Classification : Each qualifying break is classified by comparing its direction to the current structural trend state. A bullish break during a bearish or neutral structural trend registers as CHoCH. A bullish break during an existing bullish structural trend registers as BOS. The same logic applies in reverse for bearish breaks.
Structural Level Plotting : A dashed line extends from the origin bar of the breached pivot to the signal bar at the pivot level, with a text label centered along the line displaying either BOS or CHoCH in the appropriate directional color.
Position Tool Deployment : On CHoCH events with the position tool enabled, entry is set to the open of the following bar, stop loss is derived from the signal bar's low or high with a percentage buffer applied, risk is calculated as the entry-to-stop distance, and three take profit levels are plotted at configurable R multiples above or below entry.
Position Zone Visualization : Gradient-filled boxes cover the risk zone between entry and stop loss, and the reward zones between each consecutive take profit level, extending rightward for the configured number of bars with opacity increasing at greater distances from entry.
Candle Coloring : Optional bar coloring applies the bullish or bearish color based on current structural trend state, providing continuous directional context independent of Hull trend or signal generation.
Together, these elements form a momentum-filtered structure detection system that classifies each qualifying event, plots the originating level, and translates reversal breaks into ready-to-use trade planning frameworks.
Interpretation
Hull Market Structure should be interpreted as a momentum-validated structural event system with integrated position planning output:
Hull Band Fill : The filled area between the Hull line and its two-bar-lagged value provides a continuous visual reference for Hull trend state and direction, coloring green during bullish Hull trend and red during bearish Hull trend.
BOS Label : Appears on a structural break that occurs in the same direction as the existing structural trend, confirming trend continuation through a new swing level breach with Hull momentum aligned.
CHoCH Label : Appears on a structural break that contradicts the existing structural trend, signaling a potential trend reversal where price has breached a swing level in the opposing direction with Hull momentum confirming.
Structural Level Lines : Dashed lines extending from the breached pivot's origin bar to the signal bar mark the exact level at which the structural event occurred, providing historical reference for the significance of each break.
Position Entry Line : Solid horizontal line at the open price of the bar following a CHoCH, representing the suggested trade entry level for the structural reversal setup.
Stop Loss Line : Dotted line below entry for long positions and above entry for short positions, calculated from the CHoCH bar's extreme with a configurable percentage buffer applied for risk breathing room.
TP1 / TP2 / TP3 Lines : Dotted take profit lines at configurable R multiples from entry, providing a three-stage exit framework scaled to the measured risk of each individual setup.
Risk and Reward Zones : Gradient-filled boxes between entry and stop loss and between consecutive take profit levels provide immediate visual risk-to-reward assessment without manual calculation.
Colored Candles : Optional bar coloring reflects current structural trend state, with bullish color applied after a bullish structural break and bearish color applied after a bearish structural break until the opposing direction breaks.
Hull trend alignment, structural classification, and position tool levels collectively provide more information than any element in isolation.
Signal Logic & Visual Cues
Hull Market Structure presents two structural signal types with distinct strategic implications:
BOS (Break of Structure) : Labeled in the trend direction color when a swing level is breached in alignment with the existing structural trend. Represents continuation of the established structural sequence and does not trigger position tool deployment.
CHoCH (Change of Character) : Labeled in the trend direction color when a swing level is breached against the existing structural trend. Represents a potential structural reversal and triggers position tool deployment when the feature is enabled.
Both signal types require Hull trend alignment to fire, ensuring that structural events are always evaluated in their momentum context. The cooloff parameter prevents successive signals of the same type from clustering within a defined bar window.
Alert generation covers bullish and bearish BOS events and bullish and bearish CHoCH events independently for systematic structural monitoring and notification workflows.
Strategy Integration
Hull Market Structure fits within momentum-validated market structure and systematic trade planning approaches:
CHoCH Reversal Entries : Use CHoCH signals as primary entry triggers where structural trend has reversed with Hull momentum confirming, deploying the position tool output as a complete trade framework from entry through to final target.
BOS Continuation Entries : Use BOS signals as confirmation of trend continuation within an established structural direction, timing pullback entries or adding to existing positions when structure is reinforcing rather than reversing.
Hull Alignment Filtering : Treat signals that occur when Hull trend has only recently flipped with greater caution than signals where Hull has been trending in the signal direction for multiple bars, as recent Hull flips carry less momentum confirmation than sustained directional readings.
R-Multiple Position Management : Use the three take profit levels from the position tool as a staged exit framework, scaling out of positions progressively rather than targeting a single fixed level, allowing partial profit capture while maintaining exposure to larger structural moves.
Stop Buffer Calibration : Adjust the SL Buffer percentage to accommodate the instrument's typical spread and volatility at structural levels, ensuring stops are positioned with sufficient room to avoid premature invalidation on normal retest activity.
Multi-Timeframe Structure Hierarchy : Apply higher-timeframe CHoCH events as directional bias anchors, using lower-timeframe BOS signals to time continuation entries within the broader structural context established by the higher-timeframe reversal.
Technical Implementation Details
Core Engine : Hull Moving Average with two-bar lag comparison for responsive directional trend state
Swing Detection : Configurable pivot high and low confirmation with left-right bar symmetry requirement
Structure Logic : Hull-gated swing break detection with independent bull and bear cooloff enforcement
Classification System : Structural trend state tracking for BOS versus CHoCH labeling on each qualifying break
Position Tool : CHoCH-triggered entry, buffered stop loss, and three R-multiple take profit level calculation
Visualization : Dashed structural level lines, gradient-filled risk and reward zones, dotted take profit lines, and BOS or CHoCH labels
Candle Coloring : Structural trend state-driven bar color independent of Hull trend state
Performance Profile : Optimized for real-time execution with configurable position count management removing oldest position tools when the maximum is exceeded
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday structure detection for scalping with shorter Hull length and tighter swing settings for fast structural response
15 - 60 min : Session-level BOS and CHoCH identification with balanced Hull length and swing sensitivity
4H - Daily : Swing-level structural trend mapping with longer Hull periods for sustained momentum validation
Suggested Baseline Configuration:
Hull Length : 50
Swing Length : 5
Signal Cooloff : 10
SL Buffer % : 0.1
Show Position Tool : Enabled
Max Positions Visible : 2
TP1 (R) : 1.0
TP2 (R) : 2.0
TP3 (R) : 3.0
Color Candles : Enabled
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's structural characteristics, volatility profile, and preferred signal frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Too many signals firing : Increase Signal Cooloff to enforce greater bar separation between consecutive structural events, or increase Swing Length to demand more structurally significant pivot confirmations.
Signals too infrequent : Decrease Swing Length toward 2 for faster pivot confirmation, or reduce Signal Cooloff to allow signals to fire closer together during active structural periods.
Hull trend too reactive : Increase Hull Length to smooth the momentum filter and reduce sensitivity to short-term price fluctuations that cause rapid Hull direction changes.
Hull trend too slow : Decrease Hull Length toward 20 for a more responsive momentum filter that captures structural shifts earlier relative to price movement.
Stop loss too tight : Increase SL Buffer percentage to add more breathing room beyond the signal bar extreme, reducing the likelihood of premature stop-outs on retest activity at structural levels.
Position tools cluttering the chart : Reduce Max Positions Visible to limit the number of active position frameworks displayed, or decrease Position Extend to shorten how far levels project to the right.
Take profit levels too close or far : Adjust TP1, TP2, and TP3 R multiples to match the instrument's typical range extension following structural breaks, calibrating the exit framework to realistic reward expectations for the target market.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets where Hull direction persists across multiple sessions and structural breaks consistently follow the momentum direction, producing high-quality BOS and CHoCH alignments
Instruments with clean swing structure where pivot highs and lows form at clearly defined levels, reducing ambiguity in structural break identification
Reversal trading approaches where CHoCH detection with position tool output provides a systematic framework for entering structural trend changes with defined risk parameters
Multi-timeframe workflows where higher-timeframe CHoCH signals establish directional bias and lower-timeframe BOS signals provide continuation timing precision
Reduced Effectiveness:
Choppy, range-bound markets where Hull trend direction changes frequently and structural breaks fire in alternating directions without establishing sustained structural sequences
Low-volatility consolidation environments where swing pivots form in tight clusters, producing overlapping structural levels and ambiguous BOS or CHoCH classifications
Highly news-driven instruments where impulsive moves create structural breaks that immediately reverse before the position tool levels are reached
Markets with irregular spread or thin liquidity where pivot confirmation mechanics lag significantly behind the price events that created the structural swing
Instruments where the relationship between Hull trend and structural breaks is inconsistent, requiring additional confluence tools to validate signal quality before deployment
Integration Guidelines
Confluence : Combine with BOSWaves volume tools, order flow analysis, or adaptive band indicators for structural signal validation across multiple analytical dimensions
Hull Trend Respect : Treat CHoCH signals occurring when Hull has only recently reversed direction with reduced confidence relative to signals where Hull has sustained the new direction across multiple bars
Classification Awareness : Distinguish between BOS and CHoCH in strategy application; BOS signals support continuation approaches while CHoCH signals support reversal entries, and mixing the two without adaptation reduces strategic clarity
Position Tool Discipline : Use the position tool output as a complete trade framework rather than selectively taking only entry or stop information, as the R-multiple target structure is calibrated to the specific risk measured from each individual CHoCH event
State Discipline : Maintain directional bias aligned with current structural trend state until a CHoCH in the opposing direction is confirmed. Isolated price excursions against the structural trend that do not breach the relevant swing level do not constitute structural changes.
Disclaimer
Hull Market Structure is a professional-grade market structure and trade planning tool. It uses Hull-filtered break of structure detection with swing pivot classification and integrated position sizing but does not predict future price movements. Results depend on market conditions, instrument structural characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates volume context, order flow analysis, and comprehensive risk management. 지표

지표

ES/SPX/SPY & HSI Future/Cash Index Realtime converter + GEXThis script is designed for traders who monitor Gamma Exposure (GEX) levels on cash indices (SPX, HSI) but execute trades on their respective Futures (ES, HSI!) or ETFs (SPY).
Because of the "Basis" (the price difference caused by interest rates and dividends), cash levels and futures prices do not align perfectly. This indicator solves that problem by calculating the real-time basis and automatically mapping your GEX levels to your current chart.
🚀 Key Features
Real-Time Basis Calculation: Automatically calculates the spread between Futures and Cash for both the S&P 500 and the Hang Seng Index.
Dynamic GEX Mapping: Input your daily Call Wall, Put Wall, and Zero Gamma levels for the cash index, and the script will plot them at the mathematically correct price on your Futures chart.
Dual-Price Labels: Labels display both the original Cash level and the converted "Futures Equivalent" price for instant clarity.
Multi-Asset Support:
US Market: ES (Futures), SPX (Index), and SPY (ETF).
HK Market: HSI (Index) and HSI! (Futures).
Integrated Dashboard:
Showing Current Basis (+/- points).
Estimated SPX/SPY prices during non-RTH hours.
US20Y Yield Monitor: Includes a warning emoji if bond yields cross the 5% threshold.
Price Mapping Table: A quick-reference table showing cash levels in 50/100 point increments and their corresponding futures prices.
🛠️ How to Use
Inputs: Every morning, update the SPX GEX Levels or HSI GEX Levels in the settings with data from your preferred gamma provider.
Date Monitor: Set the GEX Data Date. If you forget to update your levels the next day, a large watermark will appear to warn you that the data is expired.
UI Customization: You can move the Info Board and Levels Table to any corner of your screen to avoid cluttering your specific chart layout.
📊 Technical Details
Pine Script® v6: Built using the latest version for maximum performance and stability.
Sync Logic: Uses request.security to pull data from multiple tickers simultaneously, ensuring the basis calculation is always based on the most recent available tick.
Disclaimer : This indicator is a tool for visual mapping and data organization. It does not provide financial advice or automated signals. GEX levels must be sourced and input manually by the user. 지표

지표

Bias Engine ICT ConceptBias Engine - ICT Concept
Bias Engine is a market context tool built around ICT (Inner Circle
Trader) methodology. It reads directional bias, identifies draw
targets, and tracks key liquidity levels across multiple timeframes all displayed in a single compact panel.
Most ICT traders manage 4 to 6 separate tools to get the same
picture. This indicator consolidates that context into one place.
WEEKLY AND DAILY LEVELS
Tracks the previous week high/low (PWH/PWL) and previous day
high/low (PDH/PDL) with real-time status for each level:
Active: level is intact, not yet tested
Sweep: price ran through and closed back inside
Delivering: price broke and is moving toward the next FVG
Liq Grab: price broke without a draw target on the other side
Levels update automatically at the start of each new week and day.
The weekly range box and equilibrium midpoint (EQ) are drawn on
the chart for quick visual reference.
FVG AND VOLUME IMBALANCE DETECTION
Detects four zone types on the chart:
BISI (Bullish FVG): three-candle gap, price leaving upward
SIBI (Bearish FVG): three-candle gap, price leaving downward
VI+ (Volume Imbalance, bullish)
VI- (Volume Imbalance, bearish)
All zones track mitigation in real time. When price fills a zone,
it converts to an IFVG (Inverse FVG) reference. Zone lookback
scales automatically by timeframe or can be set manually.
MULTI-TIMEFRAME STRUCTURE
Scans four timeframes simultaneously (4H / 1H / 30M / 15M) for:
BOS (Break of Structure)
CHoCH (Change of Character)
MSS (Market Structure Shift)
MSS + IFVG confluence
Each timeframe votes toward the overall bias direction. The
confluence count (e.g. 3/4 or 4/4 in agreement) feeds directly
into the confidence score shown in the panel.
BIAS ENGINE
The core engine evaluates directional bias using FVG-to-FVG path
logic. It identifies which zone price is drawing from and which
zone it is likely delivering toward next.
DELIVERY
Direction: Buyside Delivery or Sellside Delivery
Confidence: High / Medium / Low
Drawing To: the most likely next price target
Structure: MSS / CHoCH / BOS with MTF alignment
CONFLUENCE
MTF agreement across 4H / 1H / 30M / 15M (checkmarks)
Reason: plain-language explanation of the bias logic
Fill First: nearest opposing zone to rebalance before target
Next Target: closest zone in the direction of bias
POSITION
Whether price is in Discount or Premium relative to weekly EQ
Real-time FVG context if price is currently inside a zone
SESSION
Active killzone and countdown, or next session and time until open
PANEL MODES
Pro Mode: full output including delivery, confluence, structure,
draw targets, and position context.
Beginner Mode: simplified view showing session countdown, key
levels (Week High/Low, Day High/Low), and plain-language position
labels. The bias engine still runs in the background.
HOW TO USE
Recommended timeframes: 15M or 1H for intraday execution context.
Step 1 - Check DELIVERY. This is the current bias direction and how confident the engine is in that read.
Step 2 - Check DRAWING TO. This is the most probable target price is moving toward. It prioritizes zones beyond the weekly range over intra-range targets.
Step 3 - Check STRUCTURE. Confirms whether a valid MSS or BOS supports the bias. MSS + IFVG is the highest confluence signal.
Step 4 - Check POSITION. Confirms whether price is at a logical area to enter relative to the weekly equilibrium.
A valid read requires alignment across all four steps.
This indicator does not generate buy or sell signals. It provides
market context for traders to form their own analysis.
SETTINGS
Display
Panel Mode: Pro / Beginner
Panel Position: 6 options
Chart Theme: Dark / Light
Panel Size: Tiny / Small / Normal
Timezone: Auto DST / Manual UTC-4 / Manual UTC-5
Levels
Show Weekly Range (PWH/PWL) with previous week option
Show Daily Range (PDH/PDL)
Show FVG / VI Boxes
Show Unmitigated Zones
Show Mitigated Zones (IFVG)
Zone Lookback: Auto (scales by timeframe) or Manual (30-2000)
Colors
BISI, SIBI, VI+, VI- colors: fully customizable
NOTES
Bias Engine is open source under CC BY-NC-SA 4.0 and is intended for educational purposes only. Nothing in this script constitutes financial advice or a recommendation to buy or sell any instrument.
The indicator works on any instrument available on TradingView and is primarily optimized for forex majors, gold (XAUUSD), and major indices.
Zone lookback is anchored to bar index rather than timestamps, which means the indicator behaves correctly in TradingView replay mode regardless of which historical period you replay to.
Despite scanning four timeframes for market structure, the script uses only one request.security() call for the weekly ATR. All other multi-timeframe logic runs within the same security context, keeping the indicator lightweight relative to its feature set. 지표

Session Killzones ICT ConceptSession Killzones - ICT Concept
Session Killzones plots the four standard ICT killzone sessions
(Asia, London, NY AM, NY PM) in New York time. It tracks unswept
session highs and lows in real time, fires alerts on sweeps, and
displays a compact session info panel with countdown.
Built for ICT traders who need to know which session levels are
still active and which have already been taken.
SESSIONS
Draws session boxes and boundary lines for each killzone in New
York time with automatic DST handling (EDT/EST). Each session is
fully customizable: name, time range, and color.
Default sessions (New York time):
Asia: 20:00 - 00:00
London: 02:00 - 05:00
NY AM: 08:30 - 11:00
NY PM: 13:30 - 16:00
Each session can be toggled on/off independently. Time ranges can
be modified to match your broker's session definition.
UNSWEPT LEVELS
When a session closes, its high and low are extended forward as
dashed lines. These are unswept levels session liquidity that
price has not yet taken.
When price reaches an unswept level, the line is automatically
removed from the chart. No manual cleanup needed. This gives a
live, self-cleaning view of which session levels still matter.
Sweep events fire an alert. Alerts are available for high sweeps
and low sweeps independently.
SESSION PANEL
A compact info panel shows session context at a glance. Three
detail levels:
Simple - shows the active session name and time remaining (or next session and time until open). Standard - adds today's percentage range for each session that has occurred, with direction indicator relative to session open.
Advanced - includes unswept level prices from all closed sessions directly in the panel, alongside the session breakdown.
SESSION COUNTDOWN
Inside a session: "NY AM - 1h 23m left"
Between sessions: "London in 4h 10m"
Color indicators :
Green: session is active
Yellow: less than 15 minutes remaining (closing warning)
Gray: currently between sessions
The countdown adapts to custom session times. If you change the
London session to 01:00-04:00, the countdown reflects that.
HOW TO USE
Session boxes show the developing high and low of each killzone as the session progresses.
Dashed lines extending beyond the box are unswept levels. These represent liquidity that price has not yet reached.
When a dashed line disappears, that level has been swept. It is no longer an active reference.
Use the percentage range in Standard mode to gauge which sessions were high-range versus low-range days.
Use the countdown to plan your analysis around session opens and closes. Most high-probability ICT setups occur within the first 30 to 90 minutes of a killzone.
Enable alerts on sweep events to get notified the moment a session high or low is taken, even if you are not at the screen.
SETTINGS
Display
- Chart Theme: Dark / Light
- Timezone: Auto DST / Manual UTC-4 (EDT) / Manual UTC-5 (EST)
Sessions (per session: toggle, name, time range, color)
- Asia, London, NY AM, NY PM
Appearance
- Show Session Box, High/Low Lines, Midpoint Line, Opening Price
- Lines Only mode: removes box fill, shows boundary lines only
- Line Thickness: 1 to 4
- Boundary Line Style: Solid / Dashed / Dotted
- Color Intensity: global transparency adjustment (-50 to +50)
Levels
- Show Unswept Levels: toggle
- Level Line Style: Solid / Dashed / Dotted
- Anticipation Zone: how far unswept lines extend right (candles)
- Show Level Price Labels: toggle
Info Panel
- Detail Level: Simple / Standard / Advanced
- Position: Top Left / Top Right / Bottom Left / Bottom Right /
Middle Left / Middle Right
- Size: Tiny / Small / Normal
Display Limits
- Show on Timeframe: 1M / 3M / 5M / 15M / 30M / 45M / 60M
- Show Last N Days: 1 to 30
NOTES
Session Killzones is open source under CC BY-NC-SA 4.0 and is intended for educational purposes only. Nothing in this script constitutes financial advice or a recommendation to buy or sell any instrument.
The DST resolver calculates timezone offset from bar time rather than the system clock, which means the indicator behaves correctly in TradingView replay mode. If you replay to November 2023, the resolver returns EST, not the current wall-clock timezone.
The indicator is designed for intraday timeframes from 1M to 60M and works on any instrument available on TradingView, though it is primarily optimized for forex majors and gold (XAUUSD).
Internally, all session state is tracked using explicit boolean arrays. No state is inferred from drawing object positions or line coordinates, which avoids a common source of bugs in session-based indicators. 지표

지표

지표

지표

Order Block Zone Study + ConfirmationOrder Block Zone Study + Confirmation marks support and resistance order-block zones, then helps users judge whether price is only reaching a zone or reacting with confirmation.
It is designed to answer three simple questions:
Where is the order-block zone?
How strong is the zone based on the model?
Is price only touching it, or is confirmation also active?
The goal is not to give automatic trade calls. The goal is to make order-block zones easier to read, compare, and monitor.
==================================================
WARNING
==================================================
This indicator is a chart-reading tool. It does not predict the future and does not guarantee that any order block will hold.
The labels, scores, observed stats, and confirmation markers are based on the script's internal model and the available chart data. They should be used as context, not as financial advice or as standalone buy/sell instructions.
A zone can look strong and still fail. Always check the broader trend, market structure, liquidity, news risk, and your own risk management.
==================================================
(1) OVERVIEW
==================================================
This indicator has two main parts.
1) Order-block zone detection
The script detects bullish and bearish order-block-style zones.
Support OB - a bullish order-block zone that may act as support.
Resistance OB - a bearish order-block zone that may act as resistance.
The zone logic uses several chart conditions together, including:
swing highs and swing lows
the last opposite candle before a displacement move
ATR-based displacement strength
EMA trend alignment
premium / discount location
pivot support or resistance confluence
body expansion and relative volume
current market bias
2) Confirmation add-on
The confirmation layer checks whether price is simply reaching the zone or whether the reaction is supported by additional conditions.
It can use:
fast EMA position
fast EMA direction
RSI behavior
MACD behavior
candle direction
relative volume
The box shows where the zone is. The label explains the zone quality. The triangle shows that confirmation conditions are active.
==================================================
(2) WHAT YOU SEE ON THE CHART
==================================================
Boxes - active support or resistance OB zones.
Labels - zone type, grade, status, observed behavior, edge class, and model rating.
Triangles - confirmation conditions after price reaches or approaches a zone.
Faded zones - historical or invalidated zones kept for visual context.
Midline - the center of the zone, useful for reading depth of reaction.
The indicator is designed to keep the latest active zones visible and reduce chart clutter by limiting how many zones and labels remain on the chart.
==================================================
(3) HOW TO USE IT PROPERLY
==================================================
The correct way to use this indicator is to read the zone step by step, not only look at the box.
Simple workflow
Find the zone.
Check whether price is reacting around a support OB or resistance OB.
Read the label.
The label explains the model grade, zone status, observed behavior, edge class, and final model rating.
Check the status.
Fresh zones are usually cleaner than tested zones. Broken zones should not be treated as active zones.
Wait for reaction quality.
A zone touch alone is only the first step. Confirmation adds evidence that price is reacting.
Use the triangle as confirmation context.
A triangle means the confirmation engine found enough supporting conditions. It is not a guaranteed entry.
Check broader market structure.
Use the indicator together with trend, support/resistance, liquidity, and risk management.
The best reading comes when the zone type, label quality, status, confirmation, and broader market structure all support the same idea.
==================================================
(4) LABEL EXPLANATION
==================================================
A label may look like this:
Support OB | Grade A | Status Fresh | Observed 61.2% | Edge Strong | Model 8.1/10
Support OB / Resistance OB
This tells you the zone type.
Support OB - bullish order-block zone, treated as possible support.
Resistance OB - bearish order-block zone, treated as possible resistance.
Grade
The grade summarizes the internal zone score.
A++ - 86 or higher
A - 72 to 85.99
B+ - 60 to 71.99
B - 48 to 59.99
C - below 48
A++ and A are stronger model grades. B+ is acceptable. B and C are weaker.
Status
The status explains the current condition of the zone.
Fresh - price has not touched the zone yet.
Tested - price already touched the zone.
Broken - price invalidated the zone.
Fresh is usually cleaner than tested. Broken means the zone is no longer active.
Observed
Observed shows the script's chart-based observation for that side of the model. It combines how often zones were touched and how often resolved zones reached the model target before invalidation.
This is not a guaranteed win rate. It depends on available chart history and the number of resolved examples.
Edge
Edge classifies the model's observed reward/risk behavior into simple language:
Weak
Slightly Weak
Neutral
Strong
Very Strong
This is based on observed target/invalidation behavior, ATR-based target and invalidation distances, and confidence from sample size.
Model
Model is the final combined rating from 1 to 10.
It combines:
zone grade
zone status
observed behavior
edge class
confidence from available outcomes
A practical reading:
8 to 10 - stronger model reading
6 to 7.9 - decent model reading
4 to 5.9 - average or weaker reading
below 4 - low-quality reading
==================================================
(5) PRACTICAL LABEL EXAMPLES
==================================================
Example 1
Support OB | Grade A | Status Fresh | Observed 63% | Edge Strong | Model 8.2/10
This is a stronger support-zone reading. If price returns and confirmation appears, the reaction has better model support.
Example 2
Resistance OB | Grade B+ | Status Fresh | Observed 55% | Edge Neutral | Model 6.6/10
This is a watchlist-quality resistance zone. It may be useful, but it is not as strong unless confirmation appears.
Example 3
Support OB | Grade A++ | Status Tested | Observed 60% | Edge Strong | Model 7.4/10
The grade is strong, but the zone has already been tested. It can still matter, but it is less clean than a fresh zone.
Example 4
Resistance OB | Grade C | Status Fresh | Observed 47% | Edge Weak | Model 3.8/10
This is a weak model reading. Even if price reaches it, it should not be trusted alone.
Example 5
Support OB | Grade B+ | Status Fresh | Observed 58% | Edge Neutral | Model 6.9/10
This is a decent zone, but if there is no confirmation, it is usually better to keep watching instead of treating the touch as enough.
==================================================
(6) CONFIRMATION
==================================================
Confirmation is optional, but useful.
The order block marks the important area. The confirmation add-on checks whether price is reacting with enough supporting evidence.
Simple logic
OB zone = where price may react.
Label = how good the zone looks according to the model.
Triangle = confirmation conditions are active.
For support confirmation, the script checks whether price is inside or near the support OB and whether enough bullish confirmation conditions are active.
For resistance confirmation, it checks the opposite side.
The confirmation engine can include:
EMA position
EMA direction
RSI behavior
MACD behavior
candle behavior
relative volume
A zone touch starts the observation. Confirmation adds extra evidence that the reaction may be developing.
==================================================
(7) ALERTS
==================================================
The alert conditions can be grouped into three simple types.
1) Zone reached alerts
These alerts tell you price has reached a support or resistance OB zone.
This means the area is active, but confirmation may not be present yet.
2) Zone reached + confirmation alerts
These alerts tell you price reached the zone and confirmation conditions are active.
This is the stronger alert type, but it is still only a chart condition.
3) Confirmation only / any event alerts
These alerts are broader monitoring alerts. They are useful when you want to know that a support or resistance event is happening, even if you do not want a very specific alert.
Reached only = start watching
Reached + confirmation = stronger chart condition
Alerts are monitoring tools. They are not trade instructions and do not guarantee a result.
==================================================
(8) HOW THE MODEL IS CALCULATED
==================================================
1. Zone Score
Score = Base + Displacement + Break + Trend + Body + Volume + PD Filter + S/R Filter + Bias + Edge
The score combines several pieces of zone quality, including displacement strength, structure break, trend alignment, candle body expansion, volume expansion, premium/discount location, pivot confluence, market bias, and observed edge.
2. Quality Grade
Quality Grade = function of Score
The raw score is converted into A++, A, B+, B, or C.
3. Zone Status
Zone Status = Fresh, Tested, or Broken
The status depends on whether price has touched or invalidated the zone.
4. Observed Rate
Observed Rate = Target Rate x Touch Rate
This combines how often zones are revisited and how often resolved zones reach the model target before invalidation.
5. Target Rate
Target Rate = Targets Reached / Resolved Zones x 100
This measures resolved zones only.
6. Touch Rate
Touch Rate = Touches / Total Zones x 100
This measures how often detected zones were revisited by price.
7. Reward/Risk Ratio
RR = Target ATR Multiplier / Invalidation ATR Multiplier
This is based on the ATR target and invalidation settings.
8. Edge
Edge = Target Rate x RR - (1 - Target Rate)
This estimates whether the observed target/invalidation behavior is positive, neutral, or weak.
9. Confidence
Confidence = min(Resolved Outcomes / Minimum Observed Outcomes, 1.0)
Confidence adjusts how much trust is placed on the observed stats. Low sample size means lower confidence.
10. Final Model Rating
Model Rating = Grade Score + Status Score + Observed Score + Edge Score
This creates the final label rating from 1 to 10.
==================================================
(9) IMPORTANT LIMITATIONS
==================================================
This script does not know the future. It only evaluates chart conditions using its internal rules.
Observed stats can be unreliable when there are not enough resolved examples. A label can show useful context, but it should not be treated as proof that the next zone will work.
Order blocks can fail during strong trends, news events, low-liquidity conditions, or when broader market structure changes.
Use the model rating as context, not certainty.
==================================================
DISCLAIMER
==================================================
This script is a public open-source indicator for educational and informational use.
It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
The script identifies order-block-style chart zones and confirmation conditions only. It does not guarantee profitable trades, signal accuracy, or future performance.
Users should always apply their own analysis, position sizing, and risk management before making any trading decision.
지표

지표
