Auction Regime Atlas v1.0 # 🧭 Auction Regime Atlas v1.0
Auction Regime Atlas is a Pine Script v6 overlay indicator designed to visualize market acceptance, value migration, rejected auction areas, and contextual auction regimes directly on the chart.
❌ It is not a buy/sell signal tool.
❌ It is not a strategy.
❌ It is not an orderflow or liquidation-data replacement.
🎯 The goal is to help traders understand where price has been accepted, where value is forming, where price has moved away from value, and whether the current market context is balanced, transitional, displaced, or low quality.
---
## 💡 Core Idea
Markets often rotate around accepted value before moving into new auction areas.
Auction Regime Atlas maps that process by combining:
* price acceptance over a lookback window
* volume participation
* candle efficiency
* wick/rejection behavior
* higher-timeframe context
* regime classification
* distance from current value
📊 The result is a compact visual framework for understanding auction context without flooding the chart with signals.
---
## 🚀 Main Features
### 1. 🎯 Core Value Band
The Core Value Band highlights the price area where recent market activity shows the strongest acceptance.
It is calculated from a price-bin acceptance model using:
* time spent near price
* volume concentration
* close location
* wick/rejection behavior
⚠️ This band is meant as auction context, not as a mechanical support or resistance level.
---
### 2. 📏 Acceptance Edges
Upper and lower acceptance edges define the boundaries of the current accepted value area.
These edges help identify whether price is:
* inside accepted value
* above value
* below value
* far away from value
---
### 3. 🔄 Auction Regime
The dashboard shows a simplified auction regime state.
Current v1.0 regime states include:
* Neutral
* Balance
* Migration Up
* Migration Down
* Failed Auction
🛡️ The regime engine uses confirmed-bar logic and cooldown handling to avoid excessive state flipping.
---
### 4. 🌍 HTF Context
The indicator includes a higher-timeframe context layer based on confirmed higher-timeframe data.
ℹ️ This is used only as context and does not create entry or exit signals.
---
### 5. 📍 Location Awareness
The Location field shows where current price is relative to the accepted value area:
* Inside Value
* Above Value
* Below Value
* Away From Value
* No Value
When price is far away from the value zone, the visual relevance of the Core Band is reduced so the zone does not appear like an active trade signal.
---
### 6. 🎨 Visual Modes
Auction Regime Atlas includes three modes:
#### 🎯 Focus Mode
A clean minimal view for live chart reading.
Shows:
* Core Value Band
* Acceptance Edges
* compact dashboard
* no debug rows
#### ⚖️ Balanced Mode
Adds additional context zones while keeping the chart clean.
Shows:
* Core Value Band
* Acceptance Edges
* transitional/rejection context
* vacuum/context areas where applicable
#### 🔬 Research Mode
Adds validation and diagnostic rows for development, review, and deeper inspection.
Shows:
* object count
* validation status
* pending state information
* alert condition status
---
## 📋 Dashboard Fields
The compact dashboard includes:
* Mode
* Regime
* HTF Context
* Core Value Band
* Acceptance Score
* Location
* Activity
* Context Quality
🔬 Research Mode can additionally show:
* Validation Status
* Object Count
* State Debug
* Alert Debug
---
## 🔔 Alerts
The indicator includes four confirmed-bar alert conditions:
* New Auction Regime
* Value Migration Started
* Acceptance Edge Broken
* Failed Auction Detected
⚠️ Alerts are context alerts only.
They are not trade entry or exit instructions.
---
## 🛠️ Suggested Use
Auction Regime Atlas is best used as a context layer.
Useful questions:
* Is price currently inside accepted value?
* Is price moving away from value?
* Is the market balanced or transitioning?
* Did price leave value without building new acceptance?
* Is the current move happening near or far away from accepted value?
* Does higher-timeframe context support or contradict the current auction?
✅ Recommended starting use:
* Focus Mode for clean chart reading
* Balanced Mode for broader context
* Research Mode only for diagnostics and validation
---
## 📖 Practical Workflow
A simple way to interpret auction conditions is to combine Regime, Location Awareness, and HTF Context into a structured process.
### 1️⃣ Step 1: Start With HTF Context
First identify the higher-timeframe backdrop shown in the dashboard.
Ask:
* Is the higher timeframe supportive of directional movement?
* Is it balanced or already migrating?
* Does it align with the current chart or create conflict?
🌍 HTF Context provides the broader auction environment in which lower-timeframe activity is occurring.
### 2️⃣ Step 2: Check Current Location
Next evaluate where price is relative to accepted value.
* Inside Value suggests ongoing acceptance and rotational behavior.
* Above Value or Below Value suggests price is testing outside accepted value.
* Away From Value suggests displacement from the current auction area.
* No Value suggests acceptance has not yet formed clearly.
📍 Location helps determine whether price is interacting with value or operating away from it.
### 3️⃣ Step 3: Read the Active Regime
Then assess the current Auction Regime state.
* Balance implies acceptance and rotational trade around value.
* Migration Up or Migration Down implies value is attempting to relocate.
* Failed Auction suggests an attempted move has not established acceptance.
* Neutral indicates limited directional auction information.
🔄 The regime describes the current phase of the auction process rather than predicting the next move.
### 4️⃣ Step 4: Compare Regime and Location
The most useful information often comes from the relationship between regime and location.
Examples:
* Balance + Inside Value often reflects stable acceptance.
* Migration Up + Above Value may indicate value expansion higher.
* Migration Down + Below Value may indicate value expansion lower.
* Failed Auction + Away From Value may indicate rejection of a recent auction attempt.
📊 This comparison helps identify whether price behavior is consistent with the current auction state.
### 5️⃣ Step 5: Evaluate Market State Transitions
Watch for changes between regimes while monitoring location relative to value.
Common transitions include:
* Balance → Migration Up
* Balance → Migration Down
* Migration → Failed Auction
* Failed Auction → Balance
🔍 A transition becomes more meaningful when it is supported by location changes and aligned with HTF Context.
### 6️⃣ Step 6: Build a Contextual Narrative
Rather than treating any single field as a signal, combine all three layers:
1. Determine the higher-timeframe backdrop.
2. Identify where price is relative to value.
3. Assess the active auction regime.
4. Monitor whether the relationship between those factors is strengthening or weakening.
🧠 This workflow helps traders interpret whether the market is accepting value, rejecting value, migrating toward a new value area, or transitioning between auction states.
---
## 📈 Recommended Markets and Timeframes
The indicator is designed for liquid markets, especially:
* crypto perpetuals
* major crypto spot markets
* liquid index or futures markets
* high-volume intraday instruments
⏱️ Suggested timeframes:
* 5m
* 15m
* 1h for higher timeframe context
---
## ⚠️ Important Limitations
Auction Regime Atlas does not use true orderflow, footprint, delta, liquidation, or exchange-level positioning data.
All calculations are based on OHLCV data available in Pine Script.
❌ The indicator does not predict price direction.
❌ It does not guarantee reversals, continuations, or breakouts.
❌ It does not provide financial advice.
📌 The visual zones should be interpreted as auction context, not as automatic trade levels.
---
## 🛡️ Non-Repainting Design
The indicator is designed with confirmed-bar logic and non-repainting higher-timeframe requests.
Higher-timeframe context uses confirmed data and avoids lookahead behavior.
🔧 Visuals are updated with a stable object lifecycle to reduce flicker and avoid uncontrolled object creation.
---
## 📝 Release Notes — v1.0
🎉 Initial public release.
✅ Included:
* Acceptance Map Engine
* Core Value Band
* Acceptance Edges
* Minimal Auction Regime Engine
* HTF Context
* Location Awareness
* Focus / Balanced / Research modes
* Compact dashboard
* Confirmed-bar alerts
* Validation diagnostics in Research Mode
* Controlled object budget
* Non-repainting architecture
❌ Not included:
* strategy mode
* backtesting
* buy/sell signals
* automated entries or exits
* orderflow claims
* delta claims
* liquidation data
* machine learning
* multi-symbol logic
Indicator

Friction Map [NovaLens]Friction Map reads price structure the way a floor trader reads a room: it finds the price shelves where the market actually spent time, marks which ones are still live versus which the market has abandoned, and measures how much clear air you have to the nearest live shelf in each direction. It is a map of where structure is, how alive it is, and where the open space sits - not a buy or sell signal.
Most support/resistance tools draw static lines and leave them there forever, so the chart fills with levels that stopped mattering 300 bars ago. Friction Map keeps the same structure honest over time: every shelf carries a freshness that decays once the market stops trading at it, so the orange (live) shelves are the ones price has interacted with recently and the gray (fading) ones visibly age out.
═════════════════════════════════════════
◈ HOW TO READ IT
Friction Map draws directly on the price chart. There are two views of the same structure.
The shelves.
Orange = LIVE - price traded here recently; this is the current structure context.
Gray = FADING - price has not returned in a while; the market has moved on and the shelf dims the longer it stays untouched.
Faint dotted = BROKEN - price closed through it; an x-cross marks the exact bar it failed, and the dotted tail is kept so you can still see it existed.
KEY LEVEL - the strongest live shelf on the map (boldest line, brightest tag). The eye's anchor.
The room boxes. On the right edge, a box runs from current price to the nearest LIVE shelf above and below, with a label that reads the distance as a near-to-far range in ATR, for example "1 to 2.1 ATR" - meaning roughly 1 ATR of clear air, then the shelf running out to 2.1 ATR. ATR units make the read comparable on any symbol and timeframe. Teal means clear room; orange means a live shelf sits within about 1 ATR. When there is no live shelf in a direction the label reads "open air".
The breakout badge. On a confirmed close that breaks the recent range, and only at the extremes, the map prints a one-word context badge: CLEAR RUNWAY when there is no live shelf within the runway band ahead, or WALLED (with the distance) when a live shelf stands within about 1 ATR of the path. Only one CLEAR RUNWAY prints per clear-air leg - no repeats while price keeps running in the same open space, and it resets once price pulls back into a shelf. It is breakout context, never a direction call.
The info panel. A compact info panel compiles the read: the structure memory in bars; Room above and Room below as ATR ranges; Price now (open air, on a live shelf, or on a fading shelf); Last breakout (the most recent badge and how many bars ago); Shelves (how many live versus fading); and a one-line Reading takeaway.
The two views (Level view).
Anchored (default): each shelf line starts at its origin diamond, shows its current live (orange) / fading (gray) state from that origin, and marks the x-cross where it broke. An anchored structure story - where structure formed, how it reads now, and where it broke if broken - not a full per-era ledger.
Zones : every live shelf drawn as a clean full-width band straight across the chart, like a supply/demand map. Instant "where are my levels right now". No origin/break markers; broken shelves drop off.
═════════════════════════════════════════
◉ HOW IT WORKS
The density field. Across the lookback window, the indicator measures how often each price level sat inside the high-low range of the lookback bars - a time-at-price-style structure read. For every bar it asks which price levels the bar's high-low range covered, and accumulates that into a density field using a difference-array method (O(L+bins) per bar) so the script stays fast even on long charts and heavy lookbacks. Price levels where many bars overlapped are dense; levels price passed through quickly are thin.
Where shelves are born. A shelf forms at a density peak whose strength clears a RELATIVE floor - it must be at least a set fraction of the strongest peak currently on the map. That relative test is self-calibrating: it adapts to each asset and regime instead of relying on a fixed tick count, so the same indicator is designed to read BTC, SPY, EURUSD and gold without constant retuning. A small absolute floor screens out noise on near-empty windows.
Data-driven width. Each shelf's band is not a fixed width. It expands outward from the peak for as long as the neighbouring density holds at least half the peak value, then is capped to a readable range in ATR units. A wide consolidation earns a wide shelf; a tight one stays thin.
Aliveness (freshness). Every shelf carries a freshness equal to an exponential decay of the bars since the band was last traded (2^(-barsSinceTouch / halfLife)). Freshness is 1 while price is in the band and halves every half-life once price leaves. Above the live threshold a shelf renders LIVE (orange); below it the shelf renders FADING (gray) and dims further until it drops off the map.
Causal lifecycle. Shelves are born on confirmed bars and never re-placed. A shelf becomes BROKEN only when price, after arming on one side with real separation, closes through to the other side - the break bar is frozen and the line continues as a faint dotted tail. The ORIGIN anchor (the earliest bar within the lookback where price actually traded that level) and the BREAK anchor are both set once and never rewritten. That frozen history is the trust element: the map cannot quietly redraw the past to look right.
═════════════════════════════════════════
✦ HOW WE USE IT
A common read on a liquid crypto or index chart, default memory: price is pushing toward the top of its recent range. The panel Room above reads "0.4 to 1.6 ATR" in orange - there is a live shelf close overhead, so the map reads the upside as walled in the near term. Room below reads "open air" - nothing live underneath. Price is sitting in open air between an overhead live shelf and abandoned structure far below.
Now price closes through the recent high. Because the nearest live shelf overhead was inside the runway band, the map prints WALLED with the distance, not CLEAR RUNWAY - the break is into immediate structure, not open space. The badge does not say the break fails; it says there is a live shelf standing in the path, which is the context a discretionary trader wants before deciding whether the move has room.
Flip the situation: a confirmed break with Room ahead reading "open air" prints CLEAR RUNWAY . In our testing, clear-runway breakouts travelled further on average than walled ones (the effect was modest and weakest on rates). That is an observation about context, not a guarantee about the next bar.
The point of the map is the same in every case: see where the live structure is, see how much clear air you have to it in ATR, and read the breakout against that structure instead of against a static line.
═════════════════════════════════════════
❖ OTHER APPLICATIONS
Trade-location context : read entries against the nearest live shelf rather than a static S/R line - the orange shelves are the structure price has interacted with most recently.
Breakout context : CLEAR RUNWAY versus WALLED on a confirmed break, as a read on whether there is open space ahead or a live shelf in the path.
Stop and target context : the room ranges in ATR give a structure-aware sense of where the nearest live shelves sit above and below, for evaluating whether planned stops or targets sit near recent structure or out in open air, instead of at round numbers.
Chop filter : many overlapping live shelves with price standing on one ("on a live shelf" in the panel) is a congested read; sustained open air is cleaner trend space.
Structure classifier : use the Shelves row (live versus fading) and Room rows as a top-down structure filter for any external trade plan, independent of the badges.
Alert-driven workflow : subscribe to the clear-runway and walled breakout alerts and check the chart only when a confirmed breakout actually changes the structural picture.
═════════════════════════════════════════
⚙ GETTING STARTED
Friction Map ships with pre-tuned memory profiles plus a Custom override. Pick a memory and start reading the map - the default Auto setting matches the chart timeframe for you.
Structure memory:
Auto (match timeframe) (default): reads the chart - 30-minute and faster get Short, everything slower gets Medium.
Short (60 bars) : about one trading day on 5m, a week on 1H. Faster-moving map.
Medium (120 bars) : about a month on 1H, six months on 1D. Balanced.
Long (240 bars) : slow, full-cycle structure.
Custom : unlocks the Advanced group for full manual control.
Core display:
Level view : Anchored (causal story, default) or Zones (clean full-width bands).
Structure shelves : master toggle for the shelf lines. On by default. Under it, three per-state toggles let you choose which states draw:
Live shelves (orange) , Fading shelves (gray) , Broken shelves (dotted) - all on by default. Turn Broken off to declutter when a level has rebuilt live on top of old broken tails.
Room boxes + labels : the price-to-nearest-live-shelf boxes and ATR range labels. On by default.
Breakout badge : CLEAR RUNWAY / WALLED context badges on confirmed breakouts. On by default.
Shelf state tags : a small LIVE / FADING / KEY LEVEL tag at the right end of each shelf. On by default; turn off for a cleaner chart once the colours are familiar.
Show real shelf width : off by default (live shelves get a thin subtle halo). On draws each live shelf at its true data-driven width as a wider transparent band.
Info panel : pick where the summary panel anchors - Top Right (default), Top Left, Bottom Right, Bottom Left, Middle Right, or Off to hide it.
Dark theme panel : panel colours for dark charts; turn off on a light background.
Level reach (bars) : how far back the shelf lines and halos draw, so old structure does not stretch across the whole chart.
Appearance / Colours (4 pickers):
Live shelf, Fading shelf, Clear air, Broken shelf - each on its own line. The shelf lines, halos, room boxes, tags and badges all reference these inputs, so the palette adapts for colour-blind, light-mode or brand themes without forking the script.
Advanced (Memory = Custom only): Custom opens on the same defaults as the Medium profile (not a live copy of whichever profile you are currently on), so coming from Medium the switch is seamless; coming from Short or Long the map steps to that baseline first. Then every dial below is yours.
Lookback (bars) : structure memory in bars. Larger = more history considered, slower-moving map.
Freshness half-life : how fast a shelf fades once the market stops trading at it. After this many bars untouched a shelf is at half freshness.
Breakout lookback : a breakout is a confirmed close that newly breaks beyond the prior N-bar high or low (a fresh cross, so a sustained trend does not re-fire it every bar).
Min strength (vs strongest) : a shelf is born only if its density is at least this fraction of the strongest peak on the map. Raise for fewer, stronger shelves.
Merge distance (ATR) : shelf candidates closer than this to an existing shelf refresh it instead of spawning a duplicate.
Max shelves : cap on simultaneously tracked (non-broken) shelves; the weakest is pruned when a stronger one is born.
Live threshold : freshness above this renders a shelf LIVE (orange).
Runway band (ATR) : how far ahead of a breakout to scan for live shelves when deciding CLEAR RUNWAY versus WALLED.
═════════════════════════════════════════
△ LIMITATIONS
Descriptive, not predictive : Friction Map shows where price spent time and how alive that structure is. It makes no claim that a shelf will hold or that a breakout will follow through. There is no buy or sell signal anywhere in the tool.
Time-at-price, not volume : the density field is built from how much of the traded range sat at each level, not from volume. That keeps the read universally stable across every asset and data feed (crypto volume is fractured by exchange, FX volume is a tick proxy), but it does not weight a busy bar more than a quiet one.
Backward-looking by construction : in fast moves and gaps, room can jump to "open air" quickly as price leaps into untraded territory. That is accurate but may not persist.
Room measures to LIVE shelves only : the room ranges and the badge ignore fading shelves on purpose - the room read focuses on the current (orange) structure. A fading shelf still shows on the chart as a gray line; it just is not counted as room.
The breakout effect is context, not edge : in testing, clear-runway breakouts travelled further than walled ones on average, but the difference was modest and weakest on rates. Treat the badge as context to read alongside your own plan, not as a validated signal.
Recency fade : a structurally important level that has not been traded in a long time will fade from the map even if you still consider it important. Lengthen the memory or half-life if you want older structure to persist.
═════════════════════════════════════════
🔔 ALERTS
Two alert conditions are built in so you can monitor structure without watching every bar:
Clear-runway breakout : a confirmed breakout into clear air (no live shelf within the runway band ahead).
Walled breakout : a confirmed breakout into nearby live structure (a live shelf within about 1 ATR of the path).
Both fire on bar close (gated on `barstate.isconfirmed`) - no intrabar repaint. The indicator also emits a richer alert with a pure-JSON payload for routing to your own automation or webhook stack. The payload carries the brand, the indicator name, the event, the direction, the up and down clearance in ATR, the current price, the ticker, the timeframe and the bar time (the clearance fields are sent as text and read "open" when there is no live shelf that way). Pick ONE mechanism per event - the dropdown alert condition for a simple notification, or the JSON alert for a webhook - so you do not get duplicate notifications. Badges and alerts fire even when the on-chart badge is toggled off; alerts should not require chart clutter.
═════════════════════════════════════════
⌁ NOTES
Built on a containment-count density field (time-at-price), with data-driven band width, exponential freshness decay, and a causal frozen lifecycle (origin and break anchors set once and never moved).
Method lineage: the density field is a time-at-price construction, in the tradition of Market Profile (J. Peter Steidlmayer, popularised at the CBOT in the 1980s), which reads structure from where the market spent time rather than from volume. Friction Map adds the freshness decay and the causal live/fading/broken lifecycle on top of that classical time-at-price idea.
Repaint: non-repainting on confirmed bars. Births, breaks, clearance, badges and alerts are computed on bar close; the current bar updates in real time. Live/fading colour reflects current state, so a re-traded faded shelf can re-colour live - no past origin or break anchor is ever changed.
Original construction. The engine is built from first principles for this tool; there is no external reference implementation, so no validation-correlation claim is made.
Open-source under MPL 2.0. Free to use, fork, study.
NovaLens Indicator

Structure Break Chain (SBC) [SharpStrat]Structure Break Chain (SBC)
Every trader has been there. You're in a trade, the trend looks healthy, and then suddenly price flips on you. You had no warning. You held too long. The trend was already breaking down you just couldn't see it clearly enough.
That's exactly what Structure Break Chain was built to solve.
SBC is a market structure tracking tool that reads how price is actually moving swing by swing, break by break and builds a real-time picture of trend health. Not with a smoothed line or a lagging oscillator, but by watching the raw structure of the market, the sequence of higher highs and lower lows that every trend is made of.
What is a Break of Structure (BOS)?
In any uptrend, price makes a series of higher highs. Every time price closes above a previous swing high, that's a Break of Structure confirmation that the bull trend is still alive and continuing. In a downtrend, it's the opposite: price keeps breaking below previous swing lows.
SBC detects every single one of these breaks automatically and marks them on your chart with a labeled arrow green for bullish, red for bearish. No manual drawing. No guessing.
What is a CHoCH (Change of Character)?
A CHoCH fires when price breaks structure in the opposite direction to the current trend for the first time. In a bull trend, that means price has just broken below a prior swing low. That single event doesn't confirm a full reversal but it's the earliest possible warning that something has changed in the market's behavior.
Most indicators won't catch this until several bars later. SBC marks it the moment it happens, in yellow so it stands out from the regular BOS signals as shown in the image below.
The Chain Counter
Here's what makes SBC different from a standard structure indicator.
Every time a BOS happens in the same direction without interruption, the chain count goes up by 1. When a CHoCH happens, the chain resets to 1 and starts counting in the new direction.
A chain of 4 means price has broken structure 4 times in a row in the same direction. That's a mature, committed trend. A chain of 1 after a CHoCH means the new trend is unproven and fragile you should be cautious about entries.
A live label on the right edge of your chart shows the current chain count in real time as shown in image above. It updates every bar.
Break Quality Score
When price barely scrapes past a swing level by a few ticks on low momentum, that's a very different signal from a strong, high-volume candle closing well beyond the level.
SBC scores every break as STRONG, NORMAL, or WEAK based on two factors:
How far price closed beyond the broken level (relative to ATR)
How large and decisive the breaking candle's body was
STRONG breaks have brighter, more vivid label colors. WEAK breaks are dimmed and semi-transparent as shown in image below. This lets you visually filter the breaks that matter from the noise.
Failed BOS
Sometimes price breaks a level, you get excited, and then it immediately reverses back inside. That's a trap and it's one of the most common ways retail traders get hurt.
SBC watches every confirmed break for the next 1-3 bars (adjustable). If price closes back inside the broken level within that window, the indicator marks it as a FAILED break in purple as shown in image above. This is your earliest possible warning that the breakout wasn't real, often appearing few bars before the CHoCH confirms the reversal.
Using Failed BOS + CHoCH together gives you two layers of confirmation before you act on a potential trend change.
Pullback Entry Zones
After every confirmed BOS, SBC draws a semi-transparent box between the broken level and the previous swing reference as shown in image below. This is the area where price is most likely to pull back before continuing in the trend direction, the optimal entry zone.
The box extends forward by a user defined number of bars and disappears automatically when a new BOS or CHoCH occurs.
Multi-Timeframe Overlay
You can optionally enable a higher timeframe (HTF) structure overlay. When turned on, SBC also tracks BOS and CHoCH events from your chosen higher timeframe and plots them directly on your current chart as dimmed labels as shown in image above, so you always know what the bigger picture is doing.
Note: HTF labels are designed to appear only once per HTF bar, not on every sub-bar. So on a 15-minute chart with a 1-hour HTF, you'll see the HTF label appear once on the first 15-minute candle of that hour not repeated across all four candles.
The dashboard also shows whether your current timeframe trend and the HTF trend are aligned or in conflict. Trading a bull BOS on the 15-minute chart while the 1-hour is bearish is a generally riskier than when both are pointing in same direction.
The Dashboard Panel
A compact information table sits in the corner of your chart (position is adjustable). It shows everything at a glance without you having to read the price action:
Current trend direction (Bullish / Bearish / Neutral)
Live chain count
Quality of the last break (STRONG / NORMAL / WEAK)
HTF direction and alignment status
HTF chain count
Maximum chain ever recorded on this chart
Average chain length across all completed trends
Total BOS count
Total CHoCH count
The chain count in the table turns yellow when it reaches your milestone number (customizable in settings) a visual nudge that the trend is mature.
How to use SBC
Wait for a CHoCH, this is your signal that the previous trend is over and a new one may be starting. Don't trade it immediately.
Watch the first BOS in the new direction if it's STRONG quality, that's confirmation the new trend has real momentum behind it.
Look for a pullback into the entry zone, the green or red dashed box SBC draws is your optimal entry area.
Check the chain count, if you're entering at chain count 1 you're probably early. If you're entering at 6 or 7 the trend is probably mature and a reversal is likely so adjust your expectations accordingly.
Check HTF alignment, if both your timeframe and the higher timeframe are showing the same direction, the trade has more conviction behind it.
Watch for Failed BOS and CHoCH these are your exit warnings. A Failed BOS followed by a CHoCH is a reliable signal to close or tighten your stop.
Settings guide
Structure settings
Pivot Length - how many bars left and right are needed to confirm a swing high or low. Higher values = fewer but cleaner pivots.
BOS Confirmation - "Close" waits for a candle to close beyond the level (safer, recommended). "High/Low" triggers on the wick (faster but noisier).
Failed BOS Window - how many bars after a break to watch for failure.
Show Swing Lines - draws dashed horizontal lines at each detected pivot.
Show Pullback Entry Zones - draws the dashed box after each BOS.
Zone Extend Right - how far the zone box extends to the right in bars.
Shade Trend Background - adds a background color based on current trend direction.
Visual settings
Full color customization for Bull, Bear, CHoCH, Failed BOS, and Swing Lines.
Toggle quality labels, chain bubble, and dashboard panel on/off.
Choose dashboard position (Top Right / Top Left / Bottom Right / Bottom Left).
Adjust label size.
Multi-timeframe settings
Enable or disable HTF overlay.
Choose any HTF timeframe.
Adjust HTF label transparency.
Why this is better than basic Structure break indicators
Most structure indicators on PulseWire detect BOS and CHoCH but stop there. SBC adds three things:
A chain counter that tracks consecutive structural breaks turning raw signals into a measure of trend maturity and health over time.
A break quality scoring system that grades every break on two factors so you aren't chasing noise.
A Failed BOS detector that watches the confirmed break for the next few bars and warns you before the CHoCH even happens giving you a head start that most traders don't have.
Note - Works on all markets and timeframes. Stocks, forex, crypto, indices, futures etc, if it has candles SBC probably works on it. The pivot length and ATR based quality scoring adapt automatically to the volatility of whatever asset you apply it to. Indicator

Elaris Absorption Zones ProElaris Absorption Zones Pro
Elaris Absorption Zones Pro is an advanced price-action and volume analysis indicator designed to identify potential absorption events where aggressive market orders are absorbed by opposing passive liquidity.
The indicator focuses on situations where price attempts to break an important level but fails to continue, suggesting that significant limit orders may be absorbing the incoming buying or selling pressure.
Unlike traditional breakout indicators that look for continuation, this tool is designed to highlight failed auctions, rejection events, and potential liquidity absorption zones that may lead to reversals, pullbacks, or reduced directional momentum.
---
What Is Absorption?
Absorption occurs when aggressive participants repeatedly attempt to push price through a level using market orders, but opposing limit orders absorb that pressure and prevent further movement.
Examples include:
• Buyers aggressively pushing above resistance but failing to achieve continuation.
• Sellers aggressively pushing below support but failing to achieve continuation.
• Large rejection wicks appearing after a breakout attempt.
• High volume with limited price progress (Effort vs Result imbalance).
These conditions can indicate the presence of significant liquidity providers defending a price area.
---
How The Indicator Works
The indicator combines multiple confirmation layers:
Market Structure Analysis
The script monitors:
• Confirmed swing highs and swing lows
• Recent trading ranges
• Failed breakout attempts
Price must first attempt to break an important structural level before absorption conditions can be evaluated.
Rejection Analysis
The indicator evaluates:
• Upper wick size
• Lower wick size
• Body-to-range relationship
Large rejection wicks combined with small candle bodies may indicate strong opposing liquidity.
Volume Confirmation
Volume is evaluated using:
• Relative volume
• Volume moving averages
• Optional volume Z-score analysis
This helps identify situations where participation is elevated compared to normal market activity.
Effort vs Result Model
One of the core components of the indicator is Effort vs Result analysis.
High volume combined with poor directional progress can indicate that incoming orders are being absorbed rather than successfully moving the market.
Absorption Scoring
Every detected signal receives a strength score based on:
• Rejection quality
• Relative volume
• Candle efficiency
Higher scores generally indicate stronger absorption characteristics.
---
Features
✔ Bullish absorption detection
✔ Bearish absorption detection
✔ Failed breakout recognition
✔ Confirmed swing structure analysis
✔ Range breakout absorption detection
✔ Relative volume filters
✔ Volume Z-score filtering
✔ Effort vs Result analysis
✔ Absorption strength scoring
✔ Optional absorption zones
✔ Zone retest detection
✔ Dashboard with live metrics
✔ Alert conditions
✔ Non-repainting confirmation mode
---
Bullish Absorption
Bullish absorption may occur when:
1. Price breaks below support.
2. Sellers attempt continuation.
3. Price quickly returns above the level.
4. A strong lower rejection wick forms.
5. Volume confirms elevated participation.
This may suggest that passive buyers absorbed the selling pressure.
---
Bearish Absorption
Bearish absorption may occur when:
1. Price breaks above resistance.
2. Buyers attempt continuation.
3. Price closes back below the level.
4. A strong upper rejection wick forms.
5. Volume confirms elevated participation.
This may suggest that passive sellers absorbed the buying pressure.
---
How To Use
Many traders use absorption signals as:
• Early reversal warnings
• Liquidity sweep confirmations
• Support and resistance confirmation
• Market structure confirmation
• Trade management tools
For best results, consider combining absorption signals with:
• Trend analysis
• Market structure
• Higher timeframe context
• Risk management rules
• Additional confirmation tools
---
Non-Repainting
When "Confirm Only After Candle Close" is enabled, signals are generated only after a candle has fully closed.
Confirmed swing levels are based on completed pivot structures.
This helps reduce signal instability and prevents intrabar repainting behavior.
---
Important Notes
This indicator does not use Level II, order book, footprint, or exchange matching engine data.
Because PulseWire Pine Script does not have direct access to actual market order flow, absorption is estimated using a combination of price action, rejection behavior, volume analysis, and structural breakout failure characteristics.
As with all trading tools, signals should be used as part of a complete trading plan and not as standalone buy or sell recommendations.
Indicator

ICT Confluence Framework[BullByte]ICT Confluence Framework is a structural price-action engine that monitors the chart for five independent ICT-style behaviors and fires a directional setup only when several of them align inside a short structural window. Designed for intraday traders on 1m–15m charts in crypto, indices, and futures, with an auto-adapter that rescales every meaningful lookback to the chart timeframe.
Most ICT tools draw one element - order blocks, liquidity pools, BOS lines - and leave the trader to combine them mentally. This framework does the combining, scores the result against the current market regime and volatility phase, and prints one clean setup with an Entry, two Reference Levels, and an Invalidation level. The chart stays focused on what is currently relevant - no permanent boxes, no arrows on every candle, no flashing icons.
WHY THIS IS NOT A MASHUP
No public indicator is imported, wrapped, or re-skinned. Every detector is written from first principles against raw OHLCV. The five detectors share four custom layers that no single public indicator provides:
- A common confluence scoring layer with adaptive per-pattern weighting
- A regime classifier based on path efficiency
- A volatility-phase filter based on rolling ATR percentile rank
- A signal lifecycle manager with deterministic outcome resolution
The originality is in how five orthogonal behaviors are unified into one decision - not in the behaviors themselves.
THE FIVE BEHAVIORS MONITORED
1. Liquidity Sweep + Reclaim
Price violates a recent swing extreme - taking out resting stops - then closes back inside the prior range within a short window. The classic stop-hunt-then-reverse footprint.
2. Stopping Volume
A high-volume bar at a local extreme that closes with a strong rejection wick. Marks a level where aggressive flow was absorbed by passive flow.
3. Range Compression to Expansion
A bar that is the narrowest of its recent window is immediately followed by an expansion bar of meaningful size. A bullish expansion contributes to a bullish setup; a bearish expansion to a bearish one.
4. Break of Structure (BOS)
A close beyond the last confirmed pivot high or low. The script uses 3-bar right-confirmed pivots, so BOS prints with structural lag by design - this removes false breaks.
5. Order Block Mitigation
Price returns to the last opposing candle preceding a strong impulse, wicks into it, and closes back outside the zone.
Each behavior is detected independently against raw price and volume.
WHY THESE FIVE
At structural turning points markets do a small number of distinct things: they trap traders (sweep), they absorb flow (stopping volume), they release energy (compression-expansion), they confirm intent (BOS), and they retest origin (order block). When two or more of these align within the same structural window on the same side, the setup quality is materially higher than any one of them in isolation.
WHAT MAKES THIS DIFFERENT
Signals are stable. Detection and signal arming occur only on confirmed bar close. Once a setup prints, it does not move, redraw, or vanish on the next tick.
The script adapts to your chart. Every pattern carries a rolling reliability score calculated from its own follow-through history on the instrument and timeframe you are viewing. Follow-through is measured as maximum favorable excursion in ATR multiples over a configurable evaluation window. Patterns that have been working get more weight; patterns that have been failing get less, bounded by a user-set floor so no pattern is fully silenced.
Market regime is respected. An efficiency ratio (net displacement divided by path length) classifies the market as Trend Up, Trend Down, Range, Volatile, or Neutral. Inside this classification, BOS in a Range is soft-weighted to 0.4x and Expansion in a Volatile regime is soft-weighted to 0.5x. Counter-trend setups inside a strong trend are weighted down to 0.5x but still allowed.
Volatility phase aware. The current ATR's percentile rank classifies the bar as Quiet, Normal, or Active. Active phase tightens the required pattern count by one (capped at five). Quiet and Normal use the user's setting unchanged.
Confluence decay. A residual opposing score decays linearly by 1.0 per bar with no fresh pattern activity, so a stale opposing cluster cannot block a fresh signal indefinitely. The decayed value is also reset to zero on trade closure so the post-cooldown chart starts clean.
The chart stays clean. While no trade is active, the Hunting Layer shows what the script is monitoring. The moment a signal fires, every hunting visual that did not contribute to the signal and is not contextually inside the trade's expected path is erased. Contributors and contextual zones are recolored to the signal's direction and promoted into permanent history.
CHART EXAMPLE
1.ETH/USD 15m: Bullish Alignment: Expansion + BOS. Following a sharp bearish leg into a session low near 08:00, price entered a tight compression range between approximately 10:30 and 12:00. An expansion bar then broke above the last confirmed swing high (the LH pivot at ~11:00), firing the Compression-to-Expansion and Break of Structure detectors simultaneously. The framework printed a Bullish Alignment at 2036.60 with Invalidation at 2022.77. The market has advanced through Reference Level 1 (2050.43) and is approaching Reference Level 2 (2064.27).
2.ETH/USD 15m: Bullish High-Confluence: Sweep + BOS + OB. During a Range regime under Active volatility phase (which tightened the confluence requirement to three patterns), price swept the sellside liquidity at approximately 10:30 below a confirmed swing low. After consolidation, the entry bar at approximately 13:30 mitigated a bullish Order Block and broke above the local pivot. Three patterns aligned at signal close, firing a Bullish High-Confluence setup at 2118.34 with Invalidation at 2097.19. The market is currently advancing toward Reference Level 1 (2139.49) and Reference Level 2 (2160.64
3.ETH/USD 15m: Bearish Alignment: StopVol + BOS. Following a multi-hour consolidation between approximately 10:00 and 13:00 near the 2115–2125 area, price rejected the consolidation high with a high-volume bar at approximately 13:00, then broke below the local pivot. Stopping Volume and Break of Structure aligned on the same bar in a Volatile regime, firing a Bearish Alignment at 2110.89 with Invalidation at 2133.24. The setup is currently in progress, advancing toward Reference Level 1 (2088.54) and Reference Level 2 (2066.18), with a large sellside liquidity pool sitting in the path.
HOW TO READ THE OUTPUT
When a setup fires you will see four horizontal levels with right-side labels:
ENTRY (solid line, signal-direction color)
The closing price of the signal bar.
REFERENCE LEVEL 1 (dashed line, reference color)
Placed at 1R by default. Informational only - the setup does not close here. Useful for partial-exit planning or scaling.
REFERENCE LEVEL 2 (dashed line, reference color)
Placed at 2R by default. Reaching this level closes the setup as a success.
INVALIDATION (dotted line, invalidation color)
Placed at 3 ATR from entry by default. Reaching this level closes the setup as a failure.
Outcome and historical record
The setup closes when either Reference Level 2 or Invalidation is reached intrabar. Outcome is detected on the bar's high/low. When a single bar's range spans both levels, the setup closes on that bar; the script does not assume intrabar order, so the user should treat such ambiguous closures cautiously when reviewing historical results.
When the trade closes, right-side labels and connectors are removed and the four lines freeze at the closure bar. The signal label at the firing bar remains as a permanent record. To keep object counts within PulseWire limits on long histories, the script retains the most recent 400 signal labels and the most recent 400 closed-trade lines; older items are recycled automatically.
COOLDOWN
After any trade closes, the script waits a configurable number of bars before arming the next setup. Prevents back-to-back firing on noisy moves.
THE DASHBOARD
A 9-row status panel reports:
Regime - Trend Up, Trend Down, Range, Volatile, or Neutral.
Phase - Quiet, Normal, or Active.
Pattern rows - for each of the five behaviors: rolling Activity count and a Low / Medium / High Emphasis rating based on recent follow-through reliability on this chart.
Patterns Required - the integer minimum that must align for a signal to fire on the current bar. Equal to your "Minimum Patterns Required" input in Quiet and Normal phases; tightened by one (capped at five) in Active phase.
Status - Ready, Cooldown, or Signal Active.
THE HUNTING LAYER
Drawn while no trade is active and the script is hunting for confluence:
Buyside Liquidity zones - blue boxes above swing highs.
Sellside Liquidity zones - teal boxes below swing lows.
Bullish Order Blocks - teal boxes at the last bearish candle before a strong bullish impulse.
Bearish Order Blocks - red boxes at the last bullish candle before a strong bearish impulse.
Compression bars - amber boxes on narrow-range candles.
Stopping Volume markers - amber triangles at high-volume rejection candles at local extremes.
BOS labels - text labels at confirmed structural breaks, centered on the broken level.
Sweep markers - text labels at the bar where price violated a confirmed pivot extreme, marking where liquidity was taken.
Reclaim labels - text labels at the bar where price closed back inside the prior range, confirming the sweep. Together with the Sweep marker, these tell the complete two-event Sweep+Reclaim story.
HH / HL / LH / LL pivot labels - market structure narration. Pivots are independent of the BOS module switch and are shown whenever the pivot toggle is enabled.
Duplicate BOS, Sweep, and Reclaim markers at the same price level within a recent window are automatically suppressed. Each confirmed pivot can be swept and reclaimed at most once until a new pivot forms.
At signal fire
Each active hunting item is evaluated:
- If its pattern type contributed to the signal, it is recolored to the signal's direction and promoted to history.
- If it is a liquidity zone or order block sitting inside the trade's expected path AND structurally aligned with the trade, it is promoted as context.
- Everything else is erased instantly.
At signal fire, BOS and Reclaim markers are explicitly drawn so every fired setup carries its structural anchor. The Reclaim marker is guaranteed when the Sweep pattern contributed; the BOS marker is drawn when BOS contributed and no recent BOS marker exists at the same level.
TIMEFRAME GUIDANCE
1m and 3m - high-frequency scalping on liquid pairs (BTC/USDT, ETH/USDT, NQ, ES).
5m and 15m - intraday swing entries on the same instruments and other liquid markets.
30m and above - functional but signal frequency drops noticeably; suitable for positional approaches.
The Auto-Calibrate by Timeframe input automatically scales swing lookback, ATR length, volume lookback, sweep window, stopping-volume percentile, and compression lookback. Disable only for full manual control.
HOW TO USE IT
1. Load on a clean chart. Leave Auto-Calibrate enabled.
2. Watch the Hunting Layer to see what the script is monitoring.
3. Wait for a signal label to print at bar close. The label text lists the contributing patterns.
4. The four levels appear automatically.
5. The setup auto-closes when Reference Level 2 or Invalidation is reached. After cooldown, hunting resumes.
INPUTS GUIDE
Auto-Calibrate by Timeframe - master switch that scales all lookbacks to the chart timeframe.
Pattern Modules - enable or disable any of the five detectors individually.
Core Parameters - manual swing, ATR, and volume lookbacks (used when Auto-Calibrate is OFF).
Pattern Tuning - per-pattern sensitivity controls.
Adaptive Learning - evaluation window, follow-through threshold in ATR multiples, learning memory, and minimum emphasis floor.
Regime Filter - toggle regime awareness and set its lookback.
Volatility Phase - toggle phase-based threshold tightening and set its lookback.
Confluence Decay - toggle linear decay of residual opposing scores.
Output - Quiet Mode (only High-Confluence tier fires), minimum patterns required, cooldown bars, RR for Reference Levels 1 and 2, Invalidation distance in ATR multiples, and label offset from the last bar.
Visual - color tones for bullish, bearish, reference, invalidation, and label background.
ICT Hunting Layer - individual toggles and color controls for every visual element and the legend panel.
ALERTS
Six alert conditions cover every tier and direction combination:
- Bullish High-Confluence
- Bearish High-Confluence
- Bullish Alignment
- Bearish Alignment
- Bullish Watch
- Bearish Watch
Add through the standard PulseWire alert dialog.
TECHNICAL NOTES
- All pattern detection and signal arming occur on confirmed bar close. No intrabar fires, no repaint.
- No request.security() calls. No higher-timeframe lookups. No lookahead modifiers. No future leakage.
- Pivots use 3-bar right confirmation - structural lag is intentional and removes false breaks.
- The script uses one active trade slot at a time. New setups can only arm after the current one closes and cooldown expires.
- Same-bar conflict between Reference Level 2 and Invalidation resolves conservatively as invalidation. This is the honest interpretation when intrabar order is unknown.
- Object retention is bounded: 400 signal labels, 400 closed-trade lines, 400 hunting-history items. Adaptive learning memory is configurable up to 1000 bars per pattern.
WHAT THIS SCRIPT IS NOT
- Not a strategy. It does not place trades or compute P&L.
- Not a holy grail. No indicator is.
- Not a black box. Every threshold and lookback is exposed as an input.
- Not predictive. It reacts to confirmed structural events at bar close.
DISCLAIMER
This script is published as an open-source educational and analytical tool. It does not constitute financial advice, a recommendation to buy or sell any instrument, or any guarantee of future performance. Past behavior of any pattern on any chart does not guarantee future results. You are solely responsible for your trading decisions, your risk management, and your testing on a demo environment before any live use. The author and PulseWire accept no liability for losses incurred from use of this script.
CREDITS
Concepts inspired by public ICT (Inner Circle Trader) educational material. All detection logic, scoring, regime classification, adaptive learning, lifecycle management, and visualization is original implementation by the author. Indicator

Indicator

Elaris Auto Trend Fibonacci ProElaris Auto Trend Fibonacci Pro
Overview
Elaris Auto Trend Fibonacci Pro is an advanced market structure and Fibonacci analysis tool designed to automatically identify directional trends, detect significant swing points, and project professional-grade Fibonacci retracement and extension levels directly on the chart.
Unlike manual Fibonacci drawing tools that require traders to constantly adjust anchor points, this indicator continuously analyzes confirmed swing structure and automatically maps the most relevant Fibonacci framework based on the current market trend.
The goal is to help traders quickly identify potential pullback zones, trend continuation areas, profit targets, and key reaction levels without manually redrawing Fibonacci levels throughout the trading session.
---
How The Indicator Works
1. Swing Structure Detection
The indicator first identifies confirmed swing highs and swing lows using a configurable pivot confirmation algorithm.
A swing is only considered valid after confirmation, which helps eliminate many false or premature swing points that often appear during volatile market conditions.
The minimum swing size can also be filtered using ATR-based validation, ensuring that insignificant market fluctuations are ignored.
---
2. Trend Identification
After detecting valid market structure, the indicator determines the dominant directional trend.
Bullish trends are identified when recent confirmed swing lows lead into higher confirmed swing highs.
Bearish trends are identified when recent confirmed swing highs lead into lower confirmed swing lows.
An optional EMA trend filter can be enabled to require alignment between price structure and moving average direction.
This additional layer helps reduce counter-trend Fibonacci projections.
---
3. Automatic Fibonacci Mapping
Once a valid trend is detected, Fibonacci levels are automatically projected between the most relevant confirmed swing points.
The indicator plots:
• 0.236 Retracement
• 0.382 Retracement
• 0.500 Midpoint
• 0.618 Golden Ratio
• 0.786 Deep Retracement
• 1.000 Retracement
These levels represent areas where pullbacks, reactions, trend continuations, or reversals may occur.
---
4. Golden Zone Highlighting
The area between the 50% and 61.8% retracement levels is automatically highlighted as the Golden Zone.
Many traders monitor this region because it often represents an area where institutional participants may re-enter an existing trend after a pullback.
The highlighted zone provides a quick visual reference for potential trend continuation opportunities.
---
5. Extension Targets
The indicator can optionally project Fibonacci extension levels beyond the current trend.
Available extension targets include:
• 1.272 Extension
• 1.618 Extension
• 2.000 Extension
These levels can be used as potential profit-taking areas, trend continuation objectives, or future reaction zones.
---
6. Trend Dashboard
A built-in dashboard provides real-time information including:
• Current trend direction
• Swing strength relative to ATR
• Fibonacci anchor direction
• Golden zone status
• Indicator operating mode
The dashboard helps traders evaluate current market conditions without needing additional analysis tools.
---
How To Use
Trend Continuation
1. Wait for a confirmed bullish or bearish trend.
2. Allow price to retrace toward the highlighted Fibonacci levels.
3. Monitor the Golden Zone for potential continuation setups.
4. Use extension levels as potential target areas.
Pullback Analysis
The 38.2%, 50%, and 61.8% retracement levels can help identify areas where temporary corrections may end and the primary trend may resume.
Target Projection
The Fibonacci extensions can be used to estimate possible future trend objectives after a successful continuation move.
---
Important Notes
• The indicator uses confirmed swing points and does not rely on future-looking calculations after confirmation.
• Fibonacci levels automatically update when a new confirmed market structure is established.
• The indicator is designed for trending markets and may generate fewer meaningful projections during prolonged ranging conditions.
• This tool is intended for technical analysis and should not be used as a standalone trading system.
---
Best Markets
The indicator can be applied to:
• Cryptocurrency Markets
• Forex Markets
• Stock Markets
• Index Markets
• Commodity Markets
It is particularly effective on higher liquidity instruments where market structure tends to be more consistent.
---
Best Timeframes
Recommended timeframes:
• 15 Minutes
• 1 Hour
• 4 Hours
• Daily
Higher timeframes generally produce more reliable market structure and Fibonacci projections.
---
Alerts
The indicator includes alerts for:
• Trend direction changes
• Golden Zone interactions
• Key Fibonacci level breaks
These alerts can be integrated into trading workflows for additional monitoring and confirmation.
---
Thank you for using Elaris Auto Trend Fibonacci Pro.
Indicator

Peak Decoder v1.0Kurzbeschreibung:
Ein hochentwickelter, strukturbasierter Oszillator, der die relative Position des Preises innerhalb seiner aktuellen Handelsspanne entschlüsselt.
Das Tool identifiziert vollautomatisch die mathematischen und visuellen Scheitelpunkte (Peaks & Troughs) in den Extremzonen und filtert kurzfristiges Marktrauschen sowie Fehlausbrüche effektiv heraus.
Hauptfunktionen & Funktionsweise:Drei integrierte Sensitivitäts-Modi:
Über das Einstellungsmenü kann die Reaktivität des Algorithmus fliegend gewechselt werden:
Aggressiv: Extrem schnell, optimiert für das Scalping in kleinsten Zeiteinheiten.
Normal: Die ausgewogene Standard-Einstellung für das klassische Daytrading.
Passiv: Filtert starkes Rauschen heraus, ideal für die übergeordnete Trendbestimmung (HTF).
Intelligenter Bounce- & Wellenfilter: Der Indikator speichert Ausbrüche in den Extremzonen im Zwischenspeicher. Er wartet geduldig, bis eine Bewegung endgültig abgeschlossen ist. Entstehen tiefere Täler oder höhere Hochs innerhalb derselben Phase, wandert das Signal automatisch mit.
Striktes Wechselsystem: Die Logik erzwingt ein sauberes, alternierendes Signalmuster (Top ➔ Bottom ➔ Top). Dadurch werden mehrfache Fehlsignale auf derselben Seite in volatilen Seitwärtsphasen komplett eliminiert.
Präzise visuelle Signale: Bestätigte Wendepunkte werden mit dezenten Kreisen direkt auf der Wellenspitze markiert. Zur besseren Übersicht wird ein fetter Richtungspfeil horizontal (auf 3 Uhr) daneben platziert.
Anwendung im Trading:Der Oszillator dient als hervorragender Filter zur Bestimmung von Premium- (Überkauft) und Discount-Zonen (Überverkauft) im Rahmen von Smart Money Concepts (SMC) oder klassischen Marktstruktur-Strategien.
Rot (Oben): Potenzielle Erschöpfung der Käufer, Vorbereitung für Short-Setups.
Grün (Unten): Potenzielle Erschöpfung der Verkäufer, Vorbereitung für Long-Setups.
Enthält eine voll integrierte Alarm-Schnittstelle (alert()), die pro Bar-Close einmalig auslöst, sobald ein Peak final bestätigt wurde. Indicator

Market Structure Target Tracker [MarkitTick]💡 An advanced, multi-faceted analytical suite designed for traders who rely on price action and logical trend progressions. By systematically identifying structural pivots in the market, this tool automatically maps out Break of Structure (BOS) and Change of Character (CHoCH) events. Rather than simply plotting support and resistance, it integrates a sophisticated risk-management framework directly onto the chart, calculating dynamic Entry, Stop Loss (SL), and multiple Take Profit (TP) levels based on market volatility.
Price action trading requires constant vigilance to identify local maxima and minima. This script relieves the trader of manual chart marking by perpetually analyzing rolling windows of price data. When an established swing high or low is breached, the indicator locks in the structural shift, evaluates higher timeframe momentum to filter out false breakouts, and establishes a forward-looking target zone.
✨ Originality and Utility
Most market structure indicators limit their functionality to placing historical labels on the chart. The originality of this script lies in its forward-looking, state-aware tracking mechanism. It operates not just as an indicator, but as a simulated trade management dashboard.
Once a structural break occurs, the indicator shifts into an active tracking state. It dynamically projects Entry and SL/TP bands anchored to the breakout, using Average True Range (ATR) to adapt to the asset's current volatility. Furthermore, it continuously evaluates the life-cycle of the structural break, monitoring price action to determine if the target is successfully hit or if the setup is invalidated by an opposing swing breach. This level of state persistence provides traders with an objective, real-time assessment of trade feasibility, risk-to-reward ratios, and trend duration.
🔬 Methodology and Concepts
The script is built upon four foundational technical concepts, woven together into a unified logic sequence:
• Pivot Detection
The core engine scans for Pivot Highs and Pivot Lows. A Pivot High is confirmed when a specific bar's high is strictly greater than the highs of a defined number of bars both preceding and following it. This creates a fractal representation of market turning points.
• Break of Structure (BOS)
A bullish structure break occurs when the closing price of a confirmed bar exceeds the most recent Pivot High. Conversely, a bearish break occurs when the close drops below the most recent Pivot Low. The script categorizes the first break in a new direction as a CHoCH, and subsequent continuous breaks as BOS.
• Higher Timeframe (HTF) Alignment
To prevent trading against the dominant macroeconomic trend, the script optionally queries the Relative Strength Index (RSI) from a higher timeframe. If this filter is engaged, bullish breakouts are ignored unless the HTF RSI indicates bullish momentum, adding a crucial layer of directional confirmation.
• Volatility-Adjusted Target Mapping
Upon a valid breakout, the script captures the current ATR. It then maps out a predefined trade setup. The Entry is plotted slightly past the breakout line, the Stop Loss is placed at a multiple of the ATR away from the entry, and up to three Take Profit levels are projected using independent ATR multipliers.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The indicator translates discretionary price action theory into a strict, rule-based algorithmic framework grounded in discrete mathematics and statistical dispersion.
• Local Extrema in Discrete Time Series
The pivot detection relies on the mathematical definition of local extrema within a bounded domain. For a given time series of high prices $H_t$, a local maximum is identified at time $t$ if $H_t \ge H_{t \pm k}$ for a defined neighborhood $k$ (the Swing Length). By anchoring structural logic to these extrema, the script removes the subjectivity of trendline drawing, relying strictly on empirical data points that define the boundaries of recent market equilibrium.
• Measurement of Dispersion via True Range
The risk management module utilizes the Average True Range. The True Range ( NYSE:TR $) is defined as the greatest of the following: the current high minus the current low, the absolute value of the current high minus the previous close, or the absolute value of the current low minus the previous close. The ATR is a smoothed moving average of this NYSE:TR $. In academic finance, variance and standard deviation are common measures of risk; however, ATR is particularly robust for trading applications as it accounts for overnight gaps and limits, providing a highly adaptive measurement of kinetic market energy to appropriately size stop-loss thresholds.
• Relative Momentum Standardization
The Higher Timeframe filter utilizes the Relative Strength Index. The RSI standardizes the velocity of price movement onto a 0-100 scale by comparing the exponential moving average of recent gains to recent losses. By enforcing a rule where NYSE:RSI > 50$ is required for bullish structural breaks, the algorithm mathematically demands that the higher-degree derivative of price (momentum) aligns with the lower-degree breakout, statistically reducing the probability of mean-reverting false breakouts.
🎨 Visual Guide
The script provides a rich, non-intrusive visual overlay to keep the trader informed of all active states and historical context.
• Structure Break Lines
Dashed Green Lines: Indicate historical and active Bullish breakouts.
Dashed Red Lines: Indicate historical and active Bearish breakouts.
Trend Labels: Triangles and markers (▲ BOS / ▼ CHoCH) appear at the midpoint of the break line to clearly annotate the structural shift.
• Trade Projection Lines
When a break is active, a cluster of dashed lines projects to the right of the current price action:
Blue Line (►): Proposed Entry level.
Red Line (✕): Stop Loss level based on ATR.
Green Lines (●, ★, ◆): Three tiered Take Profit targets based on escalating ATR multiples.
• The Heads-Up Dashboard
Located in the top right corner, this table is the operational nerve center. It displays:
Asset Ticker and Current Trend status.
HTF Direction and a visual block-bar representation of the HTF RSI.
Active BOS Level and Target Status (⏳ Pending or ✓ Hit).
Exact price coordinates for Entry, SL, and all TPs.
The active Risk-to-Reward (R:R) ratio for the first target.
Statistical tracking of Total BOS counts and the duration (in bars) of the active setup.
📖 How to Use
Traders can utilize this script as a complete ruleset for navigating trend continuations and reversals.
When observing the chart, wait for the script to print a new BOS or CHoCH label. This signifies that a confirmed candle has closed beyond a significant structural pivot. If the HTF filter is enabled, this break already has the backing of higher timeframe momentum.
Once the break prints, look to the dashed projection lines and the dashboard. The dashboard will display exact coordinates for a theoretical trade setup. You can use the blue Entry line to plan limit orders or market execution upon pullbacks. Set your structural stop-loss according to the red SL line, and place limit orders to secure profits at the green TP lines.
Monitor the Dashboard's "Tgt Status". If price action reverses heavily and crosses the opposing pivot point before reaching the target, the script will trigger its auto-invalidation sequence, clearing the active lines and returning to a neutral scanning state. This helps in dynamically cutting risk when a setup structurally fails.
⚙️ Inputs and Settings
The indicator is highly customizable, allowing adaptation to any asset or timeframe.
• BOS Group
Swing Length: Determines the lookback and lookforward period for pivot detection. Lower values react faster but produce more noise; higher values identify major macro swings.
• Visibility Group
Show BOS Line / Labels: Toggles the historical structural break drawings.
Auto-Invalidate: When enabled, the script will cancel an active setup if the opposing structural extreme is breached.
Color settings: Fully customize the hues for Bullish breaks, Bearish breaks, and Targets.
• SL/TP Group
Show Entry/SL/TP: Toggles the projection lines on the chart.
ATR Length: The lookback period for calculating market volatility.
Multipliers: Adjust the SL ATR Multiplier and the individual TP1, TP2, and TP3 multipliers to define your specific risk-to-reward parameters.
• HTF Group
HTF: Select the resolution for the higher timeframe filter (e.g., 240 for 4-hour, D for Daily).
HTF Filter: Toggle the momentum alignment requirement on or off.
HTF RSI Len: The period for the higher timeframe momentum oscillator.
• Alerts Group
The script features built-in webhook-ready JSON alerts that can notify external services the moment a BOS occurs or a target is successfully hit.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

SXA: Super Xtation Amplitude | MTF FrameworkSXA (Super Xtation Amplitude) is a multi-timeframe market positioning framework designed to provide a complete visual overview of price location within the broader market structure.
Rather than focusing on entry signals, SXA combines trend context, volatility, session activity, anchored VWAPs, prior-day reference levels, Fibonacci projections, and higher-timeframe moving averages into a single environment. The objective is to help traders understand where price is currently trading relative to statistically and structurally significant areas.
The indicator was built around a simple principle:
"Price behaves differently depending on where it is located within the market."
By integrating multiple forms of context into one view, SXA allows traders to quickly identify premium and discount zones, trend alignment, session-driven liquidity areas, and potential reaction levels without switching between multiple indicators.
FEATURES
• Smart Trend Engine
Multi-timeframe moving average framework designed to visualize short, intermediate, and macro directional bias.
• Dynamic Trend Clouds
Visual cloud structures help identify trend alignment and potential transition zones between bullish and bearish conditions.
• Higher Timeframe Context
Daily 50 SMA and 200 SMA provide broader market structure and long-term directional references.
• Prior Day Reference Levels
Automatic plotting of previous day's Open, High, Low, and Close.
• Fibonacci Expansion Grid
Extended Fibonacci projections derived from the previous day's range to identify potential reaction zones and liquidity targets.
• Anchored Session VWAPs
Includes:
* Daily VWAP
* European Session VWAP
* Pre-New York VWAP
* New York Session VWAP
* Post-European Session VWAP
These levels provide institutional-style references for price acceptance and value.
• Weekly Structure Levels
Dynamic weekly Open, High, and Low levels update in real time throughout the trading week.
• Session Mapping
Visual session boxes highlight important market periods, including the Asian session and Pre-New York range.
INTENDED USE
SXA is designed as a contextual decision-support tool rather than a standalone trading system.
The indicator can be used to:
* Assess overall market positioning.
* Identify trend alignment across multiple timeframes.
* Locate potential support and resistance zones.
* Track session-driven liquidity.
* Monitor volatility expansion and contraction.
* Build discretionary trade narratives.
* Enhance existing trading systems.
SXA does not generate buy or sell recommendations. Instead, it seeks to answer a more fundamental question:
"Where is price currently located within the broader market landscape?"
By providing that context at a glance, traders can make more informed decisions while reducing chart clutter and indicator overload.
Created by @Peter_n_n
Indicator

[ A L P H A X ] SURGEAlphaX SURGE — Liquidity Sweep + Market Structure + Premium/Discount Confluence Engine: Smart Money Concepts with 6-Layer Institutional Entry System, HTF Bias Filter & Order Block Detection
AlphaX SURGE is a professional-grade smart money concepts system built around the three foundational mechanics that drive institutional price delivery: liquidity sweeps, market structure shifts, and premium/discount zone positioning. Where most SMC indicators simply draw labels on a chart, SURGE integrates these concepts into a live 6-layer confluence scoring engine that only fires when a genuine liquidity grab, a confirmed structure event, correct PD zone positioning, higher timeframe bias alignment, squeeze momentum, and volume delta pressure are all pointing in the same direction simultaneously. The result is a system that reads the market the way institutional traders do — not chasing breakouts, not entering on arbitrary crossovers, but waiting for the precise sequence of events that precedes the highest-probability directional moves. Designed for active traders across crypto, forex, gold, and indices on any timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏦 The Smart Money Framework — How Institutions Move Price
To understand AlphaX SURGE, you first need to understand the three-phase institutional trade cycle that the system is designed to detect.
Phase 1 — Liquidity Accumulation:
Institutions need massive order size. They cannot fill that size at a single price — they need a pool of counterparty orders. Retail stop losses clustered below swing lows (sell-side liquidity) and above swing highs (buy-side liquidity) are that pool. Before a major directional move, institutions deliberately push price into these liquidity pools to trigger stops and fill their positions against the retail orders being stopped out.
Phase 2 — Structure Shift:
After the liquidity grab, the institution has filled its position. Now price reverses aggressively. This reversal breaks the prior market structure — creating either a Change of Character (CHoCH) if it reverses the previous trend, or confirming a Break of Structure (BOS) continuation if it aligns with the existing trend. The structure event is the confirmation that the liquidity sweep was genuine, not noise.
Phase 3 — Delivery:
With positions filled and structure confirmed, the institution delivers price to its target. This delivery phase is what SURGE is designed to capture — entering at the moment the sweep and structure confirmation align with the broader institutional context.
AlphaX SURGE does not simply detect these phases independently. It requires them to occur in the correct sequence and within a qualifying multi-layer confluence environment before any signal fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Sweep Detection
The sweep detection engine identifies the moment institutions grab liquidity from a significant swing level. Every swing high and swing low is tracked in real time using a configurable pivot length (default: 5 bars). These levels represent the two most important current liquidity pools — the sell-side liquidity (SSL) below the most recent swing low, and the buy-side liquidity (BSL) above the most recent swing high.
Bull Liquidity Sweep (SSL Grab):
The bar's low extends below the tracked swing low level by at least the minimum sweep wick threshold (default: 0.05× ATR)
The bar closes back above the swing low level — confirming the wick was a grab, not a genuine breakdown
The bar closes bullish (close above open) — confirming buying pressure on the reversal close
Bear Liquidity Sweep (BSL Grab):
The bar's high extends above the tracked swing high level by at least the minimum wick threshold
The bar closes back below the swing high level
The bar closes bearish — confirming selling pressure on the reversal close
The minimum sweep wick filter is a critical quality gate. Without it, any bar that briefly touches a swing level and reverses would register as a sweep. The ATR-normalized wick requirement ensures the grab extended far enough below or above the level to genuinely trigger stop orders — not just grazed the level on low momentum.
Sweep recency: To accommodate the reality that entry signals often develop one bar after the sweep rather than on the sweep bar itself, SURGE accepts sweeps from the current or immediately preceding bar. This one-bar lookback prevents missed entries on fast-moving setups where the structure confirmation fires on the bar immediately following the sweep candle.
Visual output: Every confirmed sweep is marked with a diamond shape — yellow-green below the bar for bull sweeps, red above for bear sweeps — providing instant visual identification of every liquidity grab on the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Market Structure Engine — BOS & CHoCH
The market structure engine runs a real-time tracking system for the current structural trend and identifies every significant structure event as it occurs.
Structural trend tracking:
The engine continuously tracks the most recent confirmed swing high and swing low. When price closes above the most recent swing high, a bullish structure break is detected. When price closes below the most recent swing low, a bearish structure break is detected. The structural trend variable updates on every such event — shifting between bullish (1) and bearish (-1) states.
Change of Character (CHoCH):
A CHoCH occurs when a structure break happens in the opposite direction of the current structural trend. A bullish CHoCH means price was in a bearish structural trend and has now broken above a swing high — the character of the market has changed. A bearish CHoCH is the inverse. CHoCH events are the highest-quality structure signals in the system — they represent a genuine reversal of the institutional order flow direction. Labeled on the chart in orange.
Break of Structure (BOS):
A BOS occurs when a structure break aligns with the current structural trend — a continuation event. A bullish BOS in a bullish trend confirms the uptrend is intact. A bearish BOS in a bearish trend confirms the downtrend continues. Labeled on the chart in yellow-green (bull) or red (bear).
Signal type control:
Two settings independently toggle which structure types can trigger signals:
Allow CHoCH Reversal Setups — enables signals on trend-reversal structure events. These are typically the highest-reward setups but require the sweep and confluence conditions to be exceptionally strong
Allow BOS Continuation Setups — enables signals on trend-continuation structure events. These are typically higher-frequency and occur within established directional flows
Both can be enabled simultaneously, giving SURGE the ability to detect both reversal and continuation setups across all market conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Order Block Detection & Visualization
Every confirmed structure event automatically spawns an Order Block — the institutional supply or demand zone that preceded the structure break. Order blocks represent the price range where the institutional position was built before the delivery move.
How order blocks are spawned:
When a bullish CHoCH or bullish BOS is confirmed, SURGE looks back up to the configured lookback period (default: 12 bars) to find the most recent bearish candle prior to the structure break — the last selling candle before the institutional buying move began. The high and low of that candle become the bull order block zone.
When a bearish CHoCH or bearish BOS is confirmed, SURGE looks back to find the most recent bullish candle — the last buying candle before the institutional selling move began. That candle's range becomes the bear order block zone.
Why this candle: The last opposing candle before a major directional move is where institutions were absorbing the final counterparty orders. It is the true origin of the move — and the zone where unfilled institutional orders are most likely to remain, making it the natural magnet for price on any retest.
Order block visualization: Each order block is rendered as a semi-transparent box extending forward by the configured number of bars (default: 20). Bull order blocks are shaded yellow-green; bear order blocks in red. The most recent active order block of each direction is tracked by the confluence system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖ Premium / Discount Zone Engine
The Premium/Discount framework is one of the most powerful filtering tools in institutional price action analysis. It answers a simple question: is price currently cheap or expensive relative to the recent dealing range?
Dealing range calculation:
On every bar, SURGE calculates the highest high and lowest low over the configured range length (default: 50 bars). The midpoint of this range is the Equilibrium level — the 50% point of the current dealing range, plotted as a purple dotted line on the chart.
Discount zone: Price at or below equilibrium. From an institutional perspective, price is cheap — this is where smart money buys. Bull entries in discount align with the institutional buying thesis.
Premium zone: Price at or above equilibrium. Price is expensive — this is where smart money sells. Bear entries in premium align with the institutional selling thesis.
Why this filter dramatically improves accuracy: A bullish sweep and structure confirmation at premium prices is a low-quality setup — you are buying at the top of the range where institutions are looking to distribute, not accumulate. The same bullish setup in discount is a structurally superior entry — buying at the institutional accumulation zone where the reward-to-risk profile is fundamentally better. The PD zone filter enforces this discipline automatically, blocking counter-PD setups before they reach the confluence gate.
The PD filter can be toggled off for traders who prefer to trade all qualifying setups regardless of range position — useful on strongly trending markets where price consistently stays on one side of equilibrium.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📡 HTF Bias Filter — Multi-Timeframe Alignment
The Higher Timeframe Bias filter is one of the most consequential filters in the entire system. A setup that occurs against the higher timeframe trend is a counter-trend trade — it may look compelling on the current timeframe but is fighting the dominant institutional flow.
How it works:
SURGE pulls two EMAs from the configured higher timeframe (default: 60-minute) — a fast EMA (default: 21) and a slow EMA (default: 55). When the fast HTF EMA is above the slow HTF EMA, the higher timeframe trend is bullish. When below, it is bearish.
Bull bias: Fast HTF EMA above slow HTF EMA — the higher timeframe institutional flow is upward. Bull setups on the current timeframe are with-trend trades.
Bear bias: Fast HTF EMA below slow HTF EMA — the higher timeframe flow is downward. Bear setups are with-trend trades.
The power of HTF alignment in SMC trading: A bullish sweep and CHoCH on M5 in the direction of a confirmed H1 uptrend is a fundamentally different trade from the same setup occurring against an H1 downtrend. The HTF filter ensures SURGE only fires setups where the current timeframe structure event is aligned with the broader institutional delivery direction — the single highest-quality filter available for SMC-based systems.
The HTF timeframe is fully configurable. For M1–M5 scalping, H1 is the default. For M15–H1 trading, H4 or Daily is recommended.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 The 6-Layer Confluence Engine
All six layers score independently on every bar. A signal only fires when the score meets the configured minimum (default: 4 of 6), the sweep condition is active, a qualifying structure event has occurred, and the ADX, session, and cooldown conditions are met.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 1 — Liquidity Sweep
The foundational layer. Awards 1 point when a qualifying liquidity sweep (SSL for bull, BSL for bear) has occurred on the current or immediately preceding bar. This layer is also a hard requirement — regardless of the confluence score, no SURGE signal can fire without a recent sweep. This is the event that initiates the institutional sequence. Without a genuine liquidity grab, the setup is not a SURGE setup.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 2 — Market Structure
Awards 1 point when the current structural trend agrees with the signal direction — a bullish structural trend for bull signals, bearish for bear. The structure layer also enforces the structure type requirement : a qualifying CHoCH or BOS must have occurred (subject to the Allow CHoCH / Allow BOS settings) for a signal to fire. Structure is both a scoring layer and a hard prerequisite, identical to the sweep requirement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 3 — Premium / Discount Zone
Awards 1 point when price is in the correct PD zone for the signal direction — discount for bull signals, premium for bear signals. When the PD filter setting is off, this layer always votes in favor. This layer encodes the institutional value positioning principle: buy cheap, sell expensive.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 4 — HTF Bias
Awards 1 point when the higher timeframe EMA structure agrees with the signal direction. This is the multi-timeframe alignment layer — the most macro of the six confluence inputs. When HTF bias is disabled in settings, this layer always votes in favor.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 5 — Squeeze Momentum
The TTM Squeeze momentum layer — identical to the implementation in Pulse Scalper and VOID. When the Bollinger Band/Keltner Channel squeeze fires with directional momentum (positive and rising for bull, negative and falling for bear), this layer votes. The orange squeeze background tint provides pre-signal awareness when energy is compressing. A SURGE setup that coincides with a squeeze release means the SMC structure event and the breakout energy event are occurring simultaneously — one of the highest-quality convergences the system can detect.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Layer 6 — Volume Delta
The proprietary volume pressure model — splitting each candle's volume into estimated bull and bear components, confirmed by OBV slope. This layer confirms that real institutional capital flow is behind the sweep and structure move. A liquidity sweep with no volume delta confirmation is a weak, potentially algorithmic sweep. A sweep with strong volume delta agreement means genuine order flow drove the grab — the highest-quality sweep condition.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷 Signal Firing Logic
A SURGE signal fires when all of the following are simultaneously true:
A qualifying liquidity sweep occurred on the current or immediately preceding bar (hard requirement — independent of scoring)
A qualifying structure event (CHoCH or BOS per settings) has confirmed the structural direction (hard requirement)
Confluence score meets or exceeds the configured minimum (default: 4 of 6)
VWAP bias confirms — price above VWAP for bull, below for bear (when VWAP filter is enabled)
ADX confirms a trending market above the minimum threshold
Session filter confirms active market hours
Signal cooldown has elapsed since the last signal in the same direction (default: 10 bars)
Edge triggering: The signal fires only on the bar the conditions first become true — not repeatedly while they remain true. Each triangle is a distinct, fresh setup event.
Score label: Every signal prints the live confluence count (e.g., 5/6 or 6/6 ) directly on the chart so you know the quality of every setup at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Sweep-Anchored Stop Loss Placement
SURGE includes a purpose-built stop loss mode specifically designed for liquidity sweep setups: SL Beyond Sweep Wick (default: on).
When enabled, the stop loss for a bull entry is placed at the tracked swing low level (the level that was swept) minus an ATR buffer. For a bear entry, the stop is placed at the tracked swing high level plus an ATR buffer.
Why this is the structurally correct stop for sweep setups: The sweep wick represents the maximum extent of the institutional grab. If price returns below the swept swing low (bull) and closes there, the sweep thesis is invalidated — institutions were not grabbing that liquidity for a reversal, the level was genuinely broken. Placing the stop at the swept level is therefore not an arbitrary distance — it is the exact price at which the setup's core premise is proven wrong.
When this setting is off, the stop reverts to a standard ATR distance from the entry bar's low or high.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡 Dynamic ATR Exit System
Stop Loss: Placed at the swept swing level (when enabled) or bar extreme, plus an ATR buffer (default: 1.3×). Your structural invalidation boundary.
TP1 — Partial Target (50%): 2.0× ATR from entry — slightly wider than the Pulse Scalper and VOID defaults, reflecting the higher-conviction, lower-frequency nature of SURGE setups. Scale out 50% here and move the remainder to breakeven.
TP2 — Full Target: 3.8× ATR from entry. Full position exits on TP2 hit. A labeled TP marker appears on the chart.
ATR Trailing Stop: Dynamic stop advancing with price every bar at 1.6× ATR behind the current bar's extreme. Plotted as a live orange line. In genuine institutional delivery moves following a sweep, price frequently extends well beyond the fixed TP2 — the trail captures this extension without predetermining a ceiling on the gain.
All exit levels are plotted as live lines for the duration of the trade and cleared automatically on exit.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Dashboard
The real-time dashboard displays the complete internal state across four sections, updated on every bar.
STRUCTURE
Trend — current market structure state: ▲ BULLISH, ▼ BEARISH, or — RANGE. This reflects the confirmed structural trend as tracked by the BOS/CHoCH engine
Liquidity — live sweep detection status: ▲ SSL SWEEP (sell-side grab, bullish signal) or ▼ BSL SWEEP (buy-side grab, bearish signal). Updates in real time on sweep bars
PD Zone — current premium/discount position: ◧ DISCOUNT, ◧ PREMIUM, or — EQ (at equilibrium). Color-coded yellow-green for discount, red for premium
HTF / SESSION
HTF Bias — higher timeframe EMA alignment: ▲ BULL or ▼ BEAR. Confirms whether the macro institutional flow supports the current setup direction
Session — ✓ ACTIVE or ✗ OFF. Confirms whether the session filter is open for signals
ADX — live ADX value with ✓ or ✗ pass/fail indicator
CONFLUENCE
Momentum — squeeze and directional momentum state: ⚡ SQZ (squeeze building), ▲ or ▼ for directional momentum, or — for flat
Vol Delta — volume pressure direction: ▲ BULL, ▼ BEAR, or —
Bull Score — live 0–6 score. Background highlights yellow-green when threshold is met
Bear Score — live 0–6 score. Background highlights red when threshold is met
POSITION
Position — ▲ LONG, ▼ SHORT, or — FLAT with background color highlight
Stop Loss — active SL level (sweep-anchored or ATR-based), color-coded by direction
TP1 — active first take-profit level
Bars in Trade — bars elapsed since entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Chart Visual System
◆ Diamond (below bar, yellow-green) — bull liquidity sweep confirmed. SSL grabbed with close back above the swing low
◆ Diamond (above bar, red) — bear liquidity sweep confirmed. BSL grabbed with close back below the swing high
CHoCH ▲ / CHoCH ▼ label (orange) — Change of Character detected. Trend reversal structure event
BOS ▲ / BOS ▼ label (yellow-green / red) — Break of Structure detected. Trend continuation structure event
▲ Triangle (below bar) — bull SURGE entry. All conditions met
▼ Triangle (above bar) — bear SURGE entry. All conditions met
Score Label (e.g. 5/6) — confluence count at signal time on every entry triangle
Order Block Boxes — semi-transparent zones marking institutional supply and demand origins. Yellow-green for bull OBs, red for bear OBs
Liquidity Level Lines — dashed lines projecting the current swing high (sell-side liquidity, red dashed) and swing low (buy-side liquidity, yellow-green dashed) forward
Equilibrium Line (purple dots) — the 50% midpoint of the current dealing range
EMA Ribbon Fill — yellow-green fill during bull EMA structure, red during bear, gray during flat
VWAP Line (purple) — optional, toggleable session VWAP
Orange Squeeze Background — active during Bollinger/Keltner squeeze compression
Yellow-green background tint — active during open long trades
Red background tint — active during open short trades
SL / TP1 / TP2 / Trail Lines — all four exit levels plotted live for the duration of every trade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX SURGE — Step by Step
Step 1 — Establish Context Before the Session
Check the dashboard: what is the current structural trend and HTF bias? If both show the same direction, you have macro confluence — prioritize setups in that direction
Check the PD Zone row: is price currently in discount (favor longs) or premium (favor shorts)? Price at equilibrium is the lowest-quality PD position — wait for it to develop to one side
Note where the liquidity level lines are on the chart — these dashed lines mark exactly where the next sweep targets are sitting
Step 2 — Watch for a Sweep Diamond
A yellow-green ◆ diamond below the bar signals an SSL grab — the sweep phase has occurred. The system is now in active scan mode for a SURGE signal
A red ◆ diamond above the bar signals a BSL grab
The sweep is the trigger for your attention — not the entry signal. The entry comes next
Step 3 — Confirm the Structure Event
Watch for a CHoCH or BOS label to appear following the sweep. A CHoCH after a sweep is the highest-quality sequence — institutional grab followed by genuine trend reversal confirmation
Check the confluence scores on the dashboard. After a sweep, the bull or bear score should be climbing toward the threshold as the structure, PD, and momentum layers align
Step 4 — Enter on the SURGE Triangle
A ▲ triangle confirms all conditions are met for a long. A ▼ triangle confirms all conditions for a short
Read the score label. A 6/6 signal means every layer — sweep, structure, PD zone, HTF bias, momentum, and volume — are all aligned simultaneously. These are the highest-conviction setups SURGE produces and warrant full position size
A 4/6 or 5/6 signal is still a valid SURGE entry — standard position size, strict stop management
Step 5 — Manage with Live Exit Lines
The SL line is your swept level invalidation. If the sweep level is retaken cleanly, the setup thesis is gone
Watch the orange trail line advance with price as the institutional delivery move develops
At TP1, scale out 50% and move the remainder to breakeven — let the trail capture the full delivery
Step 6 — Exit and Reset
A TP marker confirms TP2 reached — full exit and system reset
An SL marker confirms stop or trail triggered — close the position and wait for the next sweep event to develop
Do not re-enter on impulse after a stopped trade. The swept level that was just violated is now the new liquidity target for the next setup. Wait for the next clean sweep and structure sequence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying Low-Quality Conditions — When Not to Trade
Stand aside when:
HTF Bias opposes the setup direction — a bullish sweep and CHoCH against an H1 downtrend is a counter-trend reversal trade. The institutional macro flow is working against you. These setups fail at a much higher rate than with-trend entries
PD Zone is wrong for the direction — a bull setup in premium or a bear setup in discount means you are entering at the institutionally unfavorable side of the range. Wait for price to correct to the appropriate zone
Sweep occurred but no CHoCH or BOS followed — a sweep without structure confirmation means the liquidity grab did not produce a genuine reversal or continuation. The institution may have filled only part of its position. Wait for structure to develop
ADX ✗ — the market is not trending. SMC concepts work best in directional markets. In ranging conditions, sweeps are frequently noise events rather than institutional accumulation
Score stuck at 2 or 3 of 6 after a sweep — the confluence environment is too fragmented. Too many layers are disagreeing. A sweep in isolation is not a trade
Multiple sweeps in rapid succession without entry signals — choppy markets produce repeated liquidity grabs in both directions. The confluence gate will block most of these, but the underlying message is that the market is in an oscillating range — not the institutional delivery environment SURGE is designed for
Structure trend and HTF bias are both — or FLAT — no clear institutional direction exists. No SURGE setup can develop until structural bias is established
What to do:
Wait for HTF bias and structural trend to align in the same direction — this is the macro setup condition for the highest-quality SURGE signals
Wait for price to reach the correct PD zone for the anticipated direction before the sweep occurs — the ideal sequence is: price in discount, SSL sweep, bullish CHoCH, 5–6/6 confluence signal
Watch the liquidity level lines — price approaching a level is the pre-alert that a sweep may be imminent. Prepare your confluence scan as price approaches those lines
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
💧 Real-time liquidity sweep detection — identifies SSL and BSL grabs with minimum ATR wick filter and close-back confirmation, eliminating noise sweeps
📐 Full market structure engine — tracks swing highs and lows, detects CHoCH and BOS events, maintains a live structural trend state
📦 Automatic order block detection — spawns OB zones on every confirmed structure event, marking the exact institutional origin of each move
⚖ Premium/Discount zone filter — enforces institutionally correct entry positioning using a dynamic equilibrium level across the recent dealing range
📡 HTF bias filter — pulls a dual-EMA structure from a configurable higher timeframe to confirm macro institutional flow alignment
🧠 6-layer confluence gate — Sweep, Structure, PD Zone, HTF Bias, Squeeze Momentum, and Volume Delta must reach the minimum score threshold before a signal fires
📊 Live confluence scoring — bull and bear scores updated every bar, displayed on the dashboard before any signal appears
🔀 CHoCH / BOS signal type control — independently enable reversal setups, continuation setups, or both
🎯 Sweep-anchored stop loss — places the SL at the structural invalidation level (the swept swing point) rather than an arbitrary ATR distance
⚡ TTM Squeeze integration — Bollinger/Keltner compression detection flags pre-breakout energy with orange background tint and dashboard state
📈 Proprietary volume delta model — estimates institutional order flow pressure without exchange-level data, confirmed by OBV slope
🌐 VWAP session bias — enforces institutional session direction alignment on every signal
🛡 Dynamic ATR trailing stop — orange line advances with price every bar, capturing full institutional delivery moves beyond the fixed TP2
💹 Liquidity level lines — dashed projections of the current swing high and swing low showing exactly where the next liquidity pools sit
📊 22-row live dashboard — Structure, HTF/Session, Confluence, and Position sections updated in real time
🔔 12 alert conditions — sweep events, CHoCH events, entry signals, TP1/TP2 hits, and stop hits for both directions
🎨 Fully cohesive dual-tone color system — yellow-green for all bullish elements, red for all bearish, orange for squeeze and trail, purple for VWAP and equilibrium
⚙ Fully configurable — all pivot lengths, OB parameters, PD range, HTF timeframe and EMA periods, confluence minimum, ADX threshold, exit multipliers, session window, and all colors are independently adjustable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Structure & Liquidity
Swing Pivot Length — bars used for pivot high/low detection. Controls the significance of swing levels tracked for sweeps and structure (default: 5)
Show BOS / CHoCH Labels — toggle structure event labels on the chart
Show Liquidity Levels — toggle the dashed swing high and swing low projection lines
Liquidity Line Extend — how many bars forward the liquidity level lines project (default: 25)
Min Sweep Wick (ATR x) — minimum wick extension beyond the swing level required to register a sweep (default: 0.05× ATR)
Order Blocks
Show Order Blocks — toggle OB zone boxes on or off
Max Order Blocks — maximum OBs stored in memory simultaneously (default: 25)
OB Extend (bars) — how many bars forward OB boxes project (default: 20)
OB Lookback Bars — how many bars back to search for the origin candle when spawning an OB (default: 12)
Premium / Discount
Show Equilibrium Line — toggle the dealing range midpoint line
Dealing Range Length — bars used to calculate the high/low range for PD zone positioning (default: 50)
Require Correct PD Zone — when on, longs require discount positioning and shorts require premium positioning (default: on)
HTF Bias
Use HTF Trend Filter — toggle the higher timeframe bias requirement
HTF Timeframe — the higher timeframe to pull EMA data from (default: 60-minute)
HTF Fast EMA — fast EMA period on the HTF (default: 21)
HTF Slow EMA — slow EMA period on the HTF (default: 55)
EMA Ribbon
Fast / Slow / Signal EMA — triple ribbon periods (defaults: 8 / 21 / 50)
Show EMA Ribbon — toggle ribbon fill and line plots
Squeeze Momentum
BB Length / BB Mult — Bollinger Band parameters (defaults: 20 / 2.0)
KC Length / KC Mult — Keltner Channel parameters (defaults: 20 / 1.5)
Momentum Length — linear regression momentum period (default: 12)
Volume Delta
Volume MA Length — EMA smoothing for volume estimates (default: 14)
OBV Slope Length — lookback for OBV slope directionality (default: 10)
VWAP
Use VWAP Filter — when on, requires price to be on the correct VWAP side for each signal direction
Show VWAP Line — toggle VWAP line on the chart
Confluence Gate
Min Layers Required — minimum confluence votes needed for a signal (default: 4 of 6)
Session Filter — toggle active hours restriction
Active Session — configurable session window (default: 0700-2000)
Signal Cooldown — minimum bars between consecutive signals in the same direction (default: 10)
Allow CHoCH Reversal Setups — enables signals on trend-reversal structure events
Allow BOS Continuation Setups — enables signals on trend-continuation structure events
ADX Filter
Use ADX Filter — toggle the trend quality gate
ADX Length — calculation lookback (default: 14)
ADX Minimum — threshold below which all signals are suppressed (default: 18)
Exit Settings
ATR Length — lookback for all ATR exit calculations (default: 10)
SL ATR Mult — ATR buffer beyond the swept swing level (default: 1.3)
TP1 ATR Mult — first take-profit distance (default: 2.0)
TP2 ATR Mult — full exit target distance (default: 3.8)
Use ATR Trailing Stop — toggle dynamic trailing stop
Trail ATR Mult — trailing distance from current bar's extreme (default: 1.6)
Show Exit Levels — toggle all exit level lines
SL Beyond Sweep Wick — anchors stop to the swept swing level (default: on)
Display
Show Confluence Score Label — prints live score on every signal triangle
Show Dashboard — toggle the full dashboard
Dashboard Position — Top Left / Top Right / Bottom Left / Bottom Right
Colors
Bull / Bull Bright — yellow-green family for all bullish signals, fills, and labels
Bear / Bear Bright — red family for all bearish signals, fills, and labels
Squeeze — orange for squeeze tint and trailing stop line
EMA Fast / Slow / Signal — individual EMA line colors
Ribbon Fill Bull / Bear / Flat — ribbon fill colors for each trend state
Buy-Side / Sell-Side Liquidity — liquidity level line colors
Bull / Bear Order Block — OB box fill and border colors
Equilibrium Line — dealing range midpoint color (default: purple)
VWAP Line — VWAP plot color
BOS Bull / BOS Bear / CHoCH — structure label colors
Bull / Bear Sweep Marker — sweep diamond colors
SL / TP / TP2 / Trail Lines — individual exit level line colors
Long Zone BG / Short Zone BG — active trade background tints
Bull / Bear Label Text — score label text colors
Dash Text / Dash BG / Dash Header / Dash Section / Dash Frame — full dashboard color control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions (12 total)
Liquidity Alerts
Bull Liquidity Sweep — sell-side liquidity grabbed, watch for long setup development
Bear Liquidity Sweep — buy-side liquidity grabbed, watch for short setup development
Structure Alerts
Bull CHoCH — bullish Change of Character confirmed, structural trend shifting to bullish
Bear CHoCH — bearish Change of Character confirmed, structural trend shifting to bearish
Entry Alerts
Bull SURGE Entry — all conditions met: sweep, structure, confluence, ADX, session
Bear SURGE Entry — all conditions met for a short institutional sweep entry
Exit Alerts
Bull TP1 Hit — scale out 50% of long position
Bull TP2 Hit — full long position exit
Bull Stop Hit — stop loss or trail triggered on long
Bear TP1 Hit — scale out 50% of short position
Bear TP2 Hit — full short position exit
Bear Stop Hit — stop loss or trail triggered on short
All alert messages are formatted as const strings for clean webhook and notification platform integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Recommended Settings by Instrument & Timeframe
The default configuration is optimized for XAUUSD, major forex pairs, and crypto on M1–M15 :
Min Layers at 4/6 — strong confluence while accounting for the complexity of the 6-layer system
HTF at 60-minute — provides meaningful higher timeframe context for intraday M1–M15 setups
Sweep wick at 0.05× ATR — sensitive enough to catch genuine institutional grabs without registering micro-noise sweeps
SL Beyond Sweep Wick on — structurally anchored stop placement at the institutional invalidation level
Allow CHoCH and BOS both on — captures both reversal and continuation setups in the full range of institutional delivery scenarios
For other instruments or timeframes, adjust:
Higher timeframes (H1, H4) — set HTF to Daily or Weekly, increase Swing Pivot Length to 8–10, increase TP2 to 5.0–6.0× ATR, raise Min Confidence to 5/6
Crypto (BTC, ETH) — increase Min Sweep Wick to 0.1–0.15× ATR to filter out the higher frequency of noise sweeps in volatile crypto sessions, increase KC Mult to 2.0
Indices (NAS100, US30) — tighten session to 09:30–16:00, increase ADX minimum to 22, set HTF to H4 for intraday M5–M15 trading
CHoCH-only mode — disable Allow BOS Continuation, raise Min Layers to 5/6. This produces the fewest signals but each represents a genuine trend reversal with maximum institutional evidence
More signals — lower Min Layers to 3, reduce Cooldown, disable PD Zone requirement, disable HTF filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏦 Smart money concepts and ICT methodology traders — SURGE is the quantitative implementation of the core SMC trading sequence: liquidity grab, structure shift, PD zone entry. Everything you execute manually in an SMC framework is automated and filtered here
🥇 Gold (XAUUSD) and forex traders — institutional order flow mechanics are most consistent and powerful on these instruments. Default settings are calibrated for gold intraday
📊 Multi-timeframe traders — the HTF bias filter is built for traders who use higher timeframe confluence as a core component of their trade selection process
🎯 Traders who want to stop buying highs and selling lows — the PD zone filter enforces the discipline of buying in discount and selling in premium, the foundational institutional positioning principle
🧠 Systematic traders — the 6-layer confluence score provides a fully quantified quality metric for every setup, replacing subjective SMC judgment with objective numerical scoring
📈 Traders who want to trade with institutions, not against them — every component of SURGE — the sweep detection, structure engine, PD zone, HTF filter, order blocks, and liquidity lines — is designed to identify and align with genuine institutional order flow
⚠ Traders who struggle with SMC subjectivity — traditional SMC analysis requires significant discretion. SURGE removes that discretion by encoding the rules objectively and applying them consistently on every bar across all instruments and timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are confirmed on bar close — the indicator is non-repainting by design. Structural trend tracking, sweep detection, and confluence scoring all finalize on confirmed bars only
The swing pivot detection has an inherent offset of swingLen bars — a pivot is only confirmed after swingLen bars have passed to the right of the pivot bar. This is standard for pivot-based systems and is not repainting — it is real-time confirmation
Order blocks are spawned on structure confirmation bars. The OB origin candle is the most recent opposing candle within the lookback window prior to the structure event — representing the genuine institutional origin zone
The structural trend variable is persistent — once a bullish trend is established by a BOS/CHoCH, it remains bullish until a bearish structure break occurs. This means the structure layer can remain in a favorable state across many bars between signals
Maximum 500 labels and 500 lines and 300 boxes are rendered. On very active low-timeframe charts with long history, oldest labels, order block boxes, and liquidity lines may be removed by PulseWire's rendering limits
The VWAP calculation resets at each session start. On 24-hour crypto instruments, consider disabling the VWAP filter for best system behavior
The Trade Status section tracks position direction from signal to exit within the chart session — it does not connect to your broker or brokerage account
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who understand that price moves to take liquidity before it moves to deliver value — and who want a system precise enough to be positioned for that delivery every time. Indicator

Concordance Execution Model [JOAT]Concordance Execution Model
Introduction
Concordance Execution Model is a strategy framework that integrates regime detection, trend bias, structure direction, pressure, relative volume, regression confidence, and ATR risk management.
This open-source strategy is a research framework, not a performance claim. It demonstrates how rule-based confluence, realistic costs, risk controls, and confirmed-bar execution can be organized in Pine Script v6.
Core Concepts
1. Regime Filter
ALMA, EMA, structure, and regression confidence determine whether long or short entries are allowed.
2. Multi-Factor Entry Gate
Entries require confirmed structure or pullback context plus pressure, RVOL, and cooldown alignment.
3. ATR Risk Model
Stops, targets, trailing stops, structure invalidation, and time stops manage exits.
4. Confirmed-Bar Execution
Entry conditions are evaluated with confirmed bars to reduce repainting behavior.
longEntry = confirmed and regimeBull and pressureBull and rvolOk and cooled
Features
Regime, structure, pressure, and regression filters
ATR stop and target exits
Optional trailing stop
Structure invalidation and time stop exits
Dashboard and candle regime colors
Input Parameters
Structure pivot length and HTF bias
ALMA and regression confidence settings
Delta pressure, RVOL, and cooldown
ATR stop, target, trailing, and time stop
Panel and candle display toggles
Strategy Properties
Initial capital: 100000
Position sizing: 10 percent of equity
Pyramiding: 0
Commission: 0.02 percent
Slippage: 2 ticks
Stops and targets: ATR-based, with optional trailing stop
How to Use This Script
Use this as a transparent research framework. Test on multiple markets and review trade samples rather than relying on a single backtest.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Concordance is original in combining several independent model families into a realistic, non-pyramiding execution framework with explicit risk exits.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Strategy

Aurelian Structure Engine [JOAT]Aurelian Structure Engine
Introduction
Aurelian Structure Engine is a market structure and execution-context model that combines confirmed pivots, break events, HTF bias, anchored value, relative volume, and pressure scoring. It is built to separate meaningful structural breaks from ordinary candle noise.
This open-source indicator is designed as a context tool, not a standalone trading system. It focuses on explaining the current market state with restrained visuals and confirmed-bar logic where signals are used.
Core Concepts
1. Confirmed Swing Structure
Swing highs and lows are confirmed with pivot logic before the script evaluates breaks. ATR buffering helps prevent small wick violations from becoming structure events.
2. Bid and Offer Block Geometry
Recent opposing candles can become bid or offer blocks only when their vertical placement makes structural sense. Invalidated or overlapping blocks are removed.
3. Anchored Value Context
An EMA and yearly anchored VWAP stack define whether price is operating above or below value.
4. Tiered Quality Score
Pressure, RVOL, HTF bias, structure, and proximity are converted into B, A, and A+ style states.
bullScore = structure + pressure + rvol + htfBias + valueContext
Features
Confirmed BOS and CHoCH-style structure tracking
Bid and offer blocks with invalidation logic
EMA/VWAP value spine and structure bands
Volume pressure and RVOL scoring
A/B/A+ state labels and compact dashboard
Input Parameters
Swing pivot length and ATR buffer
Block search and extension controls
HTF bias timeframe
Pressure, RVOL, cooldown, and A+ score gates
Display toggles for bands, blocks, candles, and panel
How to Use This Script
Read the structure side first, then check whether pressure, RVOL, and HTF bias confirm the break. A+ labels require stronger agreement than A or B labels.
Limitations
The script uses historical OHLCV data and cannot know future prices.
Signals and states can be late during fast reversals because confirmed-bar logic is used to reduce repainting.
Model outputs should be interpreted with market context, risk controls, and independent analysis.
No visual state should be treated as a certain trade outcome.
Originality Statement
Aurelian is original in combining guarded bid/offer block geometry, confirmed structure, anchored value, and multi-factor signal quality into one restrained overlay.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All calculations are derived from historical market data and may produce inaccurate readings in some market conditions. No indicator can predict future market behavior. Use proper risk management and independent judgment.
-Made with passion by jackofalltrades
Indicator

Veyra Shift Ledger [JOAT]Veyra Shift Ledger
Introduction
Veyra Shift Ledger is an open-source execution-context ledger that combines trend, pressure, structure, auction location, displacement, and volatility state. It also draws qualified supply and demand zones anchored to confirmed swing memory.
The indicator is designed to show when several independent context layers align, while keeping signals confirmed and visually organized.
Core Concepts
1. Trend and Regime
Fast, mid, and slow EMAs define trend alignment. ADX, RSI, MACD, and VWAP context contribute to directional quality.
2. Pressure Engine
Signed candle body, range location, and volume are used to estimate bid or ask pressure.
3. Auction Location
Weighted price and deviation bands identify premium, discount, and value conditions.
4. Structure and Displacement
Confirmed pivots define swing memory. BOS, sweeps, and FVG-style gaps contribute to the structure side of the ledger.
5. Supply and Demand Zones
Zones are created only when quality gates pass. Demand zones anchor around confirmed pivot lows and supply zones anchor around confirmed pivot highs, with ATR-scaled height.
Features
Long and short ledger scores: Combines trend, momentum, pressure, structure, auction, and HTF context
Confirmed HTF filter: Optional higher-timeframe EMA uses confirmed previous HTF data
Supply/demand zones: Anchored to confirmed swing memory and ATR-scaled
Zone lifecycle: Zones change appearance when mitigated or invalidated
Execution rails: Optional educational entry, stop, and target projections
Dashboard: Shows scores, pressure, auction, structure, volatility, HTF, and trigger state
Input Parameters
EMA lengths control trend memory
Pressure and auction inputs control volume/weighted-price calculations
Pivot confirmation controls structure sensitivity
Score thresholds control signal selectivity
Risk inputs control optional rail projection
How to Use This Indicator
Step 1: Compare ledger scores
The dashboard shows whether long or short context has stronger evidence.
Step 2: Inspect zones
Supply and demand zones are contextual areas, not certain turning points.
Step 3: Watch mitigation state
Zone color changes help distinguish active, mitigated, and invalidated areas.
Indicator Limitations
Supply and demand zones are approximations from chart data
Pivot confirmation creates natural delay
Pressure is candle-derived and not true order book data
Execution rails are educational projections only
Originality Statement
Veyra Shift Ledger combines a multi-factor score ledger with swing-anchored supply/demand zones, auction context, pressure state, displacement logic, and zone lifecycle visualization.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Zones and scores can fail in live markets.
-Made with passion by jackofalltrades
Indicator

Vesper Candle Index [JOAT]Vesper Candle Index
Introduction
Vesper Candle Index is an open-source candlestick classification engine. Instead of marking every common candle pattern equally, it scores candle patterns using body quality, wick structure, trend location, volatility, and nearby structure context.
The indicator is designed to reduce pattern noise by ranking candle events and displaying only those that meet a configurable quality threshold.
Core Concepts
1. Candle Pattern Library
The script evaluates multiple candlestick states, including engulfing candles, hammers, stars, harami, inside breaks, marubozu, tweezers, rail patterns, and reclaim/reject conditions.
2. Quality Scoring
Each candidate pattern receives a score based on candle body, wick placement, trend context, volatility, and structure alignment.
3. Structure Context
Confirmed pivot levels are used to detect CHoCH-style breaks and candle reactions near recent structure.
4. Trade Projection Labels
When a candle state qualifies, the script can display compact educational entry, stop, TP1, and TP2 information.
5. Dashboard
The dashboard shows the current candle state, quality bucket, trend, structure, and recent signal context.
Features
Ranked candle states: Patterns are scored rather than treated equally
Structure-aware candles: Uses pivots and CHoCH context
Volatility-adjusted logic: ATR helps normalize wick and body requirements
Cooldown control: Reduces repeated pattern labels
Compact dashboard: Summarizes the highest-ranked current candle state
Confirmed patterns: Pattern events use confirmed bars
Input Parameters
Pattern sensitivity controls the quality threshold
Pivot length controls structure confirmation
ATR settings control wick/body normalization
Rail projection settings control optional visual projection length
How to Use This Indicator
Step 1: Focus on high-quality states
Use the quality score to separate strong candle states from weaker pattern appearances.
Step 2: Check structure alignment
Candle events near relevant structure are often more meaningful than isolated patterns.
Step 3: Avoid treating patterns as certainty
Candlestick patterns describe current bar behavior. They do not predict continuation or reversal.
Indicator Limitations
Candle patterns can fail in strong trend or news conditions
Pivot-based structure is delayed by the selected pivot length
The script classifies candles; it does not forecast future direction
Originality Statement
Vesper Candle Index adds scoring, structure context, volatility normalization, cooldown behavior, and a dashboard to candlestick analysis. Its value is in ranking candle quality rather than simply labeling every pattern.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Candlestick patterns can be misleading when used alone.
-Made with passion by jackofalltrades
Indicator

Parallax Regime Corridor [JOAT]Parallax Regime Corridor
Introduction
Parallax Regime Corridor is an open-source regime and corridor engine that blends trend efficiency, volatility state, structure change, and transition quality. It visualizes the active regime as a dynamic corridor and marks confirmed regime shifts or CHoCH-style structure changes.
Core Concepts
1. Adaptive Corridor
The corridor is built from an adaptive mean and ATR-based width. The band expands when volatility increases and contracts in quieter conditions.
2. Regime Candidate
Price location, trend slope, and directional evidence determine whether the candidate regime is bullish, bearish, or neutral.
3. Structure Change
Confirmed swing highs and lows are used to detect delayed bullish and bearish changes of character.
4. Transition Quality
The indicator scores whether volatility, trend, and structure agree before highlighting a shift.
5. Dashboard Context
The dashboard summarizes current regime, quality, volatility, structure, and recent shift state.
Features
Dynamic regime corridor: Adaptive mean and ATR width
Bullish, bearish, and neutral regimes: Clear state output
Confirmed CHoCH events: Uses pivot-confirmed structure references
Transition quality score: Combines regime and structure conditions
Candlestick coloring: Candles can reflect the active state
Top-right dashboard: Compact summary of state and quality
Input Parameters
Basis length controls the adaptive mean
ATR length and multiplier control corridor width
Pivot length controls structure sensitivity
Minimum score controls shift selectivity
How to Use This Indicator
Step 1: Read the corridor color
The corridor color identifies whether the script sees bullish, bearish, or neutral control.
Step 2: Watch shift events
Shift events show where the regime candidate changed on a confirmed bar.
Step 3: Treat CHoCH as delayed structure context
CHoCH events rely on pivot confirmation and should be interpreted as confirmed historical structure, not instant prediction.
Indicator Limitations
Pivot-based structure is delayed by the pivot length
Regime transitions can occur late during fast reversals
The corridor is a context layer, not a standalone trading system
Originality Statement
Parallax Regime Corridor combines adaptive corridor visualization, structure-change logic, volatility context, and transition scoring. It is designed to show how regime context evolves rather than simply plot a trendline.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Regime classifications can be wrong or late in unusual market conditions.
-Made with passion by jackofalltrades
Indicator

Volume-Weighted S/R Zones [WillyAlgoTrader]📊 Volume-Weighted S/R Zones is an overlay indicator that automatically detects support and resistance zones from price pivots, scores them by volume and price reaction, tracks breaks and retests, and instantly places a full risk-management plan on the chart with a stop-loss and three take-profits. No manual lines — everything is calculated and drawn automatically.
The core idea: not all levels are equal. A level where price reversed on heavy volume and ran far from it is dozens of times more valuable than a level formed on thin volume with no reaction. The indicator assigns each zone a Strength Score from 0 to 100 , combining volume at the pivot bar, price reaction strength, and touch count — and displays only the zones that actually work.
The indicator is completely free and open-source . Works on any instrument (crypto, forex, stocks, futures, indices) and any timeframe.
🧩 WHY THESE COMPONENTS WORK TOGETHER
A classic pivot indicator draws lines on every local high and low — the chart turns into a mess of dozens of levels, and it's impossible to tell which ones matter. Volume profiles show where heavy trading happened, but don't tie that to specific reversal levels. Pure Price Action gives the right zones, but requires manual markup.
This indicator solves all three problems with one integrated pipeline:
Pivot Detection → Volume Score + Reaction Score → ATR clustering of nearby pivots → Strength Score 0..100 → Age Decay → Break Detection (with filters) → Retest Detection → Zone-Aware SL/TP → Trade Statistics
Each step adds something the previous one cannot. Pivot Detection finds raw reversal points. Volume Score answers the question "was there heavy trading here". Reaction Score answers "did price bounce off the level". ATR clustering merges pivots into a single zone if they sit within N×ATR — giving zone width instead of a thin line. Age Decay gradually reduces the weight of old zones. Break/Retest turn zones into trade signals. Zone-Aware SL places the stop behind the broken zone instead of at an abstract ATR distance. Trade Stats show whether your settings actually work on your instrument.
Remove any component and the system breaks: pivots without scoring are noise, scoring without clustering produces dozens of thin lines, clustering without break/retest gives no signals, signals without zone-aware SL get stopped out on noise.
🔍 WHAT MAKES THIS INDICATOR ORIGINAL
1️⃣ Strength Score 0..100 — three-component zone quality measurement.
Each zone receives a strength score by the formula:
Score = VolScore + ReactionScore + 10 (base bonus), then clamp(0, 100)
Where:
— VolScore (0..40) : computed as min(40, volumeRatio × 20) , where volumeRatio = volume on the pivot bar / average volume over N bars (default 20). On instruments without volume (some forex pairs) a base value of 20 is assigned.
— ReactionScore (0..30) : measured as min(30, max_move / ATR × 10) , where max_move is the maximum price movement AWAY from the pivot in the first N bars after it (default 5). Computed against ATR at the pivot bar, not current ATR — this is the correct normalization.
When the same zone is touched again (a new pivot within ATR × MergeDistance radius, default 0.5), zones merge, the touch counter grows, and a bonus of min(20, √touches × 4) × 0.5 is added to the score. This means: 4 touches give +4, 9 touches +6, 16 touches +8. Logarithmic growth to avoid over-weighting.
Zones are divided into 4 tiers by score: ★ (weak, 0-30), ★★ (medium, 30-60), ★★★ (strong, 60-85), 🔥 (very strong, 85+) . The tier is shown directly on the zone label and affects box transparency — stronger zones are more visually prominent.
2️⃣ Age Decay — old zones lose strength gradually, not abruptly.
Each bar the zone score is reduced by ageDecayRate × 0.1 . By default (0.5) that's −0.05 per bar, so a zone loses about 25 points over 500 bars. This gives an honest forgetting mechanism: a level from last week matters, but not as much as a level from last hour. Can be disabled (set to 0) or made aggressive (1.0 = −0.10 per bar).
Additionally zones are removed by three conditions: age exceeds Max Zone Age (default 30 Days, measured independently of timeframe), score drops below MIN_VIABLE_SCORE = 5.0 , or zone is broken and more than 2×ReactionWindow bars have passed since the break (nobody will retest a stale broken zone).
3️⃣ Break Detection with a dual-volume filter (floor + cap).
The standard "break volume ≥ N×average" filter is easily bypassed by news spikes and gaps. Solution:
— Volume Floor : volume ≥ avg × VolMult (default 1.3) — filters thin-volume breakouts.
— Volume Cap (optional) : volume ≤ avg × VolCap (default 5.0) — filters abnormally large candles (opening gaps, news spikes). Especially important on stocks.
Additionally: Momentum Filter requires the break candle's range to be ≥ N×ATR (default 1.0). This filters "doji breaks" where the candle body barely crossed the level.
4️⃣ Retest Detection with reaction validation.
After a break, the indicator waits for a retest within a Min..Max bars window (default 2..30). A retest counts only if:
— Price touched the broken zone (low ≤ zoneTop for a bullish break)
— Price closed back in trend direction (close > zoneTop)
— Reaction from the zone ≥ ATR × ReactionMin (default 0.5×ATR)
Optionally enable Mitigation Filter , which skips a retest if the zone was already tested once — for traders who only want the first retest.
5️⃣ Zone-Aware Stop-Loss — stops behind real structure, not in thin air.
With Zone-Aware SL enabled, the stop is placed not just at ATR×Mult distance, but by formula:
— For long: SL = max(close − ATR×SLMult, zoneBot − ATR×0.2)
— For short: SL = min(close + ATR×SLMult, zoneTop + ATR×0.2)
The LESS aggressive stop is chosen: either the standard ATR stop, or "behind the zone with a 0.2×ATR buffer". Logic: if the zone is broken, it became resistance (for longs) or support (for shorts). If price returns back INTO the zone — the breakout idea is invalidated, you should exit. This gives a clear exit criterion and usually a wider but more meaningful stop.
6️⃣ Risk presets and three take-profits with partial scaling.
Four ready-made risk presets:
— Conservative : SL 2.5×ATR, TP 1R / 2R / 4R
— Balanced (default): SL 1.5×ATR, TP 1R / 2R / 3R
— Aggressive : SL 1.0×ATR, TP 1.5R / 2.5R / 4R
— Scalping : SL 0.8×ATR, TP 0.8R / 1.5R / 2R
— Custom : configure manually
The model assumes splitting the position into three equal parts: 1/3 on TP1, 1/3 on TP2, 1/3 on TP3. When a TP is touched, the line turns solid cyan with a ✓ checkmark.
7️⃣ Break-Even Trail — after TP1 the stop automatically moves to entry.
With Break-Even After TP1 enabled, on first touch of TP1 the SL is pulled to the entry price. Only TP2 and TP3 remain in play — but the risk is now zero. If price reverses, the trade closes at break-even instead of the original stop. Classic "protect profit, let winners run" model.
Implemented carefully: BE activates only after a confirmed TP1 touch (with no SL break on the same bar), and on the same bar TP1 + SL is always resolved as a stop (conservative model — real brokers don't guarantee limit fills before stops on the same wick).
8️⃣ Session Trade Statistics — tracking real effectiveness.
The dashboard tracks stats right on the chart:
— Trades : total closed trades
— W/L : wins vs losses
— Win Rate : % of wins. A WIN = TP1 reached . This is a deliberate classification: if the idea worked and TP1 closed — that's a success, even if TP2/TP3 didn't fill and exited at BE.
— BE saves : diagnostic counter. How many wins closed via BE-stop rather than TP3. High BE saves ratio → TP3 is set too far.
— Avg R : average R-multiple per trade. Calculated assuming partial scaling (1/3 at each TP).
Stats reset on any settings change (including a dedicated Reset Stats Counter input made specifically for manual resets).
9️⃣ Fully adaptive theme and WCAG-contrast colors.
All colors are calculated for both PulseWire themes (Dark/Light) with WCAG AA contrast verification (4.5:1 minimum). Label text on tinted backgrounds is chosen so it remains readable on both themes. Auto-detection by chart background color, or manual Dark/Light selection in settings.
🔟 TF-independent zone aging.
Max Zone Age can be set in Bars / Hours / Days . This means "30 Days" is always 30 calendar days regardless of timeframe (on 5m it's 8640 bars, on 1h — 720, on 1D — 30). Legacy indicators use bars only, which makes them break when you switch TFs — fixed here.
🧠 HOW IT WORKS — step-by-step calculation flow
Step 1 — Pivot Detection: on each bar, ta.pivothigh and ta.pivotlow are checked with equal left/right lookback (default 21). A pivot is confirmed only after N bars pass — so the indicator does NOT repaint already-drawn zones.
Step 2 — Volume Score: for a confirmed pivot, VolScore is computed against the volume on the pivot bar itself (not the current bar).
Step 3 — Reaction Score: the maximum price movement AWAY from the pivot is measured over the next N bars. ATR at the pivot bar is used for correct normalization.
Step 4 — Merge or Create: if there's already a same-type zone within ATR × MergeDistance — the pivot merges into it (zone widens, score updates, touch counter increments). Otherwise a new zone is created with boundaries ±0.15×ATR from the pivot price.
Step 5 — Age Decay & Cleanup: a reverse pass over the zone array applies decay, removes too-old, too-weak, and stale broken zones. If active zones exceed Max Active Zones — the weakest is removed.
Step 6 — Break Detection: on every confirmed bar, every unbroken zone is checked for a break. Volume Floor, Volume Cap, and Momentum Filter are applied if enabled.
Step 7 — Retest Detection: after a break, a retest with confirmed reaction is searched for in the Min..Max bars window.
Step 8 — Risk Management: on a signal (Break or Retest), with risk management enabled, a virtual position opens with SL and three TPs calculated.
Step 9 — Trade Lifecycle: on each bar, SL/TP touches are checked. TP1 → BE activates. SL or TP3 → position closes, stats update.
Step 10 — Visual & Alerts: zone boxes, SL/TP lines, BRK/RT markers, dashboard — all refresh on the last bar. Alerts fire on bar close.
📖 HOW TO USE — EVEN IF YOU'RE NEW
🎯 Quick start (3 minutes):
1. Add the indicator to your chart (any instrument, any timeframe).
2. Wait 30–50 bars — the indicator needs history for calculations. Zones will appear after that.
3. Look at the dashboard in the top-right corner — it shows current trend, active signal, and position state.
4. Don't change settings on day one. Work with defaults to understand how the indicator "breathes" on your instrument.
5. When you see a BRK or RT signal — look at the horizontal SL/TP1/TP2/TP3 lines. That's your trade plan.
👁️ Reading the chart:
— 🟢 Green box = support zone (Demand). Price approaches from below.
— 🔴 Red box = resistance zone (Supply). Price approaches from above.
— Box transparency = zone strength. The more opaque, the stronger.
— Icon on the label : ★ weak, ★★ medium, ★★★ strong, 🔥 very strong.
— ×N on label = number of zone touches.
— ✕ on label = zone already broken (you can hunt for a retest).
— BRK green below bar = resistance broken upward.
— BRK red above bar = support broken downward.
— RT = confirmed retest of broken level.
— Dotted blue line = entry price of the active trade.
— Solid red line = stop-loss. When it becomes dimmed + ENTRY label says "→ SL (BE)" — stop has moved to break-even.
— Dashed green lines = TP1, TP2, TP3. When they turn solid cyan with ✓ — that TP is reached.
📊 Dashboard (top-right by default):
— Trend : Bullish / Bearish / Neutral. Calculated as weighted difference of zone strength above vs below price.
— Signal : current status (BREAK ▲, RETEST ▼, Long Active, Wait, etc.).
— Score : strength of active signal or strongest zone.
— Zones : number of active zones on chart.
— TF : timeframe.
— SL / TP1 / TP2 / TP3 : risk management prices for the active trade.
— R:R : risk/reward ratio to TP1.
— Risk : % of price you risk to the stop.
— Trades / W/L / Win Rate / BE saves / Avg R : session stats.
🔧 Tuning — what to change and when:
— Too many zones, chart cluttered: raise Min Score to Display to 30–40. Raise Zone Merge Distance to 0.7–1.0.
— Too few zones: lower Pivot Lookback to 10–15. Lower Min Score to 0–10.
— Scalping 1m–5m: use Scalping preset, Pivot Lookback 5–8, ATR Length 10.
— Swing 1h–4h: Balanced preset, Pivot Lookback 21 (default), Max Zone Age 30 Days.
— Position trading 1D: Conservative preset, Pivot Lookback 10–15, Max Zone Age 90 Days.
— False breakouts eat your account: enable Volume Filter for Breaks + Momentum Filter.
— Trading stocks/indices with gaps: keep Volume Cap on (it's on by default).
— Want only the first retest: enable Mitigation Filter for Retests.
— Frequently closing at BE without profit: check BE saves in dashboard. If >50% of wins — TP3 is too far, shorten it.
💡 Trading ideas:
— Most reliable setup: retest of a strong zone (★★★ or 🔥) in the dashboard trend direction .
— Don't trade against the strongest zone (🔥) in your path — wait for it to break first.
— A zone touch without confirmed reaction is NOT a signal. The indicator filters this for you, but don't try to "guess" the bounce in advance.
— Use Trade Stats as feedback. If after 50 trades Win Rate < 40% and Avg R < 0 — change settings or timeframe.
⚙️ KEY SETTINGS
⚙️ Main Settings:
— Pivot Lookback (default 21): how many bars on each side must be lower/higher for a pivot
— Max Active Zones (default 8): max number of active zones on chart
— Zone Merge Distance (default 0.5×ATR): merge radius for nearby pivots
— Min Score to Display (default 15): hide zones weaker than this
📦 Zone Detection:
— ATR Length (default 14): ATR period for all calculations
— Volume Avg Lookback (default 20): average volume window
— Reaction Window (default 5): bars to measure reaction after a pivot
— Age Decay Rate (default 0.5): zone aging speed
— Max Zone Age (default 30 Days): maximum zone age
— Max Zone Age Unit (Bars / Hours / Days)
🔍 Filters (optional):
— Volume Filter for Breaks (default off): require volume ≥ N×average on break
— Volume Multiplier (default 1.3)
— Volume Cap (default on, 5.0): filter abnormal spikes
— Momentum Filter (default off): require candle range ≥ N×ATR
— Mitigation Filter (default off): first retest only
🎯 Signals:
— Show Break Signals / Show Retest Signals
— Min/Max Bars for Retest (default 2 / 30)
— Min Retest Reaction (default 0.5×ATR)
🛡️ Risk Management:
— Enable Risk Management (default on)
— Risk Preset (Conservative / Balanced / Aggressive / Scalping / Custom)
— SL ×ATR , TP1/TP2/TP3 ×Risk (for Custom)
— Zone-Aware SL (default on): place stop behind the zone
— Break-Even After TP1 (default on)
— Show SL/TP Lines / Labels
— Show % Distance on Labels
— Entry/SL/TP Line Style (Solid / Dashed / Dotted)
🎨 Visual:
— Theme (Auto / Dark / Light)
— Show Zones / Score Labels / Watermark
— Zone Forward Bars (default 5): how many bars to project zones forward
— SL/TP Label Font Size , Signal Marker Size
📊 Dashboard:
— Show Dashboard , Position
— Show Trade Stats (W/L, Win Rate, Avg R, BE saves)
— Reset Stats Counter : changing the value resets stats
🔔 ALERTS
— 🟢 BREAK UP — resistance broken upward, with price, score, SL, and three TPs
— 🔴 BREAK DOWN — support broken downward
— 🟢 RETEST LONG — confirmed long retest
— 🔴 RETEST SHORT — confirmed short retest
— 🎯 TP1 / TP2 / TP3 HIT — target reached (optional)
— 🛑 SL HIT / 🛡️ BE STOP-OUT — stop-loss hit or break-even close
— 🛡️ BREAK-EVEN ACTIVATED — stop moved to entry
All alerts available in two formats: plain text (readable for Telegram/Discord) and JSON (for webhook automation). Fire on bar close (alert.freq_once_per_bar_close) — no intra-bar flooding.
⚠️ IMPORTANT NOTES
— 🚫 No repainting. All signals use barstate.isconfirmed. Pivots are confirmed with equal left/right lookback — meaning the pivot point is always N bars in the past. This is delayed confirmation, not repainting of future values. Zones don't move after they appear.
— 📐 Zones are built from confirmed pivots. This means a zone appears on the chart N (Pivot Lookback) bars after the extreme formed. On the most recent 21 bars to the right there will be no zones — this is normal and correct.
— ⚖️ On instruments without volume (some forex pairs, some indices) VolScore defaults to 20 out of 40. Zone quality scoring is lower than on crypto/stocks with real volume.
— 🛠️ This is an analysis tool, not an automated bot. The indicator finds zones, marks signals, and proposes a structured trade plan — but entry decisions are YOURS. Past performance does not guarantee future results.
— 📊 Trade Stats counts virtual trades based on indicator signals, without slippage, commissions, or real liquidity. Use as a reference, not as a promise of results.
— 🌐 Universal compatibility: works on any ticker and timeframe. On tick/Renko charts, Hours/Days options for Max Zone Age automatically fall back to 500 bars.
— 💯 Completely free, open-source. Study the code, fork it, modify it for yourself.
If you found this indicator useful — leave a 🚀 and follow the author profile to see updates and new publications. Questions and feedback welcome in the comments. Indicator

Elaris Session Strength Indicator## Elaris Session Breakout Pro
Elaris Session Breakout Pro is a clean and professional session-based trading indicator designed to help traders identify high-probability breakout opportunities during key market sessions such as London and New York.
The indicator automatically tracks the opening range of the selected session and highlights breakout confirmations when price closes above or below the defined session range. This allows traders to quickly spot momentum expansion, liquidity-driven moves, and potential intraday trend continuation setups without manually drawing levels.
Built with a strong focus on clarity, usability, and real-time decision support, the indicator is optimized for scalpers, day traders, and momentum traders across crypto, forex, and index markets.
### Key Features
• Automatic session opening range detection
• Dynamic breakout signals for bullish and bearish moves
• Non-repainting breakout confirmations
• Clean chart visualization with minimal clutter
• Configurable session timings and breakout logic
• Visual breakout labels and session range plotting
• Suitable for crypto, forex, and traditional markets
• Optimized for lower timeframes and intraday trading
### How It Works
The indicator monitors the first candle or opening range of the selected trading session. When price successfully closes above the session high, a bullish breakout signal is generated. When price closes below the session low, a bearish breakout signal is generated.
This approach helps traders identify moments where liquidity and volatility expand during active market hours, often leading to strong directional movement.
### Best Use Cases
• London session breakout trading
• New York open momentum trades
• Crypto volatility expansion setups
• Intraday trend continuation strategies
• Liquidity and range breakout confirmation
### Notes
Like all trading indicators, this tool should be used as part of a complete trading plan with proper risk management and confirmation techniques. Market conditions can vary, and no indicator guarantees profitability or a 100% win rate.
PulseWire session concepts referenced in this script are based on PulseWire’s official Pine Script session documentation.
Indicator

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

Regime Execution Strategy [JOAT]Regime Execution Strategy
Introduction
Regime Execution Strategy is an open-source PulseWire strategy that integrates adaptive forecast context, extreme-channel state, trend pressure, relative volume, and EMA structure into a single rule-based execution model. The strategy is designed to be realistic, non-repainting, and readable rather than curve-fit to one symbol.
The problem it solves is trade filtering. A single signal source can trigger too often in poor conditions. Regime Execution Strategy requires multiple independent votes before entries are allowed, then uses ATR-based stop and target logic for consistent risk framing.
Core Concepts
1. Adaptive Forecast Bias
The strategy estimates a dynamic mean and band structure. Price above or below the adaptive mean contributes to directional bias.
2. Extreme Channel Bias
Persistent upper and lower channel levels define a midpoint and directional state. The channel contributes a second independent vote.
3. Pressure and Structure Gate
Momentum, pullback location, and fast/slow EMA structure contribute to the regime score. A minimum vote count and relative-volume filter are required before entry.
longSignal = barstate.isconfirmed and bullVotes >= voteThreshold and bullRegime and (longBreakout or longReclaim)
4. ATR-Based Risk Management
Stops and targets are derived from ATR and position average price. The strategy also includes max drawdown and max intraday filled order risk controls.
Features
Integrated regime detection: Forecast, channel, pressure, and EMA structure combine into a regime score
Multi-vote entry logic: Entries require several independent components to align
More active defaults: Default RVOL and regime thresholds are permissive enough to participate across many timeframes
ATR stop and target: Risk is framed with volatility-adjusted exits
Bias-flip exits: Positions can close when the opposing regime gains enough votes
Risk controls: Max drawdown and max intraday filled orders are included
Overlay visuals: Forecast bands and adaptive channel context can be displayed on chart
Top-right dashboard: Regime, score, pressure, RVOL, votes, position, band width, and setup
Alerts: Long and short setup events
Input Parameters
Forecast:
Source, Forgetting Factor, Regression Horizon, Band Multiplier, ATR Blend, and Rebase Interval
Regime:
Fast EMA and Slow EMA: Trend structure references
Pressure Length: Momentum and pullback window
Pressure Threshold: Minimum pressure vote threshold
Min RVOL: Participation filter
Min Votes: Minimum number of aligned components for entries
Risk:
Stop ATR: Stop distance multiplier
Target ATR: Target distance multiplier
Max Drawdown %: Strategy risk halt setting
Max Intraday Filled Orders: Limits daily trade frequency
How to Use This Strategy
Step 1: Read the dashboard regime before judging entries.
Step 2: Use votes and pressure to understand why a setup qualified.
Step 3: Review stop and target settings for the symbol and timeframe being tested.
Step 4: Evaluate results across multiple markets and date ranges, not one optimized window.
Strategy Limitations
This strategy is not optimized for a specific symbol or timeframe
More active defaults can increase trade count and also increase exposure to choppy periods
Backtest fills are simulated by PulseWire and may not match live execution
All entry signals use confirmed-bar logic, so entries can occur after the intrabar move has begun
Strategy performance should be evaluated with realistic commission, slippage, and position sizing
Originality Statement
Regime Execution Strategy is original in its integration of adaptive forecast bias, extreme-channel state, pressure voting, relative volume gating, EMA structure, ATR exits, and dashboard reporting into one open-source strategy. It does not copy third-party source code.
Disclaimer
This open-source strategy is for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any instrument. Backtested results do not predict future performance. Trading involves substantial risk, and users are responsible for their own risk management.
-Made with passion by jackofalltrades
Strategy

AlligatorFlex Reversal Engine
AlligatorFlex Reversal Engine detects potential early trend-shift conditions using modified Alligator structure, line slope, volume expansion, and range confirmation.
NASDAQ:QQQ
AlligatorFlex Reversal Engine is a modified Alligator-style indicator designed to identify potential early trend-shift conditions using slope, volume, and price-range validation.
Unlike a traditional Alligator indicator that only plots trend structure, AlligatorFlex adds confirmation filters to highlight moments where the market may be transitioning from one directional state to another.
The indicator uses three EMA-based Alligator lines:
- Jaw: slower structure line
- Teeth: medium structure line
- Lips: faster structure line
Each line changes color based on its current slope, allowing traders to quickly visualize whether the internal structure is pushing upward or downward.
Signal validation includes:
- All three Alligator lines must show directional slope.
- Current volume must exceed the average volume by a user-defined multiplier.
- The recent price range must expand beyond its average range.
- Line structure must meet the required alignment condition.
A LONG signal appears when the Alligator structure is still positioned in a bearish alignment, but all three lines are rising with strong volume and range expansion. This can suggest a possible bullish reversal or early recovery attempt.
A SHORT signal appears when the structure is still positioned in a bullish alignment, but all three lines are falling with strong volume and range expansion. This can suggest a possible bearish reversal or early rejection.
This makes the indicator useful for traders looking for possible transition zones, reversal pressure, momentum shifts, and early directional expansion.
Best used with:
- Higher timeframe trend context
- VWAP
- Support and resistance
- Market structure
- Volume analysis
- Breakout or reclaim setups
AlligatorFlex Reversal Engine helps traders detect potential early market shifts by combining a modified Alligator structure with slope, volume, and range expansion filters.
Instead of only showing moving average lines, the indicator evaluates whether the market is showing enough directional pressure to justify a possible transition signal.
It highlights moments where:
- Alligator lines begin to slope in the same direction
- Volume expands above average
- Price range expands beyond normal conditions
- Structure suggests a possible reversal or directional shift
LONG and SHORT labels are plotted directly on the chart when all confirmation layers align.
The goal of AlligatorFlex is to help traders spot possible early reversal pressure before a fully developed trend becomes obvious.
Jaw Length:
Controls the slowest Alligator structure line.
Teeth Length:
Controls the medium Alligator structure line.
Lips Length:
Controls the fastest Alligator structure line.
Volume Length:
Defines the lookback period used to calculate average volume.
Range Length:
Defines the lookback period used to calculate recent price-range expansion.
Slope Threshold:
Minimum slope required from each Alligator line before a signal can be considered valid.
Volume Multiplier:
Requires current volume to be greater than average volume by the selected multiplier.
Range Multiplier:
Requires the recent price range to expand beyond its average range by the selected multiplier.
Limitations:
- This is a modified Alligator-style indicator, not the classic Williams Alligator.
- Signals are designed for potential early shifts, not confirmed trend continuation.
- Volume filters may behave differently across markets with unreliable or synthetic volume.
- Range expansion can trigger late signals after a move has already started.
- Choppy markets can still produce false signals.
- The indicator does not include stop loss, take profit, or position sizing logic.
Important:
This indicator is not a standalone trading system and does not predict future price movement. It is designed as a visual confirmation tool for identifying potential directional shifts. Signals may fail during choppy, low-liquidity, or range-bound conditions. Indicator

Crown Structure Ledger [JOAT]Crown Structure Ledger
Introduction
Crown Structure Ledger is an open-source market structure ledger built to classify price through three structural horizons at the same time: short-term, intermediate-term, and primary-term.
Instead of reducing structure to a single swing model, this script maintains separate rails for each horizon so users can see where local repricing, intermediate repricing, and larger campaign structure are currently positioned.
The indicator is designed to solve a common chart-reading problem:
Traders often know price is moving, but they do not know whether the move is merely a short-term impulse inside a larger range, an intermediate continuation, or a genuine primary expansion.
Crown Structure Ledger addresses that by combining:
confirmed pivot structure
active break state tracking
adaptive ATR corridors
EMA trend context
volume-pressure bias scoring
state-based candle coloring
forward structure projection
a top-right institutional dashboard
The output is intentionally visual but restrained.
Instead of cluttering the chart with excessive markers, the script emphasizes live structural rails, shaded corridors, confirmed state transitions, and a dashboard that summarizes the current condition of each structural layer.
Core Concepts
1. Three-Horizon Structure Mapping
The script confirms three separate pivot systems using different left/right lengths.
This creates a short-term layer for local impulse, an intermediate layer for swing control, and a primary layer for broader directional structure.
Each confirmed pivot updates its own active rail instead of overwriting the other layers.
2. Confirmed Break Logic
Break states are only recognized on confirmed bars.
This means the script does not react to intrabar spikes through a level.
A structural state changes only when price closes through a live rail beyond a small corridor allowance.
3. Adaptive Structure Corridors
Every rail is wrapped in an ATR-based corridor.
When adaptive depth is enabled, the corridor expands or contracts according to volatility conditions so the structure model stays usable across slow and fast environments.
4. Pressure-Weighted Bias
The indicator includes a directional pressure score based on up-volume versus down-volume across a configurable window.
That pressure score is combined with EMA orientation and structure state to create a bias color system rather than a binary trend flag.
5. Forward Projection
Current structural rails can be extended forward so the user can see where the next important structural interaction is likely to occur without manually drawing continuation levels.
Features
Three structure horizons: short, intermediate, and primary rails tracked independently
Adaptive structure corridors: live ATR-based zones around active rails
Confirmed structural transitions: break states only update on confirmed bars
Break labels: optional state labels appear when a new structural expansion or compression is confirmed
EMA trend filter: fast and slow EMA alignment supports the structure interpretation
Volume-pressure bias model: directional pressure is estimated from relative up-volume and down-volume
Bias cloud: optional background cloud reflects broader directional control
Candle coloring: bars can be colored from bearish to bullish using a gradient-like bias response
Forward corridor projection: active rails can extend to the right edge of the chart
Institutional dashboard: top-right summary of structure state, bias, pressure, and live rail context
Input Parameters
Structure Engine
Short Pivot Length
Intermediate Pivot Length
Primary Pivot Length
Structure Corridor ATR
Adaptive Corridor Depth
ATR Length
Bias Filter
Fast EMA
Slow EMA
Pressure Window
Color Candles
Show Structure Cloud
Show Structure Rails
Show Break Labels
Visual System
Show Short Term
Show Intermediate Term
Show Primary Term
Show Forward Corridor
Forward Corridor Bars
Dashboard Position
Dashboard Size
How to Use This Indicator
Step 1: Read the Three States Separately
Start by checking whether short-term, intermediate-term, and primary-term structure agree.
When all three align, the chart is in a cleaner directional condition.
When they diverge, the market is often transitioning or rotating.
Step 2: Watch the Active Rails
The live rails mark the current structural boundaries that still matter.
These are the levels price must reclaim or lose to produce a confirmed structural update.
Step 3: Use the Corridors, Not Just the Line
The corridor around a rail is intentional.
It helps avoid overreacting to shallow level breaches in noisy conditions.
Step 4: Read the Bias Cloud and Candle Tone Together
If candle color, pressure bias, and the structure cloud all point in the same direction, the chart context is stronger than a single rail break by itself.
Step 5: Use the Dashboard as a Summary, Not a Shortcut
The dashboard is there to reduce scanning time.
It is best used as a summary of what the rails are already showing visually.
Indicator Limitations
Pivot-based structure confirms after the configured right-side bars complete, so signals are intentionally delayed for non-repainting behavior
Very aggressive settings can make the short-term layer overly sensitive on low-quality markets
In prolonged compression, structure may appear stable while directional follow-through remains weak
The indicator explains current structure; it does not guarantee continuation after a break
Originality Statement
Crown Structure Ledger is built around a layered structure ledger rather than a single swing map.
Its distinguishing value comes from maintaining three live structure horizons with adaptive corridors, pressure-aware bias scoring, forward projection, and a dashboard that keeps the chart readable while still exposing the full state of the engine.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice and should not be treated as a recommendation to buy or sell any financial instrument.
All structural readings are derived from historical price and volume data and can fail in abnormal market conditions.
Always use independent judgment and risk management.
Indicator

Elaris FVG Inversion ProElaris FVG Inversion Pro
Advanced Fair Value Gap & Inversion Mapping System
Elaris FVG Inversion Pro is a professional-grade market structure and imbalance visualization tool designed to help traders identify fair value gaps (FVGs), inversion fair value gaps (IFVGs), and potential reaction zones directly on the chart.
The indicator focuses on price inefficiencies created by aggressive directional movement and highlights areas where price may revisit, react, continue, or reverse.
Instead of displaying excessive noise, the system uses smart filtering logic, mitigation tracking, and optional trend confirmation to provide a cleaner and more structured view of market imbalance behavior.
━━━━━━━━━━━━━━━━━━
Core Features
━━━━━━━━━━━━━━━━━━
• Bullish & Bearish Fair Value Gap Detection
Automatically identifies three-candle imbalance structures in real time.
• Inversion Fair Value Gaps (IFVG)
Detects when previously established imbalance zones transition into potential reversal zones after invalidation.
• Non-Repainting Confirmed Detection
Signals and zones can be confirmed only after candle close to maintain stable historical plotting.
• Smart Gap Filtering
Optional ATR, volume, and EMA trend filters help reduce low-quality or insignificant zones.
• Dynamic Zone Management
Zones automatically extend forward and can be configured to expire or hide after mitigation.
• Mitigation Tracking
Supports multiple mitigation models including:
* Proximal
* Midpoint (50%)
* Distal
• Quality Scoring System
Each zone is evaluated using volatility and structure-based conditions to help prioritize stronger imbalances.
• Dark & Light Mode Compatible
Designed for clean visibility across different PulseWire chart themes.
• Professional Dashboard
Displays active bullish, bearish, and inversion zones along with trend-state information.
━━━━━━━━━━━━━━━━━━
How It Works
━━━━━━━━━━━━━━━━━━
Bullish FVG:
Forms when price leaves an upside imbalance between candles, potentially creating a future demand area.
Bearish FVG:
Forms when price leaves a downside imbalance, potentially acting as future supply.
IFVG:
Occurs when price invalidates an existing FVG and the zone transitions into a potential reversal area.
The indicator can be used for:
* Trend continuation setups
* Pullback entries
* Liquidity-based reactions
* Market structure analysis
* Confluence with support/resistance or liquidity concepts
━━━━━━━━━━━━━━━━━━
Best Practices
━━━━━━━━━━━━━━━━━━
Higher timeframe FVGs generally produce stronger reactions than lower timeframe gaps.
Using the optional EMA and volume filters may help improve signal quality during volatile or choppy market conditions.
For confirmation-based trading approaches, combine FVG reactions with structure breaks, momentum shifts, or liquidity sweeps.
━━━━━━━━━━━━━━━━━━
Notes
━━━━━━━━━━━━━━━━━━
This indicator is intended for technical analysis and educational purposes.
No indicator guarantees future performance, and traders should always apply proper risk management and independent confirmation before making trading decisions.
Indicator
