Goldbach Pivots**Goldbach Pivots**
Based on Goldbach Price Levels as developed by Hopiplaka. Plots horizontal price levels derived from powers of 3 (3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049, 177147), calculated as `floor(close/X)*X` for each enabled divisor — creating a nested grid of "Dealing Ranges" (DRs) that traders using Goldbach/ICT-style methodology use to frame price action.
**Key features:**
- **Multiple independent DRs** — enable any combination of the eleven power-of-3 divisors simultaneously, each with its own color, line style (solid/dashed/dotted), and width
- **Configurable range** — set how many DR levels plot above and below current price via the iterations input
- **Percent sub-levels** — optional 11%, 17%, 50%, 83%, and 89% intermediate lines within each DR, each independently toggleable and styleable
- **Custom percent level** — define any percentage (with optional mirroring to the complementary level on the opposite side of the range) for levels outside the standard set
- **Stop Run lines** — per-DR toggle that plots short dotted lines a configurable distance inside the DR boundary, marking potential liquidity-run zones
- **Overlap priority rendering** — smaller DRs draw on top of larger ones so nested structure stays visually clear
All levels recalculate live off the current close and redraw on the last bar, keeping the grid aligned with price in real time.
Indicator

ORB + Volume Confirmation | AlphaScriptORB + Volume Confirmation filters the opening range breakout through the one thing most ORB tools ignore: whether anyone actually showed up for the move.
Every breakout is checked against relative volume, and the ones that fail the check get marked right on your chart — hollow, gray, labeled. For the first time you don't just see the breakouts you'd take. You see the ones that would have taken you.
🧠 Concept
The number one complaint about opening range breakout systems is false breakouts — price pokes through the range, triggers the entry, and immediately reverses. But most false breakouts share a fingerprint: they happen on thin volume.
A genuine initiative break is an auction event; participants commit size to push price out of balance, and that commitment is visible in the tape before the follow-through confirms it. A breakout on quiet volume isn't initiative — it's drift, and drift beyond a boundary gets sold back inside.
The fix isn't a better range. It's asking one question at the moment of the break: is this bar's volume abnormal for this moment of the day? If yes, the break is confirmed. If no, it's flagged as exactly what it is — a breakout that crossed the line without the fuel to hold it.
🔍 What it does
Builds the opening range from the first N minutes of your session (5/15/30/60, timezone configurable) and draws it as a clean box that releases price after a set number of bars, with the range high and low continuing as level rays across the session.
Every close beyond the range is then sorted into one of two categories:
Confirmed breakout — close beyond the range AND relative volume at or above your threshold (default 1.5×). Marked with a bold signal label showing the exact volume multiple ("LONG BREAK · 2.5× VOL"), plus projected targets at 0.5×, 1.0×, 1.5×, and 2.0× the range height.
Unconfirmed breakout — price crossed, volume didn't. Marked hollow and gray with its actual reading ("no vol 1.1×"). These marks are the teaching layer of the entire tool: scroll back through any month of sessions and count how many of the gray triangles reversed. That's the tuition a naked ORB system charges.
Two volume engines are included. Rolling SMA compares the bar against recent average volume — simple, active immediately. Time-of-Day (adaptive) compares each bar against the average volume at that same minute of the day across recent sessions — the stricter, more honest read, because it knows the open is always loud and refuses to be impressed by it.
⚙️ How it works
A breakout is confirmed only on a full bar close beyond the range — wicks don't count, and nothing repaints intrabar. One confirmed signal per direction per session, so a chop day can't spam your chart or your alerts.
Signals are only valid within a configurable window after the range completes (default 3 hours). A late-afternoon "break" of the morning range is a different trade — this tool refuses to pretend otherwise.
Relative volume is computed against a baseline that never includes the current bar, zero-volume bars can never confirm, and the session logic survives date rollovers, holiday sessions, and the Sunday futures open. Intraday charts only, at or below the range duration — the script enforces this rather than silently drawing nonsense.
Targets are fully configurable: independent colors per direction, line style, width, transparency, labels — and an option to keep target levels from previous sessions on the chart (depth of your choosing), turning the tool into a study of how price respects old range projections.
📈 How to use it
The default configuration is built for US index futures: 15-minute opening range, New York 09:30 session, 1.5× volume threshold on a 1–5 minute chart.
Start by doing nothing. Load it, scroll back twenty sessions, and compare the confirmed signals against the gray ones. The threshold isn't a magic number — it's a dial between selectivity and opportunity, and the chart will show you where your market and timeframe want it. Index futures generally respect 1.5×; forex tick volume tends to run flatter, so 1.2–1.3× is a more realistic starting point there.
The volume multiple printed on each signal is information, not decoration:
a 3× break and a 1.6× break both confirm, but they are not the same trade.
Three alerts are included: confirmed long, confirmed short, and unconfirmed touch (off by default — turn it on if you want to be told when a trap is forming). Recommended setting: "Once per bar close."
📝 Notes
A decision-support tool, not a strategy. Volume confirmation filters breakouts — it doesn't guarantee them. Confirmed breaks fail too, just less often than the ones nobody paid for. Always apply your own risk management. Indicator

Indicator

Indicator

Indicator

TRADERXMOM LevelsWhat it does
Plots key intraday reference levels: previous day high/low, the daily open (6pm NY futures day boundary), and high/low ranges for the Asia, London, and New York sessions, plus two fully custom session windows.
How it works
All levels are calculated from a dedicated real (non-Heikin-Ashi) OHLC data feed, so lines stay accurate to actual market price even when your chart display is set to Heikin Ashi candles. Each level tracks mitigation — once price trades through a level, it's marked as tapped, visually separating fresh levels from ones already revisited.
How to use it
Toggle any session or level independently, customize colors/line style/label size, and optionally highlight session windows with background shading. Built for session-based intraday trading on futures and other markets where NY, London, and Asia ranges matter. Indicator

Sessions+ (M1D)Sessions+ maps the ICT trading day as liquidity. It tracks the Asia, London and New York session highs and lows, frames the midnight (00:00) opening range, and reads your daily bias, premium/discount, resting liquidity and average range on one dashboard — everything you'd otherwise mark up by hand, kept current automatically.
Session levels (Asia / London / NY)
Each session's high and low are drawn from the exact candle that formed the extreme (not the session's start/end time) and projected forward as a liquidity level:
A session high is buy-side liquidity (resting stops above price). A session low is sell-side liquidity (resting stops below price).
A level stays live — bold colour, extending line — until price trades back through it. The moment that happens the level is "swept"/"mitigated": the line freezes in place and dims, so tapped liquidity fades into the background instead of cluttering the chart, but stays visible for context.
Every level carries a dated label (e.g. ASIA.H 06/07) so you always know which day a level belongs to, even several days back.
Session Days Back (0–5) — how many prior days of session levels stay on the chart in addition to today. 0 = today only (default); set to 2 to see the last 3 days of Asia/London/NY levels, each still fading correctly when tapped.
Core session windows plus optional carry windows (Asia carries to 02:00, London to 09:30, NY to 16:00) — the level keeps tracking new extremes through this follow-on period, not just the core window, since price often makes its real high/low after the "session" clock ends.
12am Opening Range
The first 30 minutes of the ICT trading day (00:00–00:30 NY) — the day's first pool of liquidity:
Boxes the 00:00–00:30 range and draws its high and low from the exact wick that made them (labelled 12am.H / 12am.L), plus a centred 12am tag on the box marking the open.
Each level holds until a candle body closes fully through it (not just a wick tap — a confirmed close), or until 05:00 NY (London Kill Zone close) if nothing has taken it by then. Either way, the level then freezes and dims like a session level.
Its own Trading Days Back (0–5), separate from the session setting above, so you can keep a different history depth for the 12am range vs. the sessions.
Dashboard — what every row means
The panel (top-right by default) is a live readout, refreshed every bar:
— BIAS —
Daily Dir: Bullish or Bearish — simply whether price is currently trading above or below today's 00:00 (midnight) open.
Bias: the actual trade bias, based on how far price sits into the prior dealing range (see Premium/Discount below) — not just which side of a line it's on:
Bullish — price is in discount (bought down into the lower half of the range) and below the midnight open — both signals agree.
Lean Bullish — price is in discount, but still trading above the midnight open (signals disagree, weaker read).
Bearish / Lean Bearish — the mirror image, price in premium.
Neutral — price is genuinely camped around the 50% equilibrium (inside the adjustable Bias Neutral Band %), i.e. no real edge either way. Bias never reports a vague "mixed" result — it always commits to a lean unless price is truly balanced.
— PREMIUM / DISCOUNT —
PDH / PWH / PMH and PDL / PWL / PML — the high and low of the dealing range you select in settings: Previous Day, Previous Week, or Previous Month. This is the range ICT traders use to judge premium vs. discount.
Each shows a ✓ (green) if that level is still open/unswept, or a ✗ (red) once price has traded through it this period.
EQ 50% — the exact midpoint of that dealing range (the equilibrium), plus a live read: premium (above EQ — expensive, favour selling), discount (below EQ — cheap, favour buying), or above PDH / below PDL if price has broken outside the range entirely.
— LIQUIDITY (today) —
Asia H / Asia L, London H / London L, NY H / NY L — today's session levels, each with the same ✓ open (green) / ✗ swept (red) marker as above, so you can tell at a glance which pools of liquidity are still resting and which have already been run.
— 12am OPENING RANGE —
12am Open — the exact 00:00 NY opening price, with its live distance from current price.
12am Rng — the size (in points) of the 00:00–00:30 opening range.
12am OR H / 12am OR L — the range's high/low, again with ✓/✗ sweep status.
— ADR (N-Day) — ("ADR" = Average Daily Range — the typical size, in points, of a full trading day over your chosen lookback)
ADR — the average range figure itself, plus % used — how much of that typical daily move has already printed today (e.g. "112% used" means today has already moved further than an average day, which flags a potentially exhausted/extended move).
Proj Hi / Proj Lo — simple range projections: today's low + ADR (a possible high target), and today's high − ADR (a possible low target) — a rough gauge of how much room is statistically "left" in the day.
Day Rng — today's actual realised range so far, for comparison against the ADR figure.
Settings
Sessions — timezone, core + carry windows per session, Session Days Back, line width, mitigated-dim %, session label size.
12am Opening Range — show/hide, range window, Trading Days Back, active window (the 05:00 cutoff), box fill and level line colours/width, label colour.
Dashboard — show/hide, screen position, text size, which Dealing Range to use for premium/discount (Day/Week/Month), ADR lookback length, Bias Neutral Band %, and the bullish/bearish/neutral/open/swept colours.
ICT logic in one line
London and New York run the liquidity that Asia and the prior period left resting; the midnight open is the true day open and the pivot for premium/discount; the 12am range is the very first pool the new day creates. This tool keeps all four of those — sessions, midnight range, dealing-range bias, and average range — in front of you at once.
Notes
Best on intraday timeframes (30 minutes or lower recommended for the 12am Opening Range; the session levels work across any intraday timeframe).
Session-based (not a fixed UTC offset), so everything tracks correctly through daylight-saving changes.
A level's date stamps when it opened, not the trading day it belongs to — e.g. Asia opens at 6pm NY, so its label shows the prior calendar date, which is when that range actually printed.
Daily/weekly/monthly and ADR data are pulled anti-repaint (confirmed prior-period values only); every swept/taken state is confirmed on candle close, never mid-bar.
Built by M1D. For education and the study of price delivery — not financial advice.
(New and improved version of the previous "Sessions Highs And Lows Unmitigated" script.) Indicator

Top & Bottom Finder XL# Top & Bottom Finder XL
## User's Guide
---
# Overview
**Top & Bottom Finder XL** is a market exhaustion indicator.
Its purpose is **not** to predict every swing high and swing low.
Instead, it attempts to identify **high-probability exhaustion points** where price has become statistically extended and has a greater chance of reversing.
Unlike traditional pivot indicators, this indicator combines several independent filters:
* Structural pivots
* Momentum (RSI)
* Trend extension
* Volume
* Range expansion
Only when the selected filters agree does the indicator produce a **Confirmed Top** or **Confirmed Bottom**.
---
# How the Indicator Works
Every signal goes through the following process:
### Step 1 — Find a Pivot
The indicator first looks for a legitimate swing high or swing low using PulseWire's pivot algorithm.
A pivot is not confirmed until the required number of right bars has completed.
Example:
Left = 100
Right = 5
means:
* current high must be higher than the previous 100 bars
* and remain the highest point for the next 5 bars
Only then is it officially a pivot.
---
### Step 2 — Apply RSI Filter (Optional)
Purpose:
Avoid taking pivots that occur without momentum extremes.
A top requires
RSI ≥ Top Threshold
A bottom requires
RSI ≤ Bottom Threshold
Default:
Top = 65
Bottom = 35
Disabling this filter means RSI is ignored completely.
---
### Step 3 — Apply Trend Extension Filter (Optional)
Purpose:
Avoid taking pivots that are too close to the trend.
The indicator measures:
Distance from EMA
using ATR.
Formula:
Distance =
Price − EMA
divided by ATR
Example
EMA = 100
ATR = 2
Price = 110
Distance =
10 ÷ 2
= 5 ATR
If Minimum ATR Extension = 5
the signal passes.
Otherwise it is rejected.
This filter is extremely effective at removing mediocre signals.
---
### Step 4 — Confirmation Filter
This determines whether the pivot occurred with unusually strong participation.
There are four modes.
## Off
No confirmation required.
Every pivot that passes the other filters becomes confirmed.
Produces the most signals.
---
## Volume Only
The pivot bar must have
Volume >
Average Volume × Multiplier
Default
50-bar average
Multiplier = 2
---
## Range Only
The pivot candle must have
Range >
Average Range × Multiplier
This looks for unusually large candles.
---
## Volume + Range
The strictest mode.
Requires BOTH:
* high volume
* large candle
Produces the fewest signals.
Usually the highest quality.
---
# Timeframe Settings
## Calculation Timeframe
Allows calculations on another timeframe.
Example
Chart = 15 minute
Calculation = 1 hour
Signals are calculated from hourly data but displayed on the 15-minute chart.
Leave blank to use the current chart timeframe.
---
# Pivot Settings
## Pivot Bars Left
Controls how significant the pivot must be.
Small values
More signals
Less significant
Large values
Fewer signals
More important turning points
Default
100
---
## Pivot Bars Right
Controls confirmation delay.
Larger values
Later signals
Higher confidence
Smaller values
Earlier signals
More false signals
Default
5
---
# Signal Filters
## Use RSI Filter
Enable or disable RSI completely.
---
## RSI Length
Default
14
Controls how RSI is calculated.
---
## Top RSI Threshold
Minimum RSI required for tops.
Default
65
Higher values
Fewer signals
---
## Bottom RSI Threshold
Maximum RSI allowed for bottoms.
Default
35
Lower values
Fewer signals
---
## Use Trend EMA Filter
Turns EMA distance filtering on or off.
---
## Trend EMA Length
Default
200
Long-term trend reference.
---
## ATR Length
Default
14
Used to normalize volatility.
---
## Minimum ATR Extension
Default
5 ATR
Controls how far price must stretch away from the EMA.
Higher values
Only extreme exhaustion
Lower values
More frequent signals
---
## Confirmation Mode
Options:
* Off
* Volume Only
* Range Only
* Volume + Range
Determines final confirmation.
---
## Volume / Range Average Length
Default
50
Average period used for volume and range comparisons.
---
## Volume Multiplier
Default
2
Required increase above average volume.
Example
Average volume = 100,000
Multiplier = 2
Required volume
200,000
---
## Range Expansion Multiplier
Default
0.5
Required increase above average candle range.
Higher values
Require larger candles.
---
# Display Settings
## Show Trend EMA
Displays the EMA used for trend extension.
Useful for visualizing how stretched price became.
---
## Show Watch Signals
Displays every confirmed pivot before filtering.
Watch signals represent:
"Potential reversal areas."
Confirmed signals represent:
"Filtered, higher-probability reversal areas."
---
## Color Settings
Customize:
* Watch Tops
* Watch Bottoms
* Confirmed Tops
* Confirmed Bottoms
* EMA
---
# Label Controls
These options determine what information appears inside Confirmed labels.
---
## Show Price
Displays pivot price.
Example
Price
145.32
---
## Show Pivot Settings
Displays
Left / Right
Example
100 / 5
Useful when comparing settings.
---
## Show RSI
Displays RSI at the pivot.
Example
RSI
72.5
---
## Show Volume
Displays pivot volume.
Useful when Volume confirmation is enabled.
---
## Show ATR
Displays ATR at the pivot.
Important:
This is **not** the distance from the EMA.
It simply displays the market's volatility (ATR) at the time the pivot formed.
Higher ATR means a more volatile market.
Lower ATR means a quieter market.
---
## Show EMA Distance
Displays
Distance from EMA
measured in ATRs.
Example
EMA Dist
5.82 ATR
This is arguably the most useful statistic on the label because it quantifies how extended price was when the reversal occurred.
---
## Show Confirmation Type
Displays how the confirmation filter was satisfied.
Possible values:
* Volume
* Range
* Volume + Range
* None
---
# Alerts
The indicator includes four alerts:
### Confirmed Top Found
Generated when a filtered top is confirmed.
---
### Confirmed Bottom Found
Generated when a filtered bottom is confirmed.
---
### Top Watch
Generated for every structural pivot high before filtering.
---
### Bottom Watch
Generated for every structural pivot low before filtering.
---
# Understanding Signal Timing
This is important.
The indicator **does not repaint**, but it is intentionally delayed by the **Pivot Bars Right** setting.
Example:
Right Bars = 5
A top occurring today will only be confirmed after five additional bars have closed without a higher high.
This is necessary because the indicator waits for confirmation that the pivot is truly established.
---
# Suggested Starting Settings
## Swing Trading (Daily)
* Left Bars: 100
* Right Bars: 5
* RSI: On
* EMA Filter: On
* Minimum ATR Extension: 5
* Confirmation: Volume Only
---
## Position Trading (Weekly)
* Left Bars: 150–250
* Right Bars: 5–10
* ATR Extension: 6–8
* Confirmation: Volume + Range
---
## Short-Term Trading (15–60 Minute)
* Left Bars: 30–60
* Right Bars: 3–5
* ATR Extension: 3–4
* Confirmation: Volume Only
---
# Strengths
* Adapts to market volatility using ATR.
* Filters out many insignificant pivots.
* Uses multiple independent confirmation methods.
* Supports higher-timeframe calculations on lower-timeframe charts.
* Does not repaint after pivot confirmation.
* Highly configurable for different trading styles.
---
# Current Limitations
* Signals are intentionally delayed by the selected Right Bars value.
* The indicator identifies **exhaustion points**, not trend direction.
* Strong trends can continue after a confirmed top or bottom, especially during momentum-driven markets.
* Volume confirmation may be less reliable for markets where reported volume is limited or synthetic (such as many forex CFDs).
---
# Best Use Practices
The indicator performs best when used to identify **areas of elevated reversal probability**, not as a standalone buy or sell trigger. Higher-quality setups occur when a confirmed signal aligns with higher-timeframe support or resistance, trendline breaks, divergence, or other independent forms of technical confirmation. Treat confirmed tops and bottoms as locations to focus attention rather than automatic entry points.
Indicator

Previous Day Breakout IndicatorStrategy Breakdown
1.Previous Day Levels: The strategy uses request.security to look up the previous day's high and low prices.
2.Entry Conditions: To trigger an entry, the strategy checks if the current 5-minute bar and the previous 5-minute bar have both closed beyond the previous day's level (either above the high or below the low). To ensure we only enter precisely on the second bar, we check that the bar 2 bars ago did not close beyond the level.
3.Risk Management: Once in a position, the strategy relies on strategy.exit, utilizing the profit and loss parameters which accept points/ticks.
4.Visuals: The previous day's high and low are plotted on your chart for easy visual reference.
I've tightened the logic in the editor to guarantee that the strategy only looks at the previous day's levels and that the breakout explicitly originates from inside the previous day's range.
The entry condition now strictly requires:
1.The candle 2 bars ago was inside the previous day's range (meaning the breakout is fresh).
2.The previous candle (Bar 1) broke out and closed beyond the Previous Day High/Low.
3.The current candle (Bar 2) also closed beyond the Previous Day High/Low.
The strategy doesn't look at any other levels, support/resistance, or indicators.
What I added:
Projected Daily Candle: The script now constructs a visual representation of the Previous Day's candle (complete with the high/low wicks and the open/close body) and projects it to the right of your current price action.
It updates dynamically on the very last bar.
You can control exactly how far ahead it gets drawn via the "Candle Projection Offset (Bars)" input in the settings.
Continuous Levels: The Previous Day High and Low are continuously plotted as solid lines across the chart so you always know where those exact levels sit.
Entry Signals: Since this is now an indicator and not a strategy, I added plotshape() triangles to visualize the exact moments when your 2-bar breakout entry logic fires. Green triangles appear below the bar for Long setups, and red triangles appear above the bar for Short setups.
What's Changed:
1.Support & Resistance Zones: Instead of basic continuous lines, the Previous Day High and Low are now drawn as gray horizontal boxes spanning from the start of the current day extending out into the future, creating support and resistance "zones".
2.Text Labels: I added the Resistance (PDH) and Support (PDL) text labels directly above and below their respective zones, matching the image.
3.Midpoint Dashed Line: A dashed gray line now automatically calculates the exact center between the high and low (pdH + pdL) / 2 and runs horizontally through the entire daily range.
2.Candle Body Box: Instead of a thick line, the body of the projected candle is now constructed using a box with the text "PD" directly in the center, and the wick is a single vertical line running through it.
Now, the indicator will print a signal any time the price crosses and closes beyond either level for two consecutive bars, regardless of direction.
Specifically:
Long Signals (Green Triangle Up): Trigger if price breaks and holds above the Previous Day High OR if price breaks and holds above the Previous Day Low (e.g., crossing back up into the daily range).
Short Signals (Red Triangle Down): Trigger if price breaks and holds below the Previous Day Low OR if price breaks and holds below the Previous Day High (e.g., crossing back down into the daily range, as you highlighted with the red arrow in your image).
This effectively allows you to trade both the true breakouts and the fakeouts/reversions back inside the range! Check out the chart and let me know if those signals align perfectly with what you had in mind.
How it works now:
I added a new setting in the indicator's input menu called "Signal on Bar #". You can now choose exactly how many consecutive closes must happen beyond the line before the triangle signal prints.
Set to 1: The signal triggers immediately on the very first candle that closes outside the Previous Day High/Low.
Set to 2: (Your original request) The signal waits for two consecutive candles to close outside the level.
Set to 3 or 4: The script demands even more confirmation, waiting for 3 or 4 consecutive candles to close beyond the level without dipping back across it.
If the price dips back inside the range before your chosen number of bars completes, the count resets, preventing false signals. You can tweak this setting right from the gear icon to see how it filters the trades on your chart!
Indicator

Indicator

Indicator

Indicator

PDH/PDL + FVG + Order Blocks (Clean ICT)**PDH/PDL + Session Highs/Lows + FVG + Order Blocks (Clean ICT)**
An all-in-one ICT/Smart Money toolkit that layers the core concepts traders use for daily bias and liquidity mapping onto a single, clean chart — no clutter, no repainting boxes, fully configurable.
**What it plots:**
📍 **Previous Day High / Low (PDH/PDL)**
Day boundary locked to a chosen timezone (defaults to New York midnight, the ICT standard), so the daily range always lines up with how ICT concepts are taught, regardless of your exchange's native session times.
🌏 **Asia / London / New York Session Highs & Lows**
Each session range builds live as price moves through it, then locks and stays on the chart once the session closes — giving you the classic liquidity pools traders watch for sweeps and reversals. All three sessions are fully customizable (time window, color) to match your own session definitions.
⚡ **Liquidity Sweep Tags (SFP)**
Automatically tags candles that wick through the prior day's high or low and close back inside it — a classic stop-hunt / failure-to-continue signal.
📊 **Fair Value Gaps (FVG)**
Detects 3-candle imbalances above a minimum size threshold (scaled to ATR, so it adapts across instruments and timeframes). Gaps auto-remove once fully filled, keeping the chart from filling up with stale zones.
🟦 **Order Blocks (OB)**
Marks the last opposing candle before a strong displacement move, with an ATR-based displacement filter and an optional "must leave an FVG" filter to cut down on noise. Blocks auto-remove once price closes through and mitigates them.
📈 **EMA**
A simple configurable EMA for trend context.
**Why it's different:**
- Everything is timezone-anchored, not just chart-timezone dependent — so PDH/PDL and session ranges stay accurate no matter what timezone your chart is displaying.
- Labels track live with price instead of sitting frozen back at the bar where a level formed, so the chart stays readable as new bars print.
- Old FVGs and Order Blocks clean themselves up once invalidated, instead of piling up indefinitely.
- Every color, threshold, and session window is adjustable from the settings panel — no code editing required.
**How to use it:**
1. Add the indicator and open Settings to toggle on/off any of the five modules (PDH/PDL, Sessions, FVG, Order Blocks, EMA).
2. Adjust the session time inputs to match the sessions you trade (defaults: Asia 20:00–00:00, London 02:00–05:00, New York 07:00–16:00, all in the day-boundary timezone).
3. Use the ATR-based thresholds to tune how many FVGs/Order Blocks show up — raise them for fewer, larger, higher-conviction zones; lower them to see more.
4. Watch for confluence: a liquidity sweep of PDH/PDL near a session high/low, followed by a fresh FVG or Order Block, is a common ICT-style setup.
**Notes:**
This script is for educational and analytical purposes and does not constitute financial advice. As with any tool, backtest and forward-test any strategy built around these concepts before trading live. Indicator

Indicator

VWAP Confluence Engine | AnonycryptousVWAP Confluence Engine | Anonycryptous
Description & user manual
Why this indicator is different
Most traders run VWAP and RSI as two separate tools. VWAP tells you where price is relative to the volume-weighted average. RSI tells you about momentum. The problem is that these two readings constantly disagree, and when they do, the trader is left guessing which one to trust. Price sits above VWAP while RSI turns down. RSI pushes above its midline while price is still below VWAP. Every one of those moments is a decision made under conflicting information, and that is exactly where most intraday accounts bleed.
The VWAP Confluence Engine removes the guessing. Instead of showing you two panels that argue with each other, it forces agreement before it shows a directional state. Three independent measurements have to point the same way: price relative to VWAP, a volume-weighted RSI, and the Money Flow Index. When all three align bullish, the candle is painted in the bull color. When all three align bearish, it is painted in the bear color. When they disagree, the candle is neutral, and that neutral state is the most important output in the whole system. It is the market telling you it has not decided, and that you should not decide either.
This turns a chart full of conflicting signals into a single color-coded read. One glance tells you direction, momentum, and participation at the same time.
But direction alone is only half of a trade. A signal in the wrong location is a trap, no matter how clean the momentum looks. So the engine also maps support and resistance zones from swing pivots, flips those zones as price reclaims or loses them, and tells you in a dashboard where the nearest level sits above and below. A bull agreement firing directly into a heavy resistance zone is a very different proposition from the same agreement firing off a reclaimed support. The indicator gives you both pieces in one view.
And because a single timeframe is never the whole story, a compact multi-timeframe bar shows the same agreement logic across six timeframes at once. When every timeframe is the same color, the decision is easy. When they are mixed, that is information too.
Important notice
The VWAP Confluence Engine generates visual states based on VWAP position, volume-weighted momentum, money flow, and price structure. These states are not financial advice. They do not predict future price movement. They do not guarantee profitability. All trading decisions are made entirely by the user. Always manage your own risk. Always apply your own judgment.
1. Overview
The VWAP Confluence Engine is an overlay indicator that combines VWAP, a volume-weighted RSI, and the Money Flow Index into a single three-way agreement system, then places that agreement in the context of support and resistance structure and higher timeframe trend.
What it includes:
- Anchored VWAP with selectable reset period (hour, 4 hours, day, week, month)
- Volume-weighted RSI that scales price change by relative volume
- Money Flow Index as an independent confirmation layer
- Three-way agreement candle coloring: bull, bear, and neutral
- Gradient fill between VWAP and price that intensifies with distance
- Support and resistance zones from four independent pivot lengths, with zone flip logic
- Divergence detection with a box drawn on the price chart
- Higher timeframe filter that can gate signals to trade only with the larger trend
- Sentiment transition markers on the exact bar agreement changes
- Two configurable EMAs for optional extra confirmation, independent of the signal engine
- Main dashboard with agreement state, VWAP position, VW RSI, MFI, divergence, nearest levels, and a dedicated higher timeframe section
- Compact multi-timeframe bar across six configurable timeframes
- Optional background coloring
- Alerts for agreement changes and divergence
2. Core logic
2.1 The three-way agreement
Everything in this indicator is built around one question: do all three measurements agree?
The three measurements are:
- VWAP position. Is price above or below the anchored VWAP.
- Volume-weighted RSI. Is momentum above or below its midline.
- Money Flow Index. Is money flow above or below its midline.
A bull state requires price above VWAP, VW RSI above the midline, and MFI above the midline at the same time. A bear state requires all three below. Anything else is neutral.
This is deliberately strict. The indicator does not paint a color unless all three independent readings confirm each other. That is why the neutral state matters so much. It is not a weakness in the signal, it is the signal. It marks the stretches where price is chopping, where momentum and money flow disagree, and where forcing a trade usually ends badly.
2.2 Volume-weighted RSI
Standard RSI treats every bar equally. A move on thin volume and a move on heavy volume produce the same RSI value if the price change is the same. The volume-weighted RSI multiplies each bar's price change by its relative volume, the ratio of that bar's volume to a smoothed average, before the smoothing step. Moves on strong participation push the oscillator harder. Moves on weak participation barely register. The result reflects who was behind the move, not just that a move occurred.
2.3 Money Flow Index
The MFI is calculated from typical price multiplied by volume, producing positive and negative money flow that is converted to a 0 to 100 index. It responds differently from the VW RSI because it weights price level rather than price change. Requiring both to agree means two independent volume-based calculations have to arrive at the same conclusion, which is a stronger condition than either one alone.
3. VWAP and the fill
The VWAP is anchored to a selectable period. Day is the default and the most useful for intraday scalping, resetting at each session open. Week and month give longer-term institutional reference levels. Hour and 4 hours give shorter references for very fast trading.
The fill between VWAP and price is drawn with a gradient. Near VWAP it is almost invisible. The further price travels from VWAP, the more the fill intensifies, up to a configurable maximum. This gives an immediate visual sense of how stretched price is from its volume-weighted average without adding any clutter when price is hugging the line. The fill color follows the agreement state.
4. Support and resistance zones
The engine detects swing highs and lows using four independent pivot lengths, each of which can be toggled and adjusted. Instead of drawing thin lines, it draws zones with a thickness based on the average true range, so each level is a band rather than a single price.
The zones flip color based on where price is relative to them:
- When price is above a zone, it is drawn in the bull color, acting as support.
- When price is below a zone, it is drawn in the bear color, acting as resistance.
- When price is inside a zone, it is drawn in the neutral color, marking active interaction.
This flip logic reflects a basic principle of price structure: old resistance becomes new support once it is reclaimed, and old support becomes new resistance once it is lost. The zone color always tells you which role the level is currently playing.
The maximum number of zones shown per pivot length is configurable, so the chart stays as clean or as detailed as you want.
5. Divergence
Divergence is detected by comparing pivots in the VW RSI against pivots in price.
Bearish divergence: price makes a higher high while VW RSI makes a lower high. Momentum is weakening as price extends.
Bullish divergence: price makes a lower low while VW RSI makes a higher low. Selling pressure is fading even as price continues down.
Sensitivity controls the pivot lookback window. High uses a 3-bar window for more signals and more noise. Medium uses 5 bars. Low uses a 10-bar window for fewer, higher quality signals.
When a divergence confirms, a box is drawn on the price chart spanning the full high-to-low range of the swing involved, with a small label naming the divergence type. This shows not just that a divergence happened, but exactly where on the chart it occurred. The dashboard also reports the current divergence state.
6. Higher timeframe filter
The higher timeframe filter, when enabled, requires the higher timeframe to agree with the current direction before a candle can be painted bull or bear. On a lower timeframe this prevents counter-trend coloring during a pullback inside a larger trend.
The filter can be turned off entirely. With it off, candle coloring is based only on the current timeframe's three-way agreement. This is a deliberate choice left to the trader: strict alignment with the higher timeframe, or faster response on the current one. The dashboard always shows the higher timeframe bias regardless of whether the filter is gating signals, so the context is available either way.
7. Multi-timeframe bar
The multi-timeframe bar is a compact panel showing the agreement direction across six timeframes at once. Each slot is fully configurable, defaulting to 5m, 15m, 1h, 4h, D, and W. Each shows a colored triangle, up for bull, down for bear, a dot for neutral, with the timeframe label colored to match.
This is the fastest read in the indicator. When every timeframe is the same color, alignment is strong and the decision is simple. When the shorter timeframes are one color and the higher ones another, price is at a transition or in conflict, and the bar shows that at a glance.
8. Sentiment transitions
When the agreement state changes, a small marker is plotted on the exact bar where it happened. A triangle up when the state flips to bull, a triangle down when it flips to bear, a dot when it drops into neutral. These mark the moments the read changed, which is often more actionable than the state simply being green or red for many bars in a row.
9. Dashboard reference
The main dashboard updates on every bar and shows:
Agreement - the current three-way state: bull, bear, or hold.
VWAP - whether price is above or below the anchored VWAP.
VW RSI - current volume-weighted RSI value, colored by position.
MFI - current Money Flow Index value.
Divergence - active divergence state, if any.
Near Support - nearest zone level below current price.
Near Resist - nearest zone level above current price.
VWAP Anchor - the current VWAP reset period.
The higher timeframe section, which can be toggled, adds for the selected higher timeframe: its agreement state, VWAP position, VW RSI, MFI, whether the higher timeframe filter is active, and a warning if the current chart timeframe is below the recommended minimum for the system.
10. How to use
10.1 The core read
Wait for agreement. A bull or bear colored candle means all three measurements confirm each other. A neutral candle means they do not. The single most valuable habit this indicator encourages is to simply stand aside when candles are neutral. Those stretches are where the market has not chosen a direction, and where forcing a trade tends to produce the worst outcomes.
10.2 Location matters as much as direction
A colored candle tells you the direction is confirmed. The support and resistance zones tell you whether the location is any good. A bull agreement firing straight into a heavy resistance zone above is a low quality entry, even though the momentum looks clean. The same bull agreement firing off a zone that has just flipped from resistance to support is a far better proposition. Read the two together, never direction alone.
10.3 Using the higher timeframe
If you want to trade only in the direction of the larger trend, enable the higher timeframe filter. Colored candles will then only appear when the current and higher timeframe agree. If you prefer to react faster and judge context yourself, leave it off and use the higher timeframe section of the dashboard and the multi-timeframe bar as reference rather than as a hard gate.
10.4 Divergence as context
A divergence box is a warning that momentum and price have started to disagree, not an instruction to enter. The most reliable approach is to wait for a divergence box near a support or resistance zone and then look for the agreement state to actually flip before acting. Divergence can persist for many bars before price responds.
10.5 Illustrative bull scenario
Educational example only. Not a trading recommendation.
Price pulls back to a support zone that flipped from resistance a few sessions earlier. The multi-timeframe bar shows the higher timeframes already bullish. A bullish divergence box appears at the zone. On the next bar the agreement state flips to bull, painting the candle and plotting a transition triangle. Direction, location, momentum, and higher timeframe are all pointing the same way at the same place.
10.6 Illustrative bear scenario
Educational example only. Not a trading recommendation.
Price rallies into a resistance zone overhead. VW RSI and MFI are both rolling over. A bearish divergence box is drawn across the swing. The agreement state flips to bear and a transition triangle down prints. The higher timeframe section confirms a bearish bias. The setup has direction, structure, and higher timeframe agreement in one location.
11. Recommended use
This system is built for intraday trading and works best on the higher intraday timeframes rather than the very fastest ones, where noise overwhelms the agreement logic. The dashboard includes a timeframe check that flags when you are below the recommended minimum. Pivot settings for the support and resistance zones can be tuned per instrument and timeframe; smaller pivot lengths surface shorter-term levels, larger ones surface major structure.
12. Settings reference
VWAP: anchor period, line color, line width.
VW RSI: length, volume smoothing, midline, overbought and oversold levels, divergence sensitivity, divergence toggle and hold, divergence box toggle and transparency.
MFI: enable, length, midline.
HTF filter: enable, timeframe, RSI midline.
S/R zones: show toggle, four pivot lengths with individual show toggles, max zones per pivot, zone thickness by ATR, zone transparency.
Visuals: bull, bear, and neutral colors, candle coloring toggle, VWAP fill toggle and transparency, background color toggle and transparency, sentiment transition toggle.
Moving averages: two EMAs, each with show toggle, length, color, transparency, and width. The EMAs are an optional visual aid for extra confirmation only. They are not part of the agreement engine and do not influence candle coloring, signals, or any other calculation.
Dashboards: main dashboard show, position, size, HTF section toggle, HTF section timeframe. Multi-timeframe bar show, position, size, and six configurable timeframe slots.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document or in the indicator output constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital. Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator. Indicator

Pivot Support & Resistance Matrix [ChartPrime]Pivot Support & Resistance Matrix
🔶 OVERVIEW
Traders often struggle to identify which support and resistance levels are truly critical and which ones are just temporary market noise. The Pivot Support & Resistance Matrix solves this by combining automated, proximity-filtered structural lines with a real-time, volume-cleared Polyline Pivot Profile Engine .
Instead of cluttering your chart with every single minor pivot, this script utilizes an ATR-based buffer system to only track key structural levels. Furthermore, it pools all historical pivot points into a customized histogram matrix displayed right in your margin, pinpointing the absolute **Pivot Point of Control (POC)** where historical order blocks are most heavily clustered.
🔶 HOW IT WORKS
The script processes market structure through a multi-tiered calculation architecture:
Proximity-Filtered S/R Generation: The script monitors classic structural highs and lows ($Pivot\ High / Low$). To prevent messy line stacking, it implements an automated proximity filter using an NYSE:ATR \times Multiplier$ threshold. A fresh Support or Resistance line will only spawn if there isn't an active, unbroken line already sitting within that price buffer.
Dynamic Breakout Conversion & Volume Logging: Active lines automatically extend forward in time. The exact moment price closes past a level, the script transforms its state: it turns into a dashed, neutral-colored broken level, and replaces its price label with the exact transaction volume that occurred on the breakout candle (formatted cleanly as K or M).
Polyline Profile Matrix: At the right edge of your screen, the script divides the high-to-low calculation lookback window into a customized array of price bins. It then scans through all historical pivots, plotting a seamless, shaded polyline histogram based on pivot density.
Pivot Point of Control (POC): The single price bin that contains the highest concentration of historical pivot touches is highlighted across your entire chart as a solid red **Pivot POC Line**, displaying exactly how many times institutions used that precise level for market reversals.
🔶 KEY FEATURES
Smart ATR Density Filtering: Prevents redundant lines from overlapping in tightly consolidated ranges, providing clean, high-conviction key levels instead of generic lines on every candle.
Post-Breakout Volume Memory: Instead of deleting broken lines, they switch to a dashed visual state while logging the breakout volume. This tells you instantly whether a level was smashed with heavy institutional backup or weakly drifted through.
Adaptive Profile Theme Coloring: The polyline histogram dynamically matches the current market state. If more historical support pivots have been registered than resistance levels inside your lookback window, the profile automatically adopts the Support color theme, signaling a bullish structural baseline (and vice versa).
Bin Smoothing Radius Configuration: To account for minor market fluctuations, each pivot point distributes its structural weight to adjacent price bins based on a user-defined radius, creating a smooth, professional-grade market profile.
🔶 TRADING APPLICATIONS
High-Volume Breakout Validation: When an established support or resistance line is broken, check the volume tag left on the line. A break showing high volume (e.g., $4.5M$) indicates a high-probability trend continuation or verified Market Structure Shift.
Pivot POC Magnet Re-entries: The red Pivot POC line acts as a major institutional fair-value anchor. When price expands far away from it, it serves as an excellent structural target; conversely, during macro retracements, it behaves as the strongest anticipated bounce zone.
Profile Value Area Exits: Use the outer limits of the polyline histogram to judge market extensions. If price stretches completely beyond the top or bottom boundaries of the pivot profile, it indicates highly overextended conditions, alerting you to tighten stop losses or secure open profits.
🔶 SETTINGS
Pivot Left/Right Bars: Sets the lookback structural count required to verify a local swing high or swing low. Higher values isolate macro key levels, while lower values target scalping ranges.
Calculation Lookback Window: Restricts profile tracking and line management to a strict historical window (e.g., last 600 bars), preserving processing speeds and focusing your data on recent market developments.
ATR Proximity Multiplier: The minimum distance required between horizontal lines. Increase this multiplier to dramatically clean up your chart and leave only the most prominent structural boundaries.
Number of Bins & Smoothing Radius: Controls the resolution of your polyline profile. Higher bins provide finer price accuracy, while a higher smoothing radius blends adjacent bins for a cleaner visual histogram.
🔶 CONCLUSION
The Pivot Support & Resistance Matrix indicator completely modernizes standard support and resistance trading. By combining price-filtered line tracking with a structural density profile, it allows traders to clearly see where major liquidity walls stand and precisely how much volume was required to break them down. Indicator

Change in State of Delivery [CISD] (Zeiierman)█ Overview
Change in State of Delivery (Zeiierman) identifies genuine changes in buying and selling pressure by monitoring consecutive delivery candles and tracking when price closes beyond the opening price of the previous delivery phase.
Rather than relying solely on traditional market structure concepts such as Break of Structure (BoS) or Market Structure Shift (MSS), the indicator focuses on delivery itself, the sequence of aggressive buying or selling that drives price.
When price successfully closes beyond the opening price of the previous delivery leg, a Change in State of Delivery (CISD) is confirmed, highlighting a potential shift in market control.
⚪ True Delivery Engine
The indicator continuously tracks bullish and bearish delivery sequences. A delivery begins whenever consecutive candles close in the same direction.
Once a minimum number of delivery candles has formed, the indicator records:
• The opening price of the first delivery candle.
• The starting bar of the delivery sequence.
• The active delivery level.
Unlike many CISD implementations, this indicator is built around the actual delivery sequence instead of simply using arbitrary candle opens.
⚪ CISD Confirmation
A Change in State of Delivery is confirmed when price closes beyond the opening price of the previous delivery sequence.
Bullish CISD
• Bearish delivery completes.
• Price closes above the opening price of that bearish delivery.
Bearish CISD
• Bullish delivery completes.
• Price closes below the opening price of that bullish delivery.
⚪ Liquidity Sweep Detection
The indicator can optionally display liquidity sweeps around confirmed swing highs and swing lows.
A bearish liquidity sweep occurs when:
• Price trades above a previous swing high.
• Price closes back below the swing high.
A bullish liquidity sweep occurs when:
• Price trades below a previous swing low.
• Price closes back above the swing low.
⚪ Market Structure Shift (MSS)
For additional confirmation, the indicator can display simple Market Structure Shift events.
Bullish MSS
• Price closes above the most recent confirmed swing high.
Bearish MSS
• Price closes below the most recent confirmed swing low.
█ How It Works
⚪ Delivery Detection
The script continuously counts consecutive bullish and bearish candles.
Once the minimum delivery requirement is reached, the opening price of the delivery sequence becomes the active CISD level.
This level represents the point where the current buying or selling pressure originally began.
if bull
bullSeq := bull ? bullSeq + 1 : 1
if bullSeq == 1
bullDeliveryOpen := open
if bear
bearSeq := bear ? bearSeq + 1 : 1
if bearSeq == 1
bearDeliveryOpen := open
⚪ CISD Validation
The delivery level remains active until one of two events occurs:
• Price confirms the CISD by closing beyond the delivery open.
• The setup expires after the maximum user-defined validity period.
Confirmed CISDs remain visible, while expired setups are automatically removed.
⚪ Dynamic Trend State
Each confirmed CISD updates the internal trend state.
This trend can optionally be used to:
• Color candles.
• Visually distinguish bullish and bearish market conditions.
• Generate trend shift alerts.
Repeated confirmations in the same direction are displayed using dashed CISD levels, making ongoing directional control easier to recognize.
█ How to Use
⚪ Identify Delivery Shifts
The primary purpose of the indicator is to detect when one side of the market successfully overcomes the previous delivery phase.
A bullish CISD shows that buyers have reclaimed control after a bearish delivery sequence. A bearish CISD shows that sellers have reclaimed control after a bullish delivery sequence.
Instead of reacting to every structural break, traders can use confirmed CISD levels to focus on cleaner shifts in market pressure.
⚪ Solid vs Dashed CISD Levels
Not all confirmed CISD levels are displayed the same way.
Solid CISD lines represent a new change in delivery, where market control shifts from buyers to sellers or from sellers to buyers. These are often the most significant signals, as they indicate a potential trend reversal or the beginning of a new directional move.
Dashed CISD lines occur when another CISD confirms in the same direction as the current trend. Instead of signaling a reversal, they indicate that the existing trend continues to regain control after a pullback.
In practice:
• Solid CISD → Potential change in directional control.
• Dashed CISD → Trend continuation after a correction or retracement.
This visual distinction helps traders quickly identify whether a CISD represents a fresh shift in market control or simply reinforces the current trend.
█ Settings
Show CISD: Displays active and confirmed CISD levels.
Minimum Delivery Candles: Minimum number of consecutive candles required before a delivery sequence becomes valid.
Maximum CISD Validity: Maximum number of bars a setup can remain active before expiring.
Minimum CISD Duration: Minimum number of bars before a CISD is allowed to confirm.
Show Liquidity Sweeps: Displays bullish and bearish liquidity sweep levels.
Sweep Swing Length: Controls the swing detection used for identifying liquidity sweeps.
Show MSS Dots: Displays Market Structure Shift confirmations.
MSS Length: Controls the pivot length used for structure detection.
Color Candles by CISD Trend: Colors candles using the latest confirmed CISD direction.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

RSI Core Levels Heatmap [BigBeluga]🔵 OVERVIEW
The RSI Core Levels Heatmap turns the standard Relative Strength Index (RSI) indicator into powerful support and resistance lines drawn directly on your main price chart. Instead of forcing you to constantly look down at a separate oscillator window, this script automatically finds hidden momentum levels and projects them right where you trade, helping you spot key reversal floors and ceilings instantly.
🔵 FEATURES
The system uses a smart layout tracking engine to map momentum without cluttering your screen:
1 — Momentum-Mapped Support & Resistance Lines
Signal Line Crossover Alerts: The indicator tracks momentum changes using a smooth Signal Line Length . When the raw RSI line crosses above or below this signal line, it triggers a setup.
Smart Price Capture: The moment a crossover happens, the engine looks back at the last 10 candles. If it is a bullish bounce, it finds the low price; if it is a bearish drop, it grabs the high price.
Direct Chart Overlay: It takes those key prices and draws clean support or resistance lines right on your main chart with clear labels.
2 — No-Clutter Overlap Protection Logic
Collision Checker: To stop your chart from looking like a messy spiderweb, the indicator checks if a new line is being drawn too close to an old one.
Duplicate Blocking: If a new level lands directly on top of an existing active zone, the script blocks it automatically to keep your trading area perfectly clean.
// Strict Collision Box Overlap Detection Matrix
is_overlapping_existing_block(high_val, low_val) =>
overlap = false
if array.size(activeBlocks) > 0
for i = 0 to array.size(activeBlocks) - 1
BlockLevel item = array.get(activeBlocks, i)
if (high_val <= item.topPrice and high_val >= item.botPrice) or (low_val >= item.botPrice and low_val <= item.topPrice) or (high_val >= item.topPrice and low_val <= item.botPrice)
overlap := true
break
overlap
3 — Active Line Lifecycle & FIFO System
Automatic Extension: All active, unbroken support and resistance lines automatically stretch forward on every new candle so they stay fresh.
Broken Line Changes: When price actions breaks through a line, the script instantly changes its style to a thin, grey dashed line and stops tracking it. This shows you exactly where historical levels failed.
Levels Heat Color: Each support and resistance level color intense is based on the rsi value at the moment level was created.
FIFO (First-In, First-Out) Lag Protection: To keep your PulseWire running fast without any lag, you can set a Max Active Levels & Labels limit. When you reach this cap, the oldest lines drop off the chart first (First-In, First-Out) to make room for new ones.
// Object Array State Lifecycle Management Snippet
if array.size(activeBlocks) > 0
for i = array.size(activeBlocks) - 1 to 0
BlockLevel item = array.get(activeBlocks, i)
bool broken = item.isBull ? (close < item.botPrice) : (close > item.topPrice)
if broken
label.delete(item.lvlLabel)
line.set_style(item.lvlLine, line.style_dashed)
line.set_color(item.lvlLine, color.gray)
line.set_width(item.lvlLine, 1)
array.remove(activeBlocks, i)
else
line.set_x2(item.lvlLine, bar_index)
label.set_x(item.lvlLabel, bar_index)
4 — Gradient Heatmap Ribbon & Proximity Dashboard
Color-Changing Ribbon blocks: The bottom sub-pane features a smooth gradient ribbon that tracks market extremes. It lights up bright green during deep oversold conditions, bright red when overbought, and turns yellow during tight consolidations ( Show Midline Squeeze Zone ).
Distance Telemetry HUD Table: A clean on-screen table calculates exactly how close the current price is to your nearest active support or resistance level in points and exact percentages.
🔵 HOW TO USE
Using this simple multi-layer blueprint helps you manage setups step-by-step:
Trading Reversals and Bounces: Watch the chart when price falls down toward a green support line. If the Dashboard Table shows the distance getting very close to 0% and the bottom ribbon is flashing deep green (oversold), look for a long bounce trade off the level.
Managing Risk and Trailing Stops: If you enter long at a support line, use that level as your risk floor. If price flushes below it, the indicator will instantly turn the line grey and dashed, letting you know the setup is invalid and it is time to cut the trade.
Spotting Squeeze Breakouts: When the bottom ribbon stays yellow, it means the market is squeezing sideways. Watch your distance dashboard closely; when price breaks out of the squeeze and flies toward your outer lines, you can ride the explosive momentum expansion.
🔵 NOTES
Why this implementation is unique:
It saves screen space by turning abstract momentum data from an oscillator below into highly accurate, tradeable price targets up on your main chart.
The overlap blocker prevents multiple lines from bunching together, keeping your chart clean and easy to read.
The automated FIFO memory cleaning system makes sure the script stays fast and lightweight, no matter how many bars are loaded on your chart.
Indicator

Indicator

Indicator

JPM Collar Levels - SPXJPM Collar Levels - SPX plots manually updated quarterly JPM collar reference levels for the S&P 500 Index.
The indicator is designed for traders and analysts who want a clean way to keep the main JPM collar levels visible on the SPX chart without turning them into signals, targets, or magic lines.
The script currently plots three reference levels for each loaded quarterly collar:
- Short Call
- Long Put
- Short Put
These levels are hardcoded and updated manually after each quarterly reset.
Important convention:
The reported quarter is displayed during the following active quarter.
For example, Q2 2026 collar levels are active from July 1, 2026 to October 1, 2026.
This matters because the collar is not meant to be read as a normal calendar-quarter label. The levels are reported after a reset and then used as reference levels during the next active period.
What this indicator does:
- Plots JPM collar levels directly on SPX.
- Shows the active quarter more clearly than older quarters.
- Allows users to display only the current active quarter, the last year, or all loaded historical quarters.
- Optionally shows distance from current SPX price to each active level in points, percent, or both.
- Includes alerts for first touch per quarter or every touch.
- Shows a warning on common S&P 500 proxies such as SPY, ES, US500, or SPX500.
- Stays silent on unrelated symbols.
- Shows an update warning only after the latest loaded collar period has ended.
What this indicator does not do:
- It does not generate buy or sell signals.
- It does not predict price direction.
- It does not define support or resistance.
- It does not claim that price must react at these levels.
- It does not backtest a strategy.
- It does not estimate probabilities.
These are reference levels only.
I use them as market structure context, not as trade instructions. A level can matter because large collars and option structures may become part of how traders frame risk, hedging, and positioning. That still does not mean price has to respect the level. Markets are not polite.
Recommended use:
Use this indicator to keep quarterly JPM collar reference levels visible while analyzing SPX price action, volatility, positioning, and broader market context.
The cleanest default view is “Last year”, which shows the active quarter plus recent historical context. Users who only want the current structure can switch to “Current only”.
Distance labels are optional and turned off by default to keep the chart clean.
Symbol note:
This script is designed for SPX. It intentionally avoids plotting the levels on S&P 500 proxies such as SPY, ES, US500, SPX500, VOO, or IVV, because those instruments trade at different prices and the raw SPX collar levels do not map directly without adjustment.
Manual update note:
The levels are hardcoded. They must be updated manually after each quarterly JPM collar reset. If the latest loaded period has ended, the script will show an update warning.
Settings section
Main settings:
Visible history
- Current only: shows only the active collar period.
- Last year: shows the active period plus recent historical quarters.
- All loaded: shows all hardcoded quarters available in the script.
Distance display
- Off: clean labels only.
- Percent: shows distance from current SPX price to the active levels in percent.
- Points: shows distance in SPX points.
- Points + Percent: shows both.
Label contrast
- Soft: cleaner chart, lower visual noise.
- Normal: easier to read.
- Strong: highest label visibility.
Alerts
- First touch per quarter: each level can trigger once during the active quarter.
- Every touch: alerts can trigger again when price touches a level again.
Release notes
Initial public version.
Includes manually updated JPM quarterly collar reference levels for SPX, with configurable visible history, optional distance labels, SPX-only symbol handling, and alert modes for level touches.
The script is open-source and intended as a clean reference tool, not a trading signal. Indicator

Range Detectorrange detector is built to identify real consolidation zones directly on the chart.
instead of marking every small pause as a range, the tool waits for price to remain contained between two boundaries for a minimum number of bars. the range must stay compact compared to volatility, avoid strong directional expansion, and remain valid until a confirmed breakout or structural widening occurs.
the goal is simple: help traders separate true sideways compression from normal market noise.
what the indicator detects
range detector searches for market areas where price is moving inside a controlled box instead of trending aggressively. a valid range is built from three main conditions:
price must stay contained between a top and bottom boundary
the height of the box must remain reasonable compared to atr
the structure must last long enough to confirm consolidation
once a range is active, the indicator displays:
top of the range
bottom of the range
midline equilibrium
range size classification
breakout markers
dashboard status
range size classification
each range is classified by height using atr units.
small range
medium range
large range
this helps understand whether the market is compressing tightly or building a wider consolidation structure. a tight range can be useful for breakout preparation, while a wider range can be useful for mean reversion, liquidity sweeps, and boundary reactions.
multi-timeframe detection
one of the most important features is the detection timeframe input.
by default, the detection timeframe is empty. this means the indicator uses the current chart timeframe.
for stronger structure, you can select a higher timeframe.
examples:
on a 5 minute chart, set detection timeframe to 1h to see larger intraday ranges
on a 15 minute chart, set detection timeframe to 4h to track stronger session structures
on a 1h chart, set detection timeframe to 1d to follow major daily compression zones
this is useful because a range detected on a higher timeframe is generally more important than a small range detected only on the chart timeframe.
when using mtf, the range engine runs directly on the selected detection timeframe. this means the boxes are not simply visual approximations from the lower timeframe. the range logic is calculated from the chosen timeframe structure.
how to use mtf correctly
for scalping, use a chart timeframe such as 1m, 3m, or 5m, then set the detection timeframe to 15m, 30m, or 1h.
for intraday trading, use a chart timeframe such as 5m, 15m, or 30m, then set the detection timeframe to 1h or 4h.
for swing trading, use a chart timeframe such as 1h or 4h, then set the detection timeframe to daily or weekly.
the higher the detection timeframe, the fewer ranges will appear, but the zones usually become more meaningful.
basic trading workflow
1. choose the chart timeframe
start with the timeframe you trade most often.
scalpers may use 1m to 5m.
intraday traders may use 15m to 1h.
swing traders may use 4h to daily.
2. set the detection timeframe
leave it empty for chart timeframe detection.
select a higher timeframe when you want cleaner and more structural ranges.
3. wait for an active range
when a range appears, price is currently moving inside a consolidation box. the top acts as upper range resistance, the bottom acts as lower range support, and the midline represents equilibrium.
4. study price behavior inside the box
near the top of the range, traders often watch for rejection, failed breakouts, or liquidity sweeps.
near the bottom of the range, traders often watch for absorption, failed breakdowns, or reversal behavior.
near the midline, price is usually less attractive because it is balanced between both sides.
5. wait for breakout confirmation
breakout markers appear only when price closes beyond the range boundary with the selected atr buffer.
a break above the range suggests upside expansion.
a break below the range suggests downside expansion.
the breakout buffer helps reduce false breaks by requiring extra distance beyond the range boundary.
main inputs explained
detection timeframe
selects the timeframe used to detect ranges. leave empty to use the current chart timeframe. use higher timeframes for cleaner structural ranges.
min consolidation bars
sets the minimum number of bars required before a range can be confirmed. higher values create fewer but stronger ranges. lower values make the tool more reactive.
reference atr length
controls the volatility reference used to evaluate range height and breakout buffer. a longer atr length gives a smoother volatility base.
max range height
defines the maximum allowed range height in atr units. if the box becomes too wide, the structure is no longer treated as a clean range.
breakout buffer
adds confirmation beyond the range boundary before a breakout is validated. increasing this value makes breakouts stricter.
small range threshold
defines the maximum atr height for a small range.
medium range threshold
defines the maximum atr height for a medium range. anything above this level is classified as large.
show small, medium, large
allows each range category to be shown or hidden independently.
show midline
displays the equilibrium level of the range.
show range labels
displays the range class and range height directly on the chart.
show breakout markers
displays breakout markers when price confirms an upside or downside break.
show dashboard
shows the live range dashboard.
dashboard position
moves the dashboard to any side or corner of the chart.
dashboard size
changes the text size of the dashboard.
range colors and opacity
each range category can be customized with its own color. fill opacity, border opacity, midline opacity, and label opacity can also be adjusted to match any chart style.
dashboard
the dashboard gives a fast reading of the current market state.
it shows:
active timeframe
current state
range height
top level
midline
bottom level
when no valid range is active, the dashboard shows that the market is trending or that no range is currently detected.
alerts
the indicator includes alerts for:
range started
range break up
range break down
these alerts can be used to monitor new compression zones and confirmed exits from consolidation.
example setups
scalping setup
chart timeframe: 5m
detection timeframe: 1h
min consolidation: 10 to 20 bars
breakout buffer: 0.20 to 0.35 atr
this setup keeps the chart reactive while using stronger higher timeframe structure.
intraday setup
chart timeframe: 15m
detection timeframe: 4h
min consolidation: 10 to 30 bars
breakout buffer: 0.25 to 0.50 atr
this setup is useful for session ranges and larger intraday breakouts.
swing setup
chart timeframe: 1h or 4h
detection timeframe: daily
min consolidation: 10 to 50 bars
breakout buffer: 0.35 to 0.75 atr
this setup focuses on major compression zones before larger directional moves.
practical interpretation
inside the range, the market is balanced.
above the range, buyers are attempting expansion.
below the range, sellers are attempting expansion.
the midline is the equilibrium zone. reactions near the top and bottom are usually more meaningful than signals in the middle.
range detector is not designed to predict direction by itself. it is designed to map consolidation, structure, compression, and breakout conditions so traders can build cleaner decisions around price behavior.
best used with:
market structure
volume analysis
session timing
liquidity sweeps
support and resistance
trend filters
risk management
risk note
no indicator guarantees a winning trade. always use risk management, wait for confirmation, and avoid trading during unclear market conditions.
Indicator

Indicator
