Pymander's EZ MTF Regime Filter**Pymander’s EZ MTF Regime Filter** is a multi-timeframe trend and market-condition tool designed to help traders see whether several larger timeframes are aligned bullish, bearish, or neutral.
The indicator analyzes five customizable timeframes and combines their readings into one easy-to-understand regime score ranging from **-100 to +100**.
* Scores above zero show bullish alignment.
* Scores below zero show bearish alignment.
* Readings near zero suggest mixed, neutral, or transitioning conditions.
* Readings near +100 or -100 show strong agreement across the selected timeframes.
Traders can choose between two methods for determining the trend on each timeframe:
* **EMA Alignment:** Looks at price position and the relationship between fast and slow moving averages.
* **Supertrend:** Uses volatility-based trend direction to classify each timeframe.
The final score is smoothed into a clear momentum-style wave, making it easier to recognize strengthening trends, weakening alignment, and possible regime changes.
Key features include:
* Five fully customizable timeframes
* Bullish, bearish, and neutral regime scoring
* EMA Alignment or Supertrend-based analysis
* Optional volume confirmation
* Optional local Supertrend confirmation
* Breakout-based BUY and SELL labels
* Bullish and bearish multi-timeframe divergence detection
* Adjustable score smoothing
* Clean area, line, and glow visuals
The BUY and SELL signals are designed to appear only when several conditions agree. The multi-timeframe score must show strong directional alignment, price must break a recent high or low, and the optional volume and Supertrend filters must confirm the move.
What sets EZ MTF Regime Filter apart from a basic trend indicator is its ability to combine several timeframes into one unified market reading. Instead of checking multiple charts individually, traders can quickly see whether short-, medium-, and higher-timeframe conditions are working together or conflicting.
The divergence markers can also help identify moments when price continues making new highs or lows while broader timeframe alignment begins to weaken, potentially warning of fading momentum or an upcoming shift.
Use this tool as a directional filter, confirmation layer, or market-regime guide alongside proper risk management, price structure, and a tested trading plan.
Best of luck with your trading. Stay disciplined, remain patient, and always protect your capital.
— **Pymander**
Indicator

Pymander's EZ Trend Alignment**Pymander’s EZ Trend Alignment** is a clean and easy-to-read trend-following indicator designed to help traders quickly identify bullish and bearish market direction.
The tool combines the Commodity Channel Index with an ATR-based trailing trend line. In simple terms, the CCI measures whether momentum favors buyers or sellers, while the ATR calculation adjusts the trend line to current market volatility.
When bullish momentum is present, the line trails beneath price and displays green. When bearish momentum takes control, the line moves above price and displays red. The trailing logic helps traders follow established trends while recognizing possible shifts in direction.
The indicator includes two coloring styles:
* **Original Coloring:** Changes color based directly on bullish or bearish CCI momentum.
* **Trend Coloring:** Changes color based on whether the trailing line is rising or falling.
Pymander’s EZ Trend Alignment may be used to confirm market direction, filter long and short setups, identify possible trend changes, follow directional moves, and avoid trading against established momentum.
Its strength is simplicity. Rather than cluttering the chart with unnecessary signals, it provides a clear visual guide to help traders determine whether price, momentum, and volatility are aligned.
As with any indicator, use it alongside proper risk management, market structure, and a tested trading plan. No indicator can guarantee profitable results.
Best of luck in the markets, traders. Stay patient, remain disciplined, and protect your capital.
— **Pymander**
Indicator

MTF Bias TableScript name
QE — MTF Bias Table
Short description
Multi‑timeframe trend bias dashboard. Compares fast vs. slow MA alignment across 5m through 1M to classify each timeframe as bullish or bearish at a glance.
Description
QE — MTF Bias Table is a non‑repainting, multi‑timeframe trend dashboard built for traders who need higher timeframe context before entering lower timeframe setups. It evaluates fast vs. slow moving average alignment across eight timeframes (5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M) and prints a clean, color‑coded table directly on the chart.
The indicator is intentionally designed to pair with order‑flow, structure, and liquidity tools. It does not predict direction; it answers one question: “Is this timeframe aligned bullish or bearish?”
How it works
Fast MA > Slow MA = Bullish alignment (green “▲ BULL”)
Fast MA < Slow MA = Bearish alignment (red “▼ BEAR”)
All MTF requests use lookahead disabled to prevent repainting. The script reads a fresh close‑based value at each higher timeframe candle, so the bias state is stable and reflects the confirmed bar, not the developing one.
Configurable inputs
Fast MA Length (default 20)
Slow MA Length (default 50)
MA Type (EMA or SMA)
Why use this
Instantly see if your entry timeframe aligns with the daily/weekly bias
Avoid counter‑trend entries when the HTF is stacked against you
Use it as a filter: only trade setups that agree with the higher timeframe bias
Compact table design with minimal chart clutter
Tags
multi-timeframe
trend
bias
dashboard
Usage note
This is a bias filter, not an entry system. Combine it with your own structure, liquidity, and confirmation models for a complete trading plan. Indicator

EMA Pro+ Suite# EMA Pro+ Suite
**A multi-layer EMA confluence framework for reading market state at a glance.**
---
## What It Is
EMA Pro+ Suite is an overlay indicator built around three exponential moving averages — a Fast (10), Mid (20), and Slow (50) EMA — organized into a structured three-layer state engine that tells you the current market regime, momentum direction, and whether price is in or out of alignment with that regime. Rather than treating each EMA in isolation, the suite reads them together as a system and surfaces a single, coherent market state at all times.
A corner dashboard table updates in real time, giving you an instant read on bias, momentum, alignment, EMA slopes, and price extension — without having to scan the chart manually.
---
## How It Works
The indicator evaluates three distinct layers on every bar:
**Layer 1 — Bias (Trend Regime)**
Defined by price relative to the 50 EMA. Price above = bullish bias. Price below = bearish bias. This is the macro filter — it determines which direction setups should be taken in.
**Layer 2 — Momentum**
Defined by the 10 EMA relative to the 20 EMA. When the fast EMA is above the mid EMA, momentum is bullish. When below, momentum is bearish. Momentum alignment with bias is the confirmation layer.
**Layer 3 — Price vs Fast EMA**
When bias and momentum are aligned but price is on the wrong side of the 10 EMA, the indicator flags a potential pullback or exhaustion condition. In a full bull regime, price dipping below the 10 EMA may represent a high-quality entry opportunity — or an early warning of trend exhaustion. Context determines which.
**Slope Engine**
Each EMA is evaluated for slope using a configurable lookback. RISING / FLAT / FALLING is displayed per EMA in the dashboard. A momentum flip on flat EMAs carries significantly less weight than one on rising or falling EMAs — this is critical for filtering out noise in ranging conditions.
**Price Distance from 50 EMA**
Tracks how extended price is from the slow EMA as a percentage. Large positive or negative readings flag mean reversion risk.
**Bar & Background Coloring**
- Green background + green bars = full bull alignment
- Red background + red bars = full bear alignment
- Yellow bars = conflicting bias and momentum (mixed / transitional state)
- Aqua bars = bull regime, price pulling back below 10 EMA
- Fuchsia bars = bear regime, price popping above 10 EMA
**Cross Signals**
- `M↑` (green) — 10 EMA crossed above 20 EMA in bull zone. Aligned, higher conviction.
- `M↓` (red) — 10 EMA crossed below 20 EMA in bear zone. Aligned, higher conviction.
- `M↑ 🐻` (orange) — Bullish momentum flip firing in bear zone. Counter-trend, lower conviction.
- `M↓ 🐂` (orange) — Bearish momentum flip firing in bull zone. Counter-trend, lower conviction.
**Multi-Timeframe Support**
All three EMAs can be calculated on a higher timeframe and plotted on the current chart. Use this to anchor your bias to the HTF structure while reading entries on a lower timeframe.
---
## Possible Ways to Use It
**Trend Following**
Wait for full alignment — green background, green bars, all three slopes RISING. Only look for long entries. Use the 10 EMA pullback (aqua bars) as a potential entry trigger. Reverse logic for shorts.
**Momentum Flip Entries**
Use aligned `M↑` / `M↓` signals (green/red) as entry triggers when bias and slope confirm. Discard or fade counter-trend orange signals unless you have a specific reason to trade against the regime.
**Regime Filter for Other Systems**
Use the bias layer (price vs 50 EMA) as a filter for another strategy. Only take long signals from your primary system when EMA Pro+ shows bull bias, and vice versa.
**HTF Confluence**
Set the EMA Timeframe to a higher timeframe (e.g. 4H or Daily) while trading on a 15m or 1H chart. The dashboard will show the HTF regime, giving you a structural anchor for your intraday reads.
**Avoiding Chop**
When all three slopes read FLAT and bars are yellow (mixed alignment), the market is in a transitional or ranging state. Consider standing aside or reducing position size until a clear regime re-establishes.
**Mean Reversion Awareness**
When Dist 50 shows a large positive or negative reading, price is extended from the slow EMA. In trending markets this can persist — but it raises the bar for adding to positions and flags potential snapback risk.
---
## Settings
| Setting | Description |
|---|---|
| EMA Timeframe | Blank = current chart timeframe. Enter any TF (e.g. 60, 240, D) for MTF mode. |
| Fast / Mid / Slow EMA Length | Default 10 / 20 / 50. Fully adjustable. |
| Slope Lookback | Number of bars used to calculate EMA slope. Increase on lower timeframes to reduce flat readings. |
| Show EMA Lines | Toggle the three EMA plots. |
| Show Bias Background | Toggle the green/red background tint. |
| Color Bars by State | Toggle bar coloring. |
| Show Cross Signals | Toggle M↑ / M↓ labels on chart. |
| Show Dashboard Table | Toggle the corner HUD. |
| Table Position | Top Right / Top Left / Bottom Right / Bottom Left. |
| Bar Close Reminder Alert | Fires a reminder alert on every bar close to check the setup. |
---
## Alerts
- Momentum Flip Bullish — Bull Zone (aligned)
- Momentum Flip Bullish — Bear Zone (counter-trend)
- Momentum Flip Bearish — Bear Zone (aligned)
- Momentum Flip Bearish — Bull Zone (counter-trend)
- Price Reclaimed 50 EMA (bias flipped bullish)
- Price Lost 50 EMA (bias flipped bearish)
- Bull Pullback Signal (bull regime, price below 10 EMA)
- Bear Pullback Signal (bear regime, price above 10 EMA)
- Bar Close Reminder
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any asset. All trading involves substantial risk of loss. Past performance of any signal, strategy, or system is not indicative of future results.
EMA Pro+ Suite is a tool to assist with technical analysis — it does not predict price, guarantee accuracy, or remove the inherent uncertainty of financial markets. No indicator eliminates risk. You are solely responsible for your own trading decisions.
Always conduct your own research, apply proper risk management, and consider consulting a licensed financial professional before making any trading decisions. Only trade with capital you can afford to lose. Indicator

Bias & Sweep Dashboard1. Inputs & Configuration
Timeframes: Allows you to set the Higher Time Frame (HTF) (default: Daily / D) and the Intermediate/Lower Time Frame (ITF) (default: 4H / 240).
Sweep Settings: Features a customizable Swing Lookback input (default: 10 bars) to determine the structural swing points.
Table Settings: Allows configuration of the visual dashboard placement on the screen (Top Right, Bottom Left, etc.) along with background and text color styling.
2. Detection Logic
Pivots & Liquidity Sweeps:
Finds swing highs and swing lows using ta.pivothigh() and ta.pivotlow().
A Sweep is triggered when a candle's wick breaks past a key swing high/low, but the candle close returns back inside (denoting rejection of liquidity).
Uses request.security() to evaluate these sweeps on your defined HTF and ITF timeframes.
Inversions:
Tracks Fair Value Gaps (FVGs).
An Inversion is triggered when the price closes completely through a recent opposing FVG (e.g. closing above a Bearish FVG, or closing below a Bullish FVG).
Trend Bias:
Calculates trend direction using a standard EMA crossover (50 EMA vs 200 EMA) to decide if the baseline market environment is Bullish, Bearish, or Neutral.
3. Visual Dashboard (Table UI)
At the final bar (barstate.islast), the script builds a 2x4 table panel displaying:
Bias: Displayed as "Bullish" (green), "Bearish" (red), or "Neutral" (gray).
HTF Sweep: Shows ✅ if an HTF sweep is active, else ❌.
ITF Sweep: Shows ✅ if an ITF sweep is active, else ❌.
Inversion: Shows ✅ if an FVG Inversion has occurred, else ❌. Indicator

Prior Day Dealing Range [M1D]Frames the previous day's range as an ICT dealing range — high, low, equilibrium, quartiles, and premium/discount extreme zones — with a session-selectable day boundary, sweep mitigation, and a live bias table.
WHAT IT DOES
This indicator plots the prior trading day's range and frames it the way an ICT trader reads a dealing range, rather than as three disconnected lines:
• PDH / PDL — previous day high and low
• PDEQ — equilibrium (the 0.5 midpoint of the prior range)
• 0.25 / 0.75 quartiles — the boundaries that split the range into premium, equilibrium and discount
• Premium & discount extreme zones — the top quartile (0.75→1.0) and bottom quartile (0.0→0.25) shaded as the areas where price most often reacts
All levels and zones share a single left anchor at the day's open, so they read as one stacked range projecting into the current session.
WHY A DEALING RANGE INSTEAD OF JUST PDH/PDL
Equilibrium tells you whether price is trading at a premium (above 0.5) or a discount (below 0.5); the quartile zones mark the extremes where reversions and sweeps tend to cluster. The bias table reduces that to a single read.
SESSION-ANCHORED DAY OPEN
The "day" can be anchored to Exchange (the chart's native daily boundary, works on all timeframes), or to NY Midnight / 8:30 NY / 9:30 NY. The NY options reset the range on the open that matters to your model and are intended for intraday charts (roughly 30m and below); Exchange is the safe default for any timeframe.
MITIGATION
When a confirmed bar sweeps PDH or PDL, that line fades to a dotted "mitigated" style and its label updates. This is sweep awareness only, evaluated on bar close (no intrabar repaint).
BIAS TABLE
Shows the PDEQ price, which zone price currently sits in (Premium / Discount, with an "extreme" flag in a quartile zone), and the exact position of price within the prior range as a percentage.
ALERTS
Cross above / below PDEQ, entry into the premium / discount extreme zone, and PDH / PDL swept.
HOW TO USE
1. Pick your day anchor — Exchange for a standard daily range, or an NY session open if your model resets there.
2. Read bias from PDEQ: above = premium (favor shorts), below = discount (favor longs).
3. Watch the extreme zones and PDH/PDL for sweeps; the mitigation styling flags when a level has been run.
4. Toggle any element (zones, quartiles, labels, table) off in settings to suit your chart.
NOTES / LIMITATIONS
• Levels are confirmed on the close of each day and held for the following session; they do not repaint.
• NY-anchored modes assume the session window aligns to a bar boundary, so they are best on intraday timeframes; on higher timeframes use Exchange.
• This is a contextual / discretionary tool — it marks levels and bias, it does not generate buy/sell signals.
The previous-day high/low/equilibrium calculation is standard; this script's contribution is the combination — a session-selectable day boundary, the full quartile dealing-range framing with premium/discount extreme zones, sweep mitigation, and a range-position bias table in one tool. All code is original and written in Pine Script v6. Indicator

Indicator

ORB ORB V2 plots the Opening Range Breakout for the Asia, London, or New York session, using the high and low of a selectable timeframe candle (1 to 240 min) captured at the exact session open in New York time.
What it draws:
High, midpoint (50%), and low lines of the opening range, extended live for the duration of the session
Color-coded labels showing the exact price of each level
A vertical opening marker at session start
Built-in bias filter:
A configurable EMA (default 20-period on the 1H timeframe, both adjustable) is calculated independently of the chart timeframe via request.security, and compared to price to display a simple Bullish/Bearish bias — useful for filtering ORB breakout trades in the direction of the higher-timeframe trend rather than trading every breakout blindly.
Dashboard:
A bottom-right table shows the total range size and the distance to the 50% level, converted into your choice of units (ticks, pips, or % for crypto), plus the previous day's high and low for additional context, and the current bias reading.
How to use it:
Select your session (Asia / London / NY) and the opening candle timeframe.
Watch for price to break above/below the ORB high/low.
Use the EMA bias reading to favor breakouts aligned with the higher-timeframe trend, and the 50% level as a mid-range reference for partial targets or re-entries.
Use the dashboard to gauge range size in your preferred unit before sizing a trade.
All colors, label sizes, and the dashboard display can be customized from the indicator settings. Indicator

Confluence Matrix Multi-Timeframe RegimeCONFLUENCE MATRIX — Multi-Timeframe Regime & Accuracy-Weighted Bias
================================================================================
WHAT THIS SCRIPT IS
A multi-timeframe decision panel. Across a fixed ladder of nine timeframes
(1m, 3m, 5m, 15m, 30m, 60m, 120m, 240m, Daily) it measures the same five
technical factors — trend, momentum, structure, volume flow and mean-reversion —
normalises each to a comparable scale, and fuses them into one directional bias
per timeframe. It then compares the timeframes to each other: how strongly they
agree (a confluence meter), how many of the nine are aligned, and whether the
fast timeframes are turning against the slow ones (a transition). It flags moves
that are exhausted, shows where volatility is compressing, and reports past-only
how often the overall bias has actually been followed through on the current
symbol, with a confidence interval.
WHY THE COMPONENTS ARE COMBINED (how the parts work together)
These are not separate indicators stacked in one pane. They are five reads of
the same question — "what is price doing and should I trust it?" — chosen
because they fail in different conditions, so combining them removes each
other's blind spots, and reading them across a full timeframe ladder removes the
blind spot of any single chart:
- TREND: an ATR SuperTrend blended with a moving-average stack. The SuperTrend
flips with less lag than a moving average alone; the stack confirms direction.
- MOMENTUM: MACD histogram + RSI + Stochastic. A three-oscillator read is harder
to whipsaw than any one of them.
- STRUCTURE: location of price within the recent range — acceptance in the
middle versus pressure at the edges.
- VOLUME FLOW: money-flow combined with position relative to the anchored VWAP,
i.e. whether price is above or below the session's volume-weighted fair value.
- MEAN-REVERSION: deviation from an adaptive equilibrium whose responsiveness
scales with the efficiency ratio. This is the counterweight that fades
extension — correct in a range, wrong in a trend.
Because a factor that helps in one regime hurts in another, the fusion is
governed by two layers that decide how much to trust each factor:
1. REGIME WEIGHTING. Each timeframe classifies its own regime from the
efficiency ratio, ADX and relative volatility, and reweights the factors
accordingly — trend and momentum lead in a trend, mean-reversion leads in a
range, and confidence is damped when volatility is elevated. A daily that is
trending and a 5-minute that is ranging are therefore scored by different
logic, which is the whole point of a multi-timeframe read.
2. PROVEN-ACCURACY WEIGHTING. The script tracks, on past bars only, how often
each individual factor's signal has been followed through on THIS symbol, and
scales that factor's weight by its measured hit-rate. So the fusion becomes
regime x proven-accuracy: on a symbol where, historically, mean-reversion has
paid and trend has not, the panel learns that and weights accordingly. This
is what turns a generic vote into a calibrated, symbol-aware read.
Two further layers handle the traps and the timing:
- EXHAUSTION. A fully-aligned stack that is also over-extended is the classic
"everything agrees right at the turn" trap. Exhausted timeframes are marked,
and the confluence meter is damped so that alignment-with-exhaustion is not
mistaken for high conviction.
- SQUEEZE. A read of where Bollinger bands sit inside Keltner channels —
volatility compression that tends to precede expansion. This adds timing
(when a move may start) to the directional read (which way).
The cross-timeframe layer then turns the nine composites into one verdict:
overall direction, a confluence meter, an alignment count, and a fast-versus-slow
transition flag. Calibration of the overall bias keeps the headline honest by
measuring its real follow-through on the current symbol.
HOW IT WORKS (mechanics, briefly)
Each timeframe's factors are computed with standard confirmation and requested
non-repainting; history does not change after the fact. The per-symbol accuracy
weights and the headline follow-through are built by recording a signal's
direction when it forms and checking, a fixed number of bars later, whether
price travelled a chosen ATR multiple in that direction, then aggregating into a
rate with a Wilson confidence interval. All thresholds are ATR-relative, so
nothing is tied to a particular price scale.
HOW TO USE
1. Read the headline bar (overall bias) and the CONFLUENCE meter, then scan the
Bias column down the ladder for a long aligned run.
2. A "!" on a Bias cell means that timeframe is exhausted; high alignment with
exhaustion is lower conviction, and the meter already reflects that.
3. Watch STATE (FULL STACK / TRANSITION) and the SQUEEZE row for timing.
4. Weight the read by FOLLOW-THROUGH — the overall bias's measured hit-rate here.
5. Everything is descriptive context, not a signal to act on.
USE ON ANY MARKET
The Price source input drives the trend, momentum, mean-reversion and structure
reads, so you can run the panel on standard candles, Heikin-Ashi, or another
price series across stocks, indices, futures, forex and crypto. High, low and
volume stay native for the range and flow factors, and a volume-borrow input
supplies volume for symbols that report none.
WHAT MAKES IT ORIGINAL
The contribution is the fusion, not the individual factors, which are standard.
Here the same regime-adaptive, volatility-normalised composite is computed
identically across a timeframe ladder, then weighted further by each factor's
past-only, per-symbol accuracy, with exhaustion damping and explicit alignment,
transition and squeeze context. A multi-timeframe panel that learns which
factors to trust on each symbol, and that damps alignment when a move is
exhausted, is the part that is not available elsewhere.
SETTINGS WORTH KNOWING
- Timeframe Ladder: the nine timeframes are editable.
- Fusion: toggle proven-accuracy weighting, exhaustion damping and the squeeze
read; the higher-timeframe emphasis slider controls how much slow timeframes
count in the overall (0 = equal weighting).
- Calibration: horizon and minimum follow-through define what counts as a
"followed-through" signal for both the accuracy weights and the headline rate.
- External signals (optional): three source inputs accept directional exports
from other indicators and blend them into the overall composite at the chart
timeframe; price sources are auto-ignored.
- Visuals: theme is auto/dark/light; size is Tiny/Small/Normal; the identity
strip shows the script name, symbol and timeframe.
NOTE ON TIMEFRAMES BELOW THE CHART
A timeframe lower than the chart returns its most recent value rather than a full
aggregated history. For a fully historical view of the fast rows, load the
indicator on a low chart timeframe; for a live current-state read, every row is
valid at any chart timeframe.
LIMITATIONS
Higher-timeframe values reflect the developing bar in real time; history is
non-repainting. Volume flow and anchored VWAP need real (or borrowed) volume. The
accuracy weighting and follow-through describe PAST behaviour only — they are not
a backtest and not a probability of future results. Every read is probabilistic
context, never a certainty.
DISCLAIMER
This is a study / indicator for chart analysis and education only. It is not a
strategy, not a recommendation, and not financial advice. It places no orders and
guarantees no outcome. Markets carry risk, and the past behaviour of a signal
does not assure its future behaviour. Do your own research and manage your own
risk.
Indicator

Indicator

VWAP Gravity Bands [JOAT]VWAP Gravity Bands is an open-source Pine Script v6 overlay that builds an anchored VWAP field with a smoothed T3 basis and ATR ladder bands. It is designed to show how far price has traveled from a session, weekly, or monthly value anchor, then classify that distance as center pull, ladder drift, expansion, or outer-band reaction.
The script is useful when a trader wants the chart to show both location and behavior around VWAP. Instead of a single VWAP line, it creates a full distance map around the anchor, colors candles by their distance from the basis, and highlights confirmed outer reactions without using arrow-style signal clutter.
Core Concepts
1. Anchored VWAP Selection
The anchor can reset on the session, week, or month. The script uses timeframe.change() to produce the reset pulse and ta.vwap() to calculate the anchored value.
anchorTimeframe = anchorChoice == "Week" ? "1W" : anchorChoice == "Month" ? "1M" : "1D"
anchorPulse = timeframe.change(anchorTimeframe)
rawVwap = ta.vwap(sourceInput, anchorPulse)
2. T3 Basis Smoothing
Raw anchored VWAP can move sharply at the beginning of an anchor period. VWAP Gravity Bands runs that value through a T3-style smoother to create a cleaner basis while preserving responsiveness.
e1 = ta.ema(src, length)
e2 = ta.ema(e1, length)
e3 = ta.ema(e2, length)
basis = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
3. ATR Ladder Bands
The band ladder is based on ATR, not fixed percentages. This lets the distance field expand and contract with the market's current movement range.
ladderUnit = atr * bandStep
upperOne = basis + ladderUnit
lowerOne = basis - ladderUnit
upperThree = basis + ladderUnit * 3.0
lowerThree = basis - ladderUnit * 3.0
4. Distance State Model
Distance from VWAP is normalized by the ladder unit. The script classifies large directional continuation as expansion and failed outer-band tests as reactions.
5. Gradient Candle Coloring
Candles can be colored by their normalized distance from VWAP. This helps identify when price is balanced around the anchor, drifting away from it, or stretched toward an outer band.
Features
Session, weekly, or monthly anchor: Select the VWAP reset period from inputs
T3-smoothed VWAP basis: Cleaner centerline for visual trend and location analysis
ATR ladder bands: Three upper and lower bands scale with current volatility
Expansion state detection: Highlights directional movement away from the basis
Outer reaction detection: Marks confirmed failed tests near the outer ladder
Distance candle mode: Optional gradient candles based on normalized VWAP distance
Dashboard: Shows anchor, state, distance, ATR step, and basis slope
Alert conditions: Upper reaction, lower reaction, upper expansion, and lower expansion
Input Parameters
Visual System:
Palette Preset: Selects color pair
Distance Candles: Enables candle coloring by VWAP distance
Dashboard: Shows top-right state panel
Raw VWAP: Displays the unsmoothed anchored VWAP
Outer Reaction Marks: Shows compact TP-style outer reaction markers
VWAP Gravity:
Anchor: Session, Week, or Month
Source: Price source used for VWAP
T3 Basis Length: Smoothing length for the VWAP basis
T3 Factor: Controls T3 smoothness
ATR Length: Volatility length used for ladder distance
ATR Step: Distance between ladder bands
Expansion Step: Threshold for expansion classification
Reaction Step: Threshold for outer reaction classification
How to Use This Indicator
Step 1: Choose the Anchor
Use Session for intraday context, Week for swing context, and Month for broader value location.
Step 2: Read Distance From Basis
The dashboard distance value shows how many ladder units price is away from the smoothed VWAP basis.
Step 3: Separate Expansion From Reaction
Expansion means price is moving away from VWAP with slope confirmation. Reaction means price tested an outer area and closed back inside.
Step 4: Use the Bands as Context
The bands are not automatic entry levels. They show location. Combine them with market structure, candle behavior, and risk planning.
Indicator Limitations
VWAP is volume-based and may behave differently on symbols with sparse volume
The first bars after a new anchor can be less stable because VWAP is starting a new sample
Reaction markers show a confirmed close back inside a zone, not a future reversal forecast
ATR bands adapt to volatility but can widen quickly after large bars
Originality Statement
VWAP Gravity Bands is original in how it combines anchored VWAP selection, T3 smoothing, ATR ladder geometry, distance-colored candles, and separate expansion/reaction states. It is built from public Pine v6 functions and original logic rather than copied indicator source.
Disclaimer
This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. VWAP location and band reactions can fail in trending, news-driven, or low-liquidity markets. Always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator

Liquidity Side Bias Engine [AGPro Series]Liquidity Side Bias Engine
🧠 Core Idea
Which side of resting liquidity is the more likely near-term draw right now: the buy-side above, or the sell-side below?
This script is built to answer that one question with structure instead of guesswork.
📌 Overview / What It Does
Liquidity Side Bias Engine is a forward-looking, two-sided liquidity planner for smart-money and ICT-style analysis. Most price action leaves resting liquidity on both sides of the market: buy-side liquidity above old highs and equal highs, and sell-side liquidity below old lows and equal lows. At any moment, one of those two sides usually has the stronger pull. This tool maps the nearest untapped liquidity on each side and weighs it into a single, readable side lean.
Concretely, it identifies the closest buy-side pool above price and the closest sell-side pool below price from equal-highs and equal-lows clusters, the prior higher-timeframe high and low, and unmitigated swing points. It then scores each side from 0 to 100 using proximity, pool strength, trend context, and premium-discount range position, and reports which side is leaning, by how much, where the primary draw sits, and which opposite level would flip the read.
It does NOT predict price, generate buy or sell signals, or automate trades. It organizes a two-sided liquidity picture into a structured bias so the chart is easier to read and plan around. Every output is analytical context, not a recommendation.
🎯 Purpose & Design Philosophy
Liquidity tools usually fall into two buckets: reactive sweep detectors that mark a liquidity grab after it already happened, and static maps that draw every pool on the chart and leave interpretation entirely to the trader. Both are useful, but neither answers the practical question a planner actually asks before the move: of the two sides, which one is the market more likely leaning toward next?
This engine was built to fill that gap. It is for the trader who already understands liquidity but wants a clean, consistent way to frame the two-sided picture without manually weighing five different factors on every chart. It supports a patient, context-first mindset: read the lean, understand why it leans, watch the primary draw and the flip level, and let broader market context confirm or deny the idea. The goal is intentional, structured thinking, not a shortcut around it.
⚡ Why This Script Is Different
Most liquidity tools focus on what already happened, marking sweeps and grabs after the candle closes, or they paint a dense map of every pool and stop there.
This script does NOT try to call tops and bottoms, does NOT fire trade signals, and does NOT bury the chart in unlabeled levels.
Instead, it looks forward. It treats buy-side and sell-side liquidity as a two-sided tug-of-war and resolves it into one lean score from 0 to 100, with a clear dominant side, a primary draw target, an opposite flip level, the pool type in play, and a premium-discount range read. The leaning side is drawn solid and emphasized; the opposite side is drawn faint as the flip reference. The result is a single, calm decision-support read instead of a wall of levels or a backward-looking alert.
⚙️ Methodology
1. Context Detection
An ATR baseline, an EMA trend backbone with a slope check, and a premium-discount dealing range are computed to describe the current environment.
2. Reference Mapping
The nearest untapped buy-side pool above price and sell-side pool below price are located from equal-highs and equal-lows clusters, the prior higher-timeframe high and low, and unmitigated swing points. The prior period adapts to the chart: prior day on intraday, prior week on daily, prior month on higher timeframes.
3. Reaction Evaluation
Each side is scored from 0 to 100 across four factors: proximity (closer pools pull more), pool strength (cluster size, prior-period magnetism, freshness), trend context (the direction-aligned side is weighted), and range position (discount weights the buy-side draw, premium weights the sell-side draw). The two scores are compared into a single lean; a small balance gap is treated as two-sided.
4. Visual Output
The leaning side, its primary draw, the opposite flip level, pool type, distance, and a next-action read are rendered into a clean panel, two side lines, a centered bias badge, and moderate alternating event labels.
🗺️ How to Read the Chart
- Side lines: the buy-side line sits above price, the sell-side line below. The leaning side is solid and bold; the opposite side is faint and dashed, marking the flip reference.
- Bias badge: a compact badge near current price shows the leaning state and its 0-100 score.
- Target tag: a single right-edge tag marks the primary draw price on the leaning side.
- Faint pool lines: lighter dotted lines show other untapped pools as a soft liquidity map.
- Labels: green relates to buy-side context, pink to sell-side context, amber to balanced.
- Panel: a fixed readout of state, bias score, primary draw, pool type, range, flip level, and action.
🚦 Signals & States
- Buy-Side Lean → buy-side liquidity above is currently the leaning near-term draw.
- Sell-Side Lean → sell-side liquidity below is currently the leaning near-term draw.
- Balanced → both sides are close in score; no clear leaning side.
- Buy-Side Taken / Sell-Side Taken → a liquidity side was traded through (mitigated).
These are interpretive states, not instructions. A Buy-Side Lean does not mean buy; it means the upside pool is the weighted draw in the current context.
🔔 Alerts Logic
Three optional alerts are available:
- Buy-Side Lean: triggers when the dominant side flips to buy-side above the active threshold.
- Sell-Side Lean: triggers when the dominant side flips to sell-side above the active threshold.
- Liquidity Side Taken: triggers when a buy-side or sell-side pool is traded through.
Alerts are attention markers that point you back to the chart for context. They are not trade instructions and carry no guarantee of any outcome.
🧩 Confluence Logic
The lean is itself a confluence read. When proximity, pool strength, trend alignment, and range position agree on one side, that side scores higher and the lean is more pronounced. When they disagree, the score stays moderate and the state may resolve to Balanced, which is information in itself: the two-sided picture is unresolved.
📊 When to Use
- Trending markets, to frame whether the trend-aligned liquidity remains the dominant draw.
- Ranging markets, to read which range extreme is the more likely draw from the current premium-discount position.
- Around prior-period highs and lows, to gauge which side carries the stronger pull.
- As a planning overlay alongside your own structure, entries, and risk framework.
⚠️ When NOT to Use
- In very low-liquidity symbols or sessions, where swing points and pools are unreliable.
- In extremely noisy or news-driven conditions, where levels are violated erratically.
- As a standalone entry trigger, or in isolation from market structure and risk context.
- On data with large gaps or thin history, where pool detection has too little to work with.
🎛️ Key Inputs
- Swing Strength: how strong a swing must be to qualify as a pool. Higher keeps only major swings.
- Pool Memory: how many recent swings are retained per side.
- Equal Level Tolerance: ATR width for grouping nearby levels into an equal-highs or equal-lows cluster.
- Use Prior-Period Pools: includes the adaptive prior-period high and low as pools.
- Trend Backbone EMA and Slope Bars: define the directional context weighting.
- Premium-Discount Range: lookback for the dealing range that drives the range-position factor.
- Max Draw Distance, Pool Freshness Window: shape how distance and age affect the score.
- Active Bias Score and Balanced Gap: thresholds for an active lean versus a balanced read.
- Visual, label, and panel controls: side lines, badge, target tag, pool map, label density, panel location, theme, and font size.
🖥️ Interface & Visual Design
The panel is the primary readout, leading with the leaning state and 0-100 score, then primary draw, pool type, premium-discount range, flip level, and a concise action line. On the chart, visual hierarchy favors the leaning side: it is solid and emphasized, while the opposite side stays faint. Labels are kept moderate and strictly alternating so the chart reads cleanly at a glance. Panel location, theme, and font size are adjustable; the panel is shown by default for readability.
🧪 Practical Usage Workflow
1. Read the panel: note the leaning state and the bias score.
2. Check the primary draw and the flip level: where is the weighted draw, and what would invalidate the read.
3. Read the premium-discount range line: is price in discount or premium, and how far is the draw in ATR.
4. Confirm with your own market structure, higher-timeframe context, and risk framework before any decision.
🔍 Interpretation Guidelines
Think of the lean as a weighted opinion about the two-sided liquidity picture, not a forecast. A higher score means the factors agree more strongly; a moderate score or a Balanced state means the picture is mixed and patience is warranted. The flip level is a structural reference, not a hard line. Always interpret the lean inside the broader market context rather than in isolation.
🚫 What This Script Is NOT
- It is NOT a prediction engine and does not forecast price direction.
- It is NOT financial advice or a recommendation to buy or sell.
- It is NOT an automated trading system.
- It does NOT produce guaranteed signals or outcomes.
⚠️ Limitations & Transparency
Outputs depend on detected swing structure and may differ across timeframes and symbols. Volatility, liquidity, and changing market conditions affect how pools form and how they are taken. Prior-period pools rely on higher-timeframe data and shift as new periods print. The tool describes current structure; it cannot know the future, and any level can be exceeded or fail to be reached.
🧠 Market Context Notes
Liquidity tends to rest where many participants place stops and pending orders: above equal highs, below equal lows, and around prior-period extremes. In an uptrend, price in discount often leans toward the buy-side draw above; in a downtrend, price in premium often leans toward the sell-side draw below. This engine encodes that two-sided logic into a single read, but market context always has the final word.
🧾 Use Case Examples
- Price is in discount within its range, trend is up, and the nearest buy-side pool is a prior-week high: the engine shows a Buy-Side Lean with the prior-week high as the primary draw.
- Price is in premium, momentum is fading, and equal lows rest below: the engine may show a Sell-Side Lean with those equal lows as the primary draw and a high above as the flip level.
- Both sides score closely: the engine reports Balanced, signaling an unresolved two-sided picture.
🧱 System Philosophy
This tool reflects the AGPro Series approach: convert a familiar but messy concept into a calm, structured, decision-support read. Liquidity is everywhere on a chart; the value is in organizing it into a single, honest lean that respects the trader's own judgment rather than replacing it.
🔐 Non-Promise Statement
This script makes no promise of profit, accuracy, or any specific result. It is an analytical and organizational tool. No certainty is offered or implied.
📉 Risk Disclosure
Trading involves substantial risk, and most participants can lose money. This script is provided for educational and analytical purposes only and does not constitute financial advice. All decisions, positions, and outcomes remain entirely your own responsibility. Always manage risk and trade within your own plan.
📚 Educational Note
Used as intended, the engine can sharpen how you think about two-sided liquidity: where it rests, which side is weighted, and what would change the picture. Treat it as a lens for structured analysis, and keep building your own market understanding alongside it.
Indicator

Polaris VWAP Mesh [JOAT]Polaris VWAP Mesh
Polaris VWAP Mesh tracks four anchored VWAPs simultaneously — Session, Swing-High pivot, Swing-Low pivot, and Previous-Day-Open — and detects pairwise confluence whenever two or more of them are within an ATR-scaled proximity of each other. Each VWAP carries a plus-or-minus 1-sigma deviation band. Confluence zones become full-chart-width persistent bands. A multi-anchor bias score counts how many VWAPs price is currently above.
What makes it different
Most VWAP scripts plot a single anchor (session or daily). Polaris simultaneously runs four independent anchored-VWAP engines and surfaces their interactions as confluence zones.
Confluence detection uses an ATR-scaled proximity threshold rather than a fixed percentage, so it adapts to the instrument's volatility automatically.
A multi-anchor bias counter aggregates the four VWAPs into a single 0-to-4 score. Full-chart-width tints apply when three or more VWAPs are above (or below) the close.
Swing-anchored VWAPs reset at confirmed pivot points and start fresh from the moment of pivot confirmation (forward-only, non-repainting). The Previous-Day-Open VWAP is anchored to the open of the prior daily bar so it captures yesterday's reference.
A pairwise distance matrix is displayed in plain text at the right edge — six pair distances, with the two tightest pairs highlighted.
How it works
An anchored VWAP function maintains three cumulators per anchor — price-times-volume, volume, and price-squared-times-volume — to deliver both the VWAP and its rolling standard deviation since the anchor.
Anchor reset conditions: Session start of the user-defined session window. Swing-High on confirmed ta.pivothigh. Swing-Low on confirmed ta.pivotlow. Previous-Day-Open on ta.change(time("D")), capturing the open of the new day, then locking after a day passes.
Pairwise distance check: for each of the six possible pairs, if the absolute distance between VWAPs is less than proximityThreshATR times ATR(14), an active confluence is flagged. The mid-price between the two VWAPs becomes the confluence level.
Multi-anchor bias counts how many of the four VWAPs the close is above.
Reading the chart
Four VWAP lines, each in its own color (session blue, swing-high red, swing-low mint, prev-day-open purple, all user-configurable).
Plus-or-minus 1-sigma deviation band shading per VWAP.
Full-chart-width confluence zones (persistent bordered boxes) at each active confluence level, with right-edge labels naming the contributing pair.
Anchor reset markers: small vertical lines per anchor at the bar of reset (capped at 20 per anchor type).
A multi-anchor bull / bear bgcolor tint (very faint) when three or more VWAPs are on one side of the close.
Iridescent candle recolor by bull-count.
Right-edge VWAP labels with plus-or-minus sigma deviation tags.
Pairwise distance matrix label cluster.
Anchor-age label cluster.
Bias-flip timeline labels and VWAP-cross event labels.
Signals
Bull / bear VWAP cross (any anchor)
Session VWAP bull / bear cross (dedicated alerts)
Previous-Day-Open VWAP bull / bear cross (dedicated alerts)
Confluence touch (price entered an active confluence zone)
Multi-anchor bull / bear bias activation
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Anchors : session window string, swing pivot length.
Bands : standard deviation multiplier, band shading toggle.
Confluence : proximity threshold in ATR units, confluence zones toggle.
Visuals : bullish / bearish colors, per-anchor color overrides, per-anchor visibility toggles, candles, labels.
Dashboard : position, size.
How traders use this
Confluence trading : confluence zones are price magnets. Reactions to them (touches with rejections) are tradable. Clean breaks through with volume can be trend signals.
Multi-anchor bias : when three or four of the four VWAPs are on the same side of price, the trend is well supported across multiple anchors. Counter-trend trades in this regime are lower probability.
VWAP rotation : the previous-day-open VWAP is a frequently respected institutional reference. Crosses of it often coincide with bias shifts.
Plus-or-minus 1-sigma bands : extensions to plus-or-minus 1 sigma from a fast-moving anchor often coincide with short-term mean-reversion zones.
Limitations
Swing-anchored VWAPs begin tracking only after pivot confirmation, so they lack history before that pivot was confirmed. This is by design (non-repainting), not a bug.
The session VWAP requires the user to set a session window matching the instrument's primary trading window.
The pairwise confluence test is O(1) per bar (six pairs). Confluence zones extend across the chart and use persistent box objects. They are capped at six active zones (the maximum number of pair combinations).
Confluence is a price-coincidence test, not a flow-direction test. Use other tools to gauge directional bias once confluence is identified.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol with volume data. Designed for sessions in America/New_York by default. Change the session window for other markets. No request.security calls.
Defaults
0930-1600 EST session window, 10-bar pivot length, 0.5x ATR proximity threshold, mint / red brand colors plus blue / red / mint / purple anchor accents, top-right medium dashboard.
Indicator

Body Length Bias================================================================
BODY LENGTH BIAS — INDICATOR DESCRIPTION
================================================================
🇬🇧 ENGLISH
----------------------------------------------------------------
Body Length Bias is a directional pressure indicator that measures
the accumulated percentage movement of bullish and bearish candles
over a defined lookback period, revealing which side — buyers or
sellers — has exerted more real force on price.
WHAT IT CALCULATES
------------------
For each candle in the last X bars, the indicator calculates the
body movement as a percentage relative to the open price:
|close - open| / open * 100
It accumulates that percentage separately for bullish candles
(close >= open) and bearish candles (close < open). The side with
the higher total percentage is considered the dominant force.
WHAT IT SHOWS
-------------
A fixed label in the bottom-right corner of the chart displays:
- Current bias: BULLISH or BEARISH
- Accumulated percentage for each side
- Number of candles being analyzed
Background and text colors are fully customizable.
HOW TO USE IT
-------------
Trend filter:
Only look for long setups when bullish % > bearish %, and short
setups when bearish % > bullish %. Avoid trading against the
dominant side.
Range detection:
When both values are nearly equal (e.g. 50/50), the market is in
consolidation. No directional bias is present — wait for a breakout.
Exhaustion reading:
If one side has dominated for many candles but the gap is closing,
directional pressure is fading — a reversal may be forming.
Multi-timeframe confluence:
Apply the indicator on H4, H1, and 15m simultaneously. When all
three align in the same direction, confluence is at its highest.
WHAT IT DOES NOT DO
-------------------
This indicator does not generate entry signals. It is a contextual
bias tool designed to be used alongside structural analysis, key
levels, and volume. It works best in trending conditions and loses
reliability in tight sideways ranges.
================================================================
🇪🇸 ESPAÑOL
----------------------------------------------------------------
Body Length Bias es un indicador de presión direccional que mide
el movimiento porcentual acumulado de las velas alcistas y bajistas
durante un período definido, revelando qué lado — compradores o
vendedores — ha ejercido mayor fuerza real sobre el precio.
QUÉ CALCULA
-----------
Por cada vela de las últimas X barras, el indicador calcula el
movimiento del cuerpo como porcentaje respecto al precio de apertura:
|close - open| / open * 100
Ese porcentaje se acumula por separado para las velas alcistas
(close >= open) y las bajistas (close < open). El lado con mayor
porcentaje total es considerado la fuerza dominante.
QUÉ MUESTRA
-----------
Un cartel fijo en la esquina inferior derecha del gráfico muestra:
- Sesgo actual: BULLISH o BEARISH
- Porcentaje acumulado de cada lado
- Número de velas analizadas
El color de fondo y el color del texto son completamente configurables.
CÓMO USARLO
-----------
Filtro de dirección:
Busca solo largos cuando alcista % > bajista %, y solo cortos cuando
bajista % > alcista %. Evita operar contra el lado dominante.
Detección de rango:
Cuando ambos valores están casi igualados (ej. 50/50), el mercado
está en consolidación. No hay sesgo direccional — espera una ruptura.
Lectura de agotamiento:
Si un lado ha dominado durante muchas velas pero la diferencia se
está cerrando, la presión direccional se está agotando — puede estar
formándose un giro.
Confluencia multi-timeframe:
Aplica el indicador en H4, H1 y 15m simultáneamente. Cuando los
tres apuntan en la misma dirección, la confluencia es máxima.
QUÉ NO HACE
-----------
Este indicador no genera señales de entrada. Es una herramienta de
sesgo contextual diseñada para usarse junto con análisis estructural,
niveles clave y volumen. Funciona mejor en condiciones de tendencia
y pierde fiabilidad en rangos laterales ajustados.
================================================================ Indicator

Indicator

Session Liquidity Atlas [JOAT]Session Liquidity Atlas
Introduction
SLA Session Liquidity Atlas is an open-source session context indicator built to map the active trading session, opening range, prior-session liquidity, confirmed sweeps, and confirmed opening-range breaks in one clean overlay.
The problem it solves is session context. A breakout above the opening range means something different when the prior-session high was just swept, when the session range is compressed, or when price is still trapped inside the opening band. SLA organizes those reference points into a readable liquidity atlas with a top-right dashboard and restrained dark-mode chart shading.
Core Concepts
1. Active Session Range
The indicator tracks the selected session's open, high, low, close, bar count, and live range. The session band updates during the active window and freezes naturally when the session ends.
2. Opening Range
The opening range is built from the first configurable number of session minutes. Confirmed closes above or below the opening range define bullish or bearish break events.
3. Prior-Session Liquidity
Prior-session high and low are projected forward as liquidity reference levels. A sweep is confirmed only when price trades through a prior level but closes back inside it on a confirmed bar.
4. Confirmed Bias State
Bias updates from opening-range breaks and mature sweep states. All official events use confirmed bars, avoiding realtime-only signals being mistaken for final signals.
5. Visual System
The overlay uses transparent session bands, opening-range shading, prior-session reference lines, and a compact dashboard. No arrows or retail-style marker clutter are used.
Features
Session range band: Tracks live high and low of the selected session
Opening range band: Displays the early-session decision range
Prior-session liquidity levels: Projects prior high and low as reference lines
Confirmed sweep detection: Detects high/low sweeps only after bar close
Confirmed opening-range breaks: Break events require closed-bar confirmation
Bias tinting: Background gently reflects current bullish, bearish, or neutral state
Top-right dashboard: Shows session status, bias, sweep state, breakout state, range, OR/session ratio, and body balance
Alert conditions: Includes confirmed alerts for sweeps and opening-range breaks
Input Parameters
Session:
Primary Session: Session window used by the atlas
Opening Range Minutes: Number of minutes used to build the opening range
Sweep Hold Bars: Bars required before a sweep state matures into bias context
Visual:
Show Session Band
Show Opening Range Band
Show Prior Session Liquidity
Tint Background On Bias
Line Width and transparency controls
How to Use
Step 1: Read the dashboard bias and session status.
Step 2: Watch whether price is inside or outside the opening range.
Step 3: Treat prior-session high and low as liquidity reference levels, not guaranteed reversal points.
Step 4: Use confirmed sweeps and confirmed opening-range breaks as context for another entry model or discretionary plan.
Limitations
Opening-range logic depends on the selected session and chart timeframe
A sweep can fail and continue beyond the prior level
The indicator is a context layer, not a complete trading system
Signals confirm only after the bar closes, so they intentionally appear after the event candle is complete
Originality Statement
SLA is an original JOAT implementation combining session range logic, prior-session liquidity sweeps, opening-range breaks, and a compact state dashboard into one transformed Pine Script v6 overlay. It is not a copy of any source script.
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

Quant Synthesis Strategy [JOAT]Quant Synthesis Strategy
Introduction
QSS Quant Synthesis Strategy is an open-source PulseWire strategy that integrates regime detection, higher-timeframe bias, confirmed structure, session opening-range context, volume participation, trend energy, ATR exits, cooldowns, and session risk controls.
The strategy is designed as a realistic research baseline, not an optimized profit promise. Its purpose is to demonstrate how the JOAT indicator concepts can be combined into a non-repainting strategy framework with explicit risk management.
Core Concepts
1. Market Regime Detection
The regime model uses EMA spread, ADX from DMI, and ATR percentage context to classify Trend, Expansion, Balance, or Transition.
2. Higher-Timeframe Bias
The strategy requests higher-timeframe EMAs with lookahead disabled. Long bias requires the HTF fast EMA above the slow EMA with positive slope; short bias is mirrored.
3. Confirmed Structure
Pivot-based structure checks whether recent highs and lows form bullish or bearish structure. Pivot confirmation is delayed by design to avoid repainting.
4. Session Opening Range
The strategy tracks a configurable trading session and opening range. Entries can require session context so trades are not taken randomly outside the selected window.
5. Risk and Exits
Position size is estimated from a percentage of equity and ATR stop distance. Exits include ATR stop, ATR target, maximum bars in trade, regime/bias exit, cooldown, and session flattening.
Features
Regime engine: Trend, Expansion, Balance, and Transition classification
HTF bias filter: Uses non-lookahead request.security() higher-timeframe EMAs
Confirmed structure filter: Pivot-based bullish/bearish structure state
Session opening range: Optional session context for entries
Volume participation filter: Uses volume z-score and directional volume
Confluence score: Separate long and short scores gate entries
ATR exits: Stop loss and take profit scale with volatility
Risk controls: Risk percent, cooldown, max entries per session, max bars in trade, and session flattening
Visuals: EMA cloud, opening-range lines, stop/target plots, and top-right dashboard
Default Strategy Properties
Initial capital: 100000
Commission: 0.01 percent
Slippage: 1 tick
Pyramiding: 0
Order processing: process orders on close
Position sizing: fixed quantity calculated internally from risk settings
How to Use
Step 1: Select a market and timeframe with enough historical data.
Step 2: Review the dashboard regime and HTF bias before interpreting trades.
Step 3: Adjust risk percent, ATR stop, ATR target, cooldown, and session settings conservatively.
Step 4: Evaluate results across multiple symbols and timeframes. Avoid optimizing only one market segment.
Limitations
Backtest results are historical simulations and do not guarantee future performance
More trades can increase sample size but can also increase noise and transaction costs
Pivot confirmation creates intentional signal delay
Strategy results depend on symbol liquidity, timeframe, session settings, slippage, and commission assumptions
The strategy is a research framework, not a recommendation to trade
Originality Statement
QSS is an original JOAT strategy framework that integrates regime detection, HTF bias, structure, session context, volume participation, and ATR risk management into one non-repainting Pine Script v6 strategy.
Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice and does not guarantee profitability. Trading involves substantial risk of loss. Historical backtests can be inaccurate or misleading if assumptions do not match live execution.
Made with passion by jackofalltrades
Strategy

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

Adaptive Forecast Bands [JOAT]Adaptive Forecast Bands
Introduction
Adaptive Forecast Bands is an open-source adaptive regression and mean-reversion framework. It estimates a live fair-value path from price, wraps that path in volatility-aware bands, and marks confirmed re-entry conditions only after the bar closes.
The problem this indicator solves is context around stretched price. A static moving average band can lag badly when volatility changes. Adaptive Forecast Bands uses a recursive regression engine, a live model error estimate, and an ATR blend so the envelope expands and contracts with current market behavior.
Core Concepts
1. Adaptive Regression Mean
The centerline is built from a persistent two-parameter regression state. The script uses normalized local time so the model does not depend on raw bar index growth over long histories.
forecastMean = beta0 + beta1 * xNorm
forecastErr = source - forecastMean
2. Error-Based Confidence Bands
Band width is derived from the model's exponentially weighted error plus an ATR component. This keeps the band reactive to both forecast error and realized volatility.
3. Confirmed Re-Entry Signals
The script arms a long or short setup when price reaches an outer band. A signal only prints when price confirms a re-entry back through the relevant band on `barstate.isconfirmed`.
4. Forecast Guide Lines
The right-edge guide projects the current regression slope forward for visual context. It is a guide, not a prediction, and is redrawn on the last bar to avoid object clutter.
Features
Adaptive fair-value line: Recursive regression centerline based on current price behavior
Volatility-aware envelope: Error variance and ATR combine to form dynamic upper/lower bands
Confirmed long/short labels: Re-entry signals use closed-bar logic
Right-edge forecast guide: Dashed and dotted guide lines show current slope context
Top-right dashboard: Bias, confidence, band width, slope, guide state, and signal state
Alert conditions: Long and short confirmed re-entry events
Input Parameters
Model:
Source: Price source used by the model
Forgetting Factor: How quickly the model adapts to new price information
Regression Horizon: Normalization horizon for the regression slope
Band Multiplier: Multiplier applied to model error
ATR Blend: Extra realized-volatility padding in the band width
Rebase Interval: Periodic reset to keep the adaptive model stable
How to Use This Indicator
Step 1: Use the centerline as an adaptive fair-value reference.
Step 2: Treat outer-band touches as stretched conditions, not immediate entries.
Step 3: Wait for confirmed re-entry labels when enabled.
Step 4: Read the dashboard confidence and slope before interpreting the signal.
Indicator Limitations
The right-edge guide is a visualization of current model slope, not a forecast guarantee
Mean-reversion signals can underperform during strong directional trends
The model periodically rebases by design to reduce long-history numerical drift
Signals are confirmed on closed bars and can appear after the intrabar extreme occurred
Originality Statement
Adaptive Forecast Bands is an original JOAT implementation combining normalized recursive regression, error-based confidence bands, ATR blending, confirmed re-entry logic, and a compact interpretive dashboard. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves risk, and historical behavior does not ensure future results. Always use proper risk management.
-Made with passion by jackofalltrades
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

Aureate Market Architecture Strategy [JOAT]Aureate Market Architecture Strategy
Introduction
Aureate Market Architecture Strategy is an open-source PulseWire strategy that integrates regime classification, structure bias, breakout pressure, liquidity confirmation, and risk management into one confirmed-bar execution model.
The strategy is built for users who want a rules-based implementation of the broader JOAT architecture rather than a single-indicator signal stream.
Its design goal is not to maximize trade count.
Its design goal is to trade only when multiple independent conditions agree:
the market is in an expansion-permitted regime
structure bias supports direction
pressure is strong enough to justify participation
liquidity context confirms the move
risk and daily drawdown constraints allow a new position
This produces a strategy that is intentionally selective and explicitly non-repainting.
Core Concepts
1. Regime Detection
The strategy classifies the market into accumulation, expansion, or exhaustion using ATR behavior, balance width, and normalized breakout pressure.
A persistence requirement prevents the regime state from flipping too quickly.
2. Structure Bias Filter
Directional participation is gated by confirmed medium-term structural breaks, EMA orientation, and price location relative to the fast EMA.
An optional higher-timeframe bias filter can be added using completed higher-timeframe candles only.
3. Pressure Confirmation
Breakout pressure is derived from a composite of multiple ROC windows and smoothed into an adaptive signal.
The strategy does not permit entries unless that signal exceeds its volatility-adjusted threshold.
4. Liquidity Context
The strategy estimates upper and lower liquidity anchors, counts relative touch density, and looks for sweep failure behavior to confirm whether the current move has supportive liquidity context.
5. Risk and Exit Stack
Every position uses an initial stop, a take-profit target based on risk multiple, an adaptive trailing component, a daily loss lockout, and a cooldown after exit.
Features
Three-state regime engine: accumulation, expansion, and exhaustion
Persistence logic: regime changes require confirmation across multiple bars
Structure bias filter: confirmed BOS logic combined with EMA alignment
Optional HTF bias filter: completed higher-timeframe candles only
Adaptive breakout pressure: multi-window ROC model normalized by its own volatility
Liquidity confirmation: anchor touches, sweep failures, and relative-volume support
Long and short entry logic: both directions use the same confirmed-bar architecture
Risk management: ATR-based initial stop, target, trailing logic, and daily loss control
Cooldown control: prevents immediate re-entry after an exit
Dashboard and chart overlays: display current state, active bias, and risk context
Default Strategy Properties
Initial Capital: 100000
Order Size: 10% of equity
Commission Model: Percent
Commission Value: 0.01
Pyramiding: 0
Calc On Order Fills: enabled
Calc On Every Tick: disabled
Input Parameters
Regime Engine
Regime ATR Length
Regime Baseline Length
Balance Window
Accumulation Volatility Threshold
Expansion Volatility Threshold
Regime Persistence Bars
Structure Bias
Short Pivot
Medium Pivot
Fast EMA
Slow EMA
Use Confirmed HTF Bias Filter
HTF Bias Timeframe
Breakout Pressure
Fast ROC
Medium ROC
Slow ROC
Macro ROC
Pressure Smoothing
Pressure Threshold Multiplier
Liquidity Context
Liquidity Window
Sweep Depth ATR
Relative Volume Floor
Risk Management
Initial Stop ATR
Take Profit R Multiple
Trail ATR Multiple
Daily Lockout %
Cooldown Bars After Exit
How to Use This Strategy
Step 1: Treat the Regime as the First Gate
The strategy only wants to be active in the expansion state.
If the dashboard shows accumulation or exhaustion, the system is designed to be more selective or inactive.
Step 2: Check Directional Alignment
The cleanest trades occur when structure bias, EMA alignment, pressure, and liquidity all support the same side.
Step 3: Respect the Risk Model
The stop, target, trail, and daily lockout are part of the strategy logic.
They should not be ignored when evaluating results.
Step 4: Expect Selectivity
This strategy is built to filter aggressively.
Users looking for frequent trades may need different settings or a different methodology.
Step 5: Evaluate Over Enough Trades
No strategy should be judged from a very small sample.
Assess it across enough market conditions to understand where the architecture performs well and where it degrades.
Strategy Limitations
This strategy uses chart-derived liquidity and regime approximations rather than exchange microstructure data
Selective filters can reduce trade frequency substantially on some instruments and timeframes
Backtest results depend on instrument, timeframe, commission, slippage assumptions, and session behavior
Non-repainting logic reduces false signals but can also introduce later entries than predictive systems
Originality Statement
Aureate Market Architecture Strategy is original in the way it integrates regime state, structural confirmation, normalized pressure, liquidity context, and layered risk controls into one coherent execution model.
The purpose of the integration is practical: each component addresses a different failure mode that appears when breakout systems rely on only one dimension of evidence.
Disclaimer
This strategy is provided for educational and informational purposes only.
It is not financial advice and does not guarantee profitability.
Backtest outcomes are hypothetical and derived from historical data.
Live trading includes slippage, execution variance, and market conditions that can differ materially from historical results.
Strategy

Trend Bias Oscillator**Trend Bias Oscillator (TBO)**
---
The Trend Bias Oscillator tracks where price sits within its current trend — not just whether it's bullish or bearish, but *how far along* it is within that move. It normalizes that position to a clean ±100 scale, so readings are consistent across any instrument or timeframe.
When the market is in a bullish structure, the oscillator rises toward +100 as price pushes toward the top of the established range, and pulls back toward zero on retracements. When structure is bearish, it falls toward -100 as price drops, and recovers toward zero on bounces. If price breaks beyond the known range entirely, the oscillator pins at ±100 — a sign of extension.
Structure shifts when price closes decisively above a prior swing high (bullish flip) or below a prior swing low (bearish flip). Once flipped, the bias holds until the opposite level is broken — so the oscillator stays on one side of zero for the entire duration of a trend, not just the bar the signal fired on.
The optional signal line smooths the raw oscillator, making it easier to spot when momentum is building or fading within the current bias. A widening gap between the histogram and signal line suggests continuation. Compression back toward the line suggests a pause or potential reversal ahead.
---
**What makes TBO different**
Most oscillators measure momentum or price position in isolation — they have no awareness of whether the market is in a defined trend or not. RSI, Stochastic, and similar tools will oscillate freely regardless of structure, which means a reading of 70 looks the same in a strong uptrend as it does in the middle of a range.
TBO is different because the oscillator only activates and measures depth *after* a confirmed structural break. Until price breaks a prior swing high or low with a closed bar, the oscillator stays at zero — explicitly signaling that no defined bias exists. Once a break is confirmed, TBO then continuously measures how deep price has traveled into that trend, using the opposing swing level as its reference point rather than an arbitrary lookback window or moving average.
This means TBO doesn't just tell you which direction the market is leaning — it tells you *how committed* it is to that direction at any given moment. A reading compressing back toward zero during an uptrend is a retracement warning. A reading pushing toward +100 is trend continuation. The context is structural, not statistical.
There are indicators on PulseWire that normalize price within a range, and others that detect market structure breaks. TBO combines both into a single, continuously updated reading — making it a genuinely different tool rather than a variation on existing oscillator formulas.
---
**Inputs**
**Bars Left** *(default: 20)*
How many bars to the left define a swing point. Higher values find bigger, more meaningful swings. Lower values are more sensitive and react faster.
**Bars Right** *(default: 5)*
How many bars to the right are needed before a swing is confirmed. Lower values confirm faster but can be noisier. This setting also controls how much lag the indicator has — a value of 5 means pivots confirm 5 bars after they form.
**Non-Repaint Mode** *(default: on)*
Ensures structure bias can only flip on a fully closed bar — a signal triggered intrabar will never fire and then disappear before the candle closes. The oscillator value itself will still update in real time as price moves within the current bar, which is normal and expected. What non-repaint protects is the structural flip — that moment when bias switches from bullish to bearish or vice versa. Turning this off allows real-time bias changes but signals may repaint on unclosed candles.
**Show Signal Line** *(default: on)*
Toggles the smoothed line over the histogram on or off.
**Signal Type** *(default: EMA)*
The smoothing method used for the signal line. EMA reacts fastest, SMA is straightforward, WMA weights recent bars more heavily, and RMA (Wilder's) is the smoothest and slowest. Personal preference — try EMA or RMA first.
**Signal Length** *(default: 5)*
How many bars the signal line looks back over. Shorter values follow the oscillator closely. Longer values produce a smoother line that only moves on sustained shifts.
**Signal Color** *(default: blue)*
The color of the signal line, adjustable via the color picker.
**Signal Line Width** *(default: 1)*
The thickness of the signal line. Ranges from 1 to 4.
---
**Reference Lines**
| Level | What it means |
|---|---|
| +100 | Price fully extended in bullish structure |
| +50 | Price in the upper half of the bullish range |
| 0 | No bias established, or structural midpoint |
| -50 | Price in the lower half of the bearish range |
| -100 | Price fully extended in bearish structure |
---
**A few things worth knowing**
Swing pivots confirm with a small natural delay — this is intentional and keeps the indicator from repainting. On very choppy or ranging markets, structure will flip frequently and the oscillator will hover near zero. This is the indicator working as designed, not a malfunction — it simply means no clean trend structure exists at that time. Stepping up to a higher timeframe usually clarifies the picture.
The oscillator value moving on the live bar is normal behavior and not repainting. Non-Repaint Mode specifically prevents structure bias from flipping until a bar fully closes, ensuring signals are never triggered and then taken back within the same candle. Indicator

Indicator
