Indicator

BTC Halving Indicator
**What it does:**
- Draws an **orange vertical line + label** at each past halving: 28 Nov 2012, 9 Jul 2016, 11 May 2020, and 20 Apr 2024
- Draws a **dashed aqua line** at the estimated 5th halving (~April 2028) when it's close enough to appear on your chart
- Shows a **live counter table** in the top-right: days since the last halving and estimated days until the next one
- Has settings to change colors and toggle the labels/counter on or off
**How to install it in PulseWire:**
1. Open a BTC chart (e.g. BTCUSD) on pulsewire.com
2. Click **Pine Editor** at the bottom of the screen
3. Delete whatever's in the editor, paste in the full contents of the file
4. Click **Save**, then **Add to chart**
Two tips: use the **daily or weekly timeframe** — on low timeframes like 5m, PulseWire doesn't load history back to 2012, so the older halving lines won't appear. And note the 2028 date is an estimate; the actual halving happens at block 1,050,000, so the real date drifts slightly with block times.
Want me to add anything, like cycle-phase background shading or price-at-halving markers? Indicator

Macro Thesis Fleet: Direction & Cause OverlayMacro Thesis Fleet Overlay
A read-only macro context panel for your chart. Instead of a single trend arrow, it shows how a fleet of independent macro theses currently lean on a mapped symbol — plus the top causal claim behind that lean.
What it shows (top-right table)
Asset name — human label for the matched symbol
Direction — LONG, SHORT, or MIXED from fleet vote aggregation
Room % — estimated unpriced move remaining (Tight / Moderate / Significant band)
Strength label — e.g. Clear signal, Mixed fleet, Flagged (when thesis quality gates fail)
Fleet lean — count of theses leaning up / down / neutral (when available)
Cause one-liner — the dominant D1-level macro claim driving the read (not a price summary)
How direction is computed
Each mapped symbol carries a pre-computed direction code from upstream thesis aggregation:
LONG — net tradable lean is bullish after quality filters
SHORT — net tradable lean is bearish after quality filters
MIXED — material disagreement across the thesis fleet (no forced one-sided arrow)
This is macro context, not an intraday entry signal. Use it as a filter before your own timeframe and risk rules.
How symbol matching works
On the last bar, the script builds candidate keys from syminfo.tickerid, exchange:ticker, and bare ticker, then looks up the first match in parallel embedded arrays (MACRO_TV_KEYS, MACRO_SYMBOLS). If no match, the panel states that the chart symbol is not in the current feed.
Data cadence (important)
Values are embedded at publish time as Pine string/int/float arrays — Pine cannot call external APIs on Community scripts. Republish this script when you need a refreshed snapshot. The embedded Generated: comment in source shows the bake timestamp.
Mapped symbols in this release (31)
BTC · XAUUSD · XAGUSD · NVDA · MSFT · META · GOOGL · AMZN · SPY · QQQ · IWM · GLD · GC · XLE · GDX · TLT · EURUSD · USDJPY · EURJPY · PA · KIE · FXY · AEM · RGLD · URA · UST · NUGT · VALE · TECK · XLRE · VNQ
Matching examples: BINANCE:BTCUSDT, OANDA:XAUUSD, NASDAQ:NVDA, AMEX:SPY.
How to use
Add to a chart for one of the mapped symbols above.
Read direction + room + cause in the panel.
If direction is MIXED or strength is Flagged, treat the read as low conviction until you verify contributing theses yourself.
Republish when the embedded snapshot is stale for your workflow.
Not financial advice. Macro snapshot only — not a trading system. Indicator

Candlist FX - Candle Time & CountdownDisplays the current candle's open time and a live countdown to candle close, with the timeframe label formatted MT4-style (M1, M5, M15, H1, H4, D1, W1, M1).
This indicator displays a compact info table showing:
- Timeframe – formatted in a broker-style convention (M for minutes, H for hours, D for daily, W for weekly, M for monthly)
- Candle Open – the opening time of the current candle, in your selected timezone
- Closing In – a live countdown showing how much time remains until the current candle closes
HOW IT WORKS
The script first detects the chart's active timeframe (seconds, minutes, hours, daily, weekly, or monthly) and uses that to choose the most readable countdown format:
- Daily/Weekly/Monthly → shown as days/hours/minutes
- Hourly timeframes (60min multiples, e.g. H1–H4) → shown as H:MM:SS
- Minute/second timeframes → shown as M:SS
The countdown is calculated using PulseWire's built-in `time_close` and `timenow` variables, so it stays accurate across any symbol or timeframe without manual calculation.
NOTE ON BACKTESTING
The countdown only reflects real elapsed time, so it's only meaningful on the live, currently forming candle. On historical bars (backtesting, Bar Replay, or scrolled-back charts) the countdown cell will show "—" instead of a number, since there's no real-time clock ticking on closed historical candles. The candle open time, however, is always accurate on every bar.
SETTINGS
- Table position (Top/Bottom, Left/Right)
- Text size
- Timezone for candle open time
- Custom colors for background, accent, and countdown text
This is a simple utility tool intended to help traders quickly see how much time is left before the current candle closes, useful for scalping, session timing, and price action entries near candle close. Indicator

Strategy

Indicator

Indicator

Equity Train Euphoria- Momentum Oscillator Enhanced
Equity Train Euphoria — Momentum Oscillator Enhanced
is a sentiment-driven momentum oscillator designed to help identify elevated market fear, euphoria, momentum shifts, and potential exhaustion points. It builds on publicly available open-source oscillator concepts with custom enhancements to sentiment readings, velocity metrics, extreme-zone detection, and visual warning stages.
How it works
The oscillator measures how far price is stretched from its smoothed average, normalized by recent volatility, then smoothed into a single momentum line. The line changes color with direction (lime = rising, red = falling), giving an at-a-glance read on momentum. Gradient heat zones above the overbought level and below the oversold level intensify as the oscillator pushes deeper into extremes, visually representing escalating euphoria or fear.
Key features
Sentiment dashboard — A live table displays the current sentiment stage (Neutral → Greed → Very Greedy → Extreme Greed, and the mirrored fear stages), the oscillator value, and trend direction.
Signal confirmations — Buy signals fire on oscillator/signal crossovers in oversold territory; sell signals fire on crossunders in overbought territory. Optional "Strict Extreme Confirm" requires both the oscillator and signal line to be beyond the threshold.
Pinpoint Mode (divergence confirm) — When enabled, buy/sell confirmations additionally require a regular bullish or bearish divergence between price pivots and oscillator pivots near the extremes, filtering out weaker signals.
Yellow Euphoria Entry — Marks the moment the oscillator first crosses into overbought territory, highlighting early-stage euphoria before a potential exhaustion signal forms.
Adaptive Extremes — Optionally auto-calibrates the overbought/oversold thresholds using rolling percentiles of the oscillator itself, so levels adjust to each symbol's and timeframe's behavior instead of using fixed values.
Turn signals in extremes — Green/red dots and background highlights mark direction flips that occur while the oscillator is in fear or greed zones — often areas of interest for reversals.
Amplification factor — Scales the oscillator and all levels together for visual tuning without changing signal logic.
Bar coloring & alerts — Optional bar painting on key events, plus built-in alert conditions for buy, sell, direction change, and euphoria entry.
Settings overview
Channel Length and Signal Smoothing control responsiveness; Direction Sensitivity sets how quickly trend flips register; Overbought/Oversold levels can be fixed or adaptive; divergence pivot lengths tune Pinpoint Mode strictness.
How to use
Watch for the oscillator entering the heat zones as a warning of stretched conditions. Yellow entries flag early euphoria; red/green turn dots and confirmed crossover signals suggest potential exhaustion or reversal areas. Signals are generally stronger when Pinpoint Mode divergence confirmation is enabled. Works across timeframes and asset classes; best used alongside price structure, volume, and higher-timeframe context rather than in isolation.
Disclaimer: Not financial advice. Past performance is not indicative of future results. Indicators are imperfect and should be used only as an educational and informational guide. Indicator

Indicator

xKen-t COT Index & Extremes (Native)Overview
COT Index & Extremes (Native) turns Commitments of Traders positioning into a single, decision-ready sentiment reading. It fetches CFTC COT data directly, converts a chosen trader group's net position into a 0–100 index that shows where current positioning sits within its own historical range, and flags when that positioning reaches a bullish or bearish extreme. The goal is to replace "eyeballing" raw COT lines with a defined, repeatable number.
The concept behind it
Raw COT net positions are hard to act on because "a lot" or "a little" only means something relative to an asset's own history. This script applies a position-in-range normalization (in the spirit of a Williams %R calculation, but applied to positioning rather than price): it takes the selected group's net position (long minus short) and measures where today's value falls between its lowest and highest readings over a lookback window, scaled 0–100. A reading near 100 means positioning is at the top of its historical range; near 0, the bottom. Two windows are used together — a short (26-week) read for the current swing in sentiment and a long (~3-year, 156-week) read for the structural picture.
Extremes are then defined mechanically: at or above 80 = an extreme in that group's positioning (bullish bias for commercials), at or below 20 = the opposite extreme (bearish bias). This makes "extreme" a number you can journal and alert on, not a subjective judgment.
What it does
- Fetches CFTC COT data natively and auto-resolves the correct futures contract from the chart's symbol — no need to wire in another indicator as a data source.
- Builds the net position for the selected trader group and normalizes it to the 0–100 index (short and long lookbacks).
- Marks the bullish/bearish extreme threshold zones and states a plain bias: BULLISH, BEARISH, or NO EDGE.
- Lets you switch between Commercial, Non-Commercial, and Retail (non-reportable) groups. Note these read differently — commercial hedgers are commonly used as a contrarian ("smart money") read at extremes, while non-commercials and retail are the crowd typically faded at extremes.
- Fires alerts when the index crosses into a bullish or bearish extreme.
When a symbol has no CFTC data (cash indices, most single stocks, crypto, exotic crosses), it clearly states "NO COT — use the futures symbol" and prompts you, instead of silently plotting a misleading line off price.
- Displays a panel confirming the resolved CFTC code, the active trader group, and whether the chart is on the correct (weekly) timeframe.
What's original here
Most COT tools plot raw net positions or require you to wire in another indicator's data. This one is self-contained and reframes the data for decision-making through three things: (1) it fetches CFTC Commitment of Traders data natively via PulseWire's COT library and auto-resolves the correct contract from the chart's futures symbol, so no source-wiring is needed; (2) it converts a chosen trader group's net position (long − short) into a 0–100 "position-in-range" index — a Williams-style normalization showing where current positioning sits within its own historical range over a short (26w) and long (~3y) lookback — so an "extreme" becomes a defined number (≥80 / ≤20) instead of a visual guess; and (3) it switches cleanly between Commercial, Non-Commercial, and Retail groups and states a plain bullish/bearish/neutral bias from the index. When a symbol has no CFTC data (cash indices, most stocks, exotic crosses) it says so and prompts for the futures symbol, rather than silently plotting noise. A panel confirms the resolved CFTC code, the group, and whether you're on the correct weekly timeframe.
How to use it
1. Open a weekly chart of the futures symbol (e.g. 6E1!, GC1!, DX1!, ES1!, 6N1!) — not the cash index or spot pair. COT is weekly data, and the lookbacks are counted in weekly bars.
2. Read the index and bias. ≥80 = bullish extreme, ≤20 = bearish extreme, mid-range = no positioning edge.
3. Use it as directional context, confirmed by your own entry method, levels, and risk management.
4. If the panel shows no code, enter the 6-digit CFTC code manually in settings, or switch to the contract's futures symbol.
Inputs
Trader group (Commercial / Non-Commercial / Retail) · optional CFTC code override · include-options toggle · short and long lookbacks · bullish/bearish thresholds · display and shading options.
Attribution
COT data access uses PulseWire's official LibraryCOT. This script's original contribution is the index construction, bias logic, no-data handling, and presentation built on top of that data.
Limitations and disclaimer
COT is weekly, reported with a lag, and only exists for CFTC-reported futures — so this is context, not a timing signal, and it will not read non-CFTC instruments. Positioning extremes indicate potential, not certainty, and can persist for extended periods. This is an analysis tool, not financial advice. Always confirm with your own analysis and manage risk. Indicator

Supply and Demand Zones with Market Structure [Jayadev Rana]Overview
This open-source overlay draws two closely related price-action concepts on a single chart: swing-based supply and demand zones, and market-structure mapping (swing labels, a zig-zag of confirmed swings, and Break of Structure markers). It is a visual analysis aid. It does not generate buy or sell signals, it does not place orders, and it makes no performance claim.
How swings are detected
Every element in the script is anchored to a confirmed swing pivot. Swings are found with symmetric pivots: a swing high requires its high to be the highest of the N bars on its left and the N bars on its right (and the mirror condition for a swing low), where N is the Swing High/Low Length input. Because a pivot needs N bars on both sides to exist, it is only confirmed N bars after the pivot bar. Once a swing is confirmed, its label, zone and zig-zag segment are fixed to that historical bar and do not move or repaint afterwards. The trade-off of this method is a fixed N-bar delay before a swing becomes visible. This is inherent to symmetric pivots and is disclosed here so the behavior is clear.
Supply and demand zones
When a swing high is confirmed, a supply zone is drawn from that swing high down to the top of the swing candle's body. When a swing low is confirmed, a demand zone is drawn from that swing low up to the bottom of the swing candle's body. This anchors each zone on the candle that produced the turning point. Because wick-only zones can be very thin, an optional ATR floor (on by default) gives each zone a minimum thickness equal to a configurable multiple of the 14-period ATR, so zones stay readable across different instruments and timeframes.
Each zone extends to the right until it is mitigated. A supply zone is treated as mitigated when price closes above it; a demand zone when price closes below it. On mitigation the zone is either removed or greyed out, depending on the When a zone is broken input. To respect the platform limit of 500 drawing objects and to keep the chart readable, only the newest N zones per side are retained (the Zones to keep per side input).
Market structure
Swing labels: each confirmed swing is labelled relative to the previous same-side swing. Highs are marked HH (higher high) or LH (lower high); lows are marked HL (higher low) or LL (lower low). Bullish structure (HH, HL) uses the bullish colour and bearish structure (LH, LL) uses the bearish colour.
Zig-zag: consecutive confirmed swings are joined by a line, giving a de-cluttered skeleton of price movement.
Break of Structure (BOS): the most recent confirmed swing high and swing low are tracked as reference levels. The first time price closes above the reference swing high a BOS is marked, and the mirror for a close below the reference swing low. Each level is marked only once.
Dashboard
An optional table in the top-right corner shows the current swing length, the number of active supply and demand zones, and the direction of the last Break of Structure.
Inputs
Structure and Swings: swing length, and toggles for the zig-zag, the swing labels and the BOS markers.
Supply and Demand Zones: master toggle, zones to keep per side, the ATR minimum-thickness option and multiplier, broken-zone handling (remove or grey out), and the right-extension toggle.
Colors: independent fill and border colours for supply, demand and broken zones, the zig-zag colour, and the bullish and bearish structure colours.
Dashboard: show or hide the summary table.
Alerts
Alert conditions are provided for a bullish BOS, a bearish BOS, a new supply zone, and a new demand zone.
How to use it
Supply and demand zones are commonly read as areas where price may react, while market structure (the sequence of HH, HL, LH, LL and BOS events) describes the prevailing trend and its changes. Reading the two layers together, for example a demand zone that coincides with bullish structure or a supply zone that coincides with bearish structure, is one way traders use this kind of tool. This script only draws the levels and the structure. It does not tell you when to enter or exit, and any decision you make is your own.
Originality and scope
This is an original implementation written from scratch. The underlying ideas, namely pivot-based swing detection, supply and demand zones, higher-high and lower-low structure labelling, and break of structure, are long-established public-domain price-action concepts rather than the property of any single author. The purpose of this publication is to combine them into one coherent, fully configurable, non-repainting overlay with readable code and a compact summary dashboard.
Limitations and disclaimer
Swings, and everything derived from them, appear with a fixed N-bar confirmation delay. This is by design and is not an error.
Zone mitigation is evaluated on bar close. On the developing (last) bar, states can still change until the bar closes.
Past behaviour of price around a zone or a structure point does not predict future results. This tool is for education and analysis only and is not financial advice. Test any approach yourself before relying on it. Indicator

ZH Market FilterBackground coloring (the core filter) paints the chart by market regime, based on Qullamaggie's MA idea. It compares a fast MA (10) and slow MA (20), and checks whether each is trending up versus 5 bars ago:
* Dark green — 10 above 20, both trending up (strongest)
* Light green — 10 above 20, only the 10 trending up (early/weakening)
* Yellow — 10 above 20, neither trending up (stalling)
* Black — anything else (downtrend or chop)
Plotted lines: the 10-MA (red) and 20-MA (black), plus three toggleable reference SMAs — 50 (blue), 100 (orange), 200 (purple).
Range-bound override lets you mark a consolidation manually. You enter four things: Range Top, Range Bottom, Start Date, and Range Color. From the start date forward, the background paints your chosen color — overriding the MA coloring — because you've called it range-bound. It ends automatically on the first candle that closes above the top or below the bottom, then reverts to the normal MA coloring for good. It's one range per start date (move the date forward to mark a new one), and it triggers on closes, not wick pokes.
Metrics table (top-right) shows two readouts, pulled exactly from your ZH indicator:
* QQQ — QQQ's daily % change
* BRD — breadth, calculated as (new highs − new lows) / new lows × 100 from ATHI.US and ATLO.US
Labels are white; values are green when positive, red when negative.
A few practical notes: it's Pine v6, the metrics need ATHI.US/ATLO.US data on your plan (they work in your ZH script, so you're set), and if you leave the range prices at 0 it simply won't paint — no more flattened chart. One thing to keep in mind on the range start date: it has to be a date that exists on the chart, not in the future, or nothing paints. Indicator

Liquidity Sweep Intelligence - ML Post-Sweep [Dots3Red]█ LIQUIDITY SWEEP INTELLIGENCE — KNN POST-SWEEP
Usually, a liquidity indicator shows where the price is likely to go to take liquidity. This one tells you what tends to happen after it gets there.
When price sweeps a swing high or low — triggering the stop orders sitting there — we face the immediate question: does it reverse (a stop hunt, fade the move) or does it continue (a genuine breakout)? The answer depends on context. This script tracks every historical sweep on your chart, records the contextual features at the moment it happened, and uses a KNN (K-Nearest Neighbors) model to find the most similar past sweeps and return their actual measured outcomes.
The probability shown is not derived from a formula. It is counted from real historical sweeps on your chart.
█ HOW IT WORKS
1. Pool Detection
Swing highs and swing lows are detected using two pivot lengths — a primary (default 10 bars each side) and a secondary (default 8 bars each side) — to capture both major and minor liquidity levels. Same-side pivots that form within the Equal-Level Tolerance % of each other are merged into a single stronger pool, marked with the ⊜ symbol. These are equal highs (EQH) or equal lows (EQL) — two peaks or two troughs at nearly the same price — which represent a higher concentration of stop orders than a single pivot.
Unswept pools are shown as lines on the chart: dashed for single pivots, solid for equal-level pools. Pools expire after the configured maximum age (default 50 bars) without generating a sweep record.
2. Sweep Detection
A sweep is registered when the close price exceeds a pool level by more than the Sweep Buffer (default 1.4 × ATR). This buffer filters out minor wicks that barely touch a level and requires a genuine close beyond it.
At the moment of the sweep, the script records:
• The direction (high swept or low swept)
• Whether the pool was an equal-level cluster (EQH/EQL)
• How old the pool was in bars
• The current ATR ratio (current volatility relative to the 50-bar baseline)
• Whether the sweep occurred inside an ICT killzone window
3. Outcome Measurement
After the Outcome Window (default 10 bars), the script measures what price actually did. For a swept high, it calculates how far price retraced downward and how far it continued upward, both expressed in ATR units. For a swept low, the directions are reversed. If the retracement exceeded the Reversal Threshold (default 3.5 × ATR), the sweep is classified as a reversal. Otherwise it is classified as a continuation. The result is stored in the KNN training data.
4. KNN Inference
The K-Nearest Neighbors model uses a 5-feature vector for each sweep:
• sweep_dir — was a high swept (1) or a low swept (0)?
• age_norm — how old was the pool when swept, normalized 0–1
• is_equal — was it an EQH/EQL cluster (1) or single pivot (0)?
• atr_ratio_norm — current ATR divided by 50-bar ATR baseline, capped at 3×
• in_kz — did the sweep occur inside a killzone window (1) or not (0)?
For each active sweep, the model computes the Euclidean distance to every recorded historical sweep in the training window, finds the K nearest matches (default 15), and returns three values averaged across those neighbors:
• Reversal probability — what percentage of matched sweeps reversed
• Average reversal distance — how far the reversal moved in ATR units
• Average continuation distance — how far the continuation moved in ATR units
The KNN runs every third bar per event for performance. Output is displayed only after the minimum training threshold (default 20 samples) has been reached.
5. Killzone Context
Four ICT killzone windows are tracked in New York time and used as a contextual feature in the KNN vector:
• Asia KZ — 20:00 to 00:00
• London Open KZ — 02:00 to 05:00
• NY Open KZ — 07:00 to 10:00
• London Close KZ — 10:00 to 12:00
Sweeps that occur inside a killzone are marked with ⚡ in the label. The active killzone is also shown in the dashboard.
█ READING THE LABEL
Each active sweep displays a label at the right edge of the chart:
▲ HIGH SWEPT ⊜ ⚡
Rev 68% | +1.4 ATR | N=47
▲ HIGH SWEPT — a swing high was swept (sell-side stops triggered)
⊜ — the pool was an equal-high cluster (stronger stop concentration)
⚡ — the sweep occurred inside a killzone window
Rev 68% — 68% of the 47 matched historical sweeps reversed
+1.4 ATR — the average reversal distance among those that reversed
N=47 — 47 historical sweeps matched this context
Label color follows sweep direction: orange-red for a swept high (bearish sweep), cyan for a swept low (bullish sweep).
While training data is still being collected, the label shows: Training… (8/20 needed)
█ LIQUIDITY VOID ZONE
When a sweep candle has a long wick, there is a gap between the wick extreme and where price actually closed. This zone — where price moved through too fast for normal order flow — is drawn as a semi-transparent dashed box. It represents an imbalance that price frequently returns to fill. The void is colored by sweep direction.
█ DASHBOARD
The top-right table shows:
• Session KZ — which killzone is currently active, if any
• ATR Ratio — current ATR relative to the 50-bar baseline (amber above 1.5×)
• KNN Training — progress bar showing recorded sweep outcomes vs maximum
• Overall Rev % — total reversal rate across all recorded sweeps on this chart
• Avg Rev Dist — average reversal move in ATR across all reversals
• Avg Cont Dist — average continuation move in ATR across all continuations
• Active Pools — number of unswept pools tracked, with EQH/EQL count
• Pending Sweeps — sweeps waiting for their outcome window to complete
• Resolved — count of confirmed reversals and continuations
• KNN Features — reminder of the five features used in the model
█ SETTINGS
Pool Detection
• Primary Pivot Length (10) — bars each side to confirm a major swing
• Secondary Pivot Length (8) — bars each side for minor swings; 0 disables
• Max Tracked Pools (60) — cap on active pools; oldest removed when exceeded
• Max Pool Age (50 bars) — pools older than this are expired without recording
• Equal-Level Tolerance % (3.0) — proximity threshold for EQH/EQL merging
Sweep Settings
• Sweep Buffer (1.4 × ATR) — minimum close beyond pool to register a sweep
• Outcome Window (10 bars) — measurement window after each sweep
• Reversal Threshold (3.5 × ATR) — minimum retracement to classify as reversal
• Show Liquidity Void Zones — toggle the wick imbalance boxes
• Max Historical Sweeps Shown — cap on how many past events are displayed
KNN Engine
• K Neighbors (15) — historical sweeps to average; higher = smoother, slower to adapt
• Max Training Samples (400) — rolling window; oldest samples dropped when exceeded
• Min Samples Before Display (20) — KNN output hidden until this threshold is reached
• ATR Baseline Period (50) — period for the baseline ATR used in the volatility feature
█ TIMEFRAME
Works on any intraday timeframe. Most useful at 5-minute through 1-hour where enough sweeps accumulate to build meaningful training data within a single session. On daily charts, the training window fills slowly but the signals tend to be higher quality.
The KNN model relearns continuously as new sweeps are recorded and old ones fall outside the rolling window. It adapts to the instrument and timeframe it is applied to.
█ NOTES
The reversal probability reflects historical behavior on this chart and timeframe. It is not a forward guarantee. A sweep with Rev 70% still continues 30% of the time. Use the N count as a confidence indicator — higher N means more matched examples and a more reliable estimate.
The model requires at least 20 sweep outcomes before displaying predictions. On timeframes with infrequent sweeps, this may take time to accumulate.
█ DISCLAIMER
This script is a visualization and analytical tool. It does not generate trade signals and does not constitute financial advice. Past sweep behavior does not guarantee future outcomes. Indicator

Indicator

Liquidity Reversal Zones v2Liquidity Reversal Zones v2
Liquidity Reversal Zones is a composite reversal indicator designed to identify potential long and short reversal areas after liquidity sweeps, market overextension, and order-flow exhaustion.
The indicator builds one adaptive score from multiple market factors, including:
- Liquidity sweeps of prior highs/lows, pivot levels, rolling extremes, equal highs/lows, and round numbers
- Overbought/oversold valuation using Z-score, RSI, Stochastic, Bollinger %B, MFI, and flow pressure
- CVD, OBV, volume intensity, relative volume, and absorption
- Bullish/bearish divergence from CVD, RSI, and OBV
- Aggregated crypto Open Interest with price/OI quadrant logic
- VWAP, Anchored VWAP, volume profile POC/VAH/VAL, and level retest memory
- Higher-timeframe bias, volatility regime, ADX trend filter, and chop filter
- Optional funding-rate context for crypto markets
Positive conditions create LONG reversal zones when price sweeps liquidity below key levels and shows oversold/reversal evidence. Negative conditions create SHORT reversal zones when price sweeps liquidity above key levels and shows overbought/reversal evidence.
The indicator can display:
- Composite score as columns or histogram
- Adaptive or fixed strong/medium thresholds
- Reversal zones directly on the chart
- Zone labels with probability, RR, and capitulation flags
- Target projection and zone POC
- Dashboard with strength, confluence, volume, Open Interest, sweep direction, context, and historical hit-rate
Zones are managed through a lifecycle: Active, Tested, Confirmed, or Mitigated. Nearby zones can be merged automatically.
Alerts are included for long/short zones, strong zones, CVD divergences, and capitulation conditions.
This tool is intended for analytical and educational use. It should be combined with market structure, risk management, and the trader’s own confirmation process. Indicator

Multi-Benchmark Mean-Reversion Map + TriangulationMulti-Benchmark Mean-Reversion Map + Triangulation (MR+T)
The Multi-Benchmark Mean-Reversion Map + Triangulation (MR+T) is an advanced cross-sectional analysis dashboard designed to track statistical exhaustion, macro-driven capital flows, and relative value.
Instead of evaluating an asset in a vacuum, this indicator normalizes asset performance across a matrix of multiple foundational global benchmarks: Debased Fiat (USD), Broad Equities (SPY), Hard Money (Gold), and Energy/Commodities (Brent Crude). By triangulating these distinct macro lenses simultaneously, the script helps traders strip out market noise and separate idiosyncratic asset strength from broad macro shifts.
The Core Innovation: Flexible Universes (Sectors, Stocks, or Both)
A key feature of the script provided in this indicator is its Dual-Persistent Universe Engine. Through a single master switch in the settings, you can completely re-contextualize the dashboard without losing your inputs:
• Sectors Mode (Macro Cross-Sectional): Tracks a curated, highly representative macro basket of sector ETFs (Technology, Energy, Biotech, Financials, Utilities, etc.) alongside Bitcoin. This mode maps institutional sector rotation as capital flows across the economy.
• Stocks Mode (Custom Portfolio Basket): Instantly shifts the entire cross-sectional engine to read your own hand-picked portfolio names. Input your 12 favorite stock tickers once, and the script dynamically calculates statistical extensions, oversold conditions, and relative rotation rankings across your custom universe.
• Per-Row Mode (The Hybrid Mix): Gives you the freedom to blend asset classes (e.g., tracking a specific stock right next to a broader macro sector ETF). When a mixed universe is detected, the cross-sectional synthesis layers gracefully stand down to avoid mathematical mismatching, while individual row metrics—such as specific Z-scores, multi-benchmark conviction, and exhaustion signals—remain completely active.
Mapping Dashboard Insights Directly to Your Main Chart
To get the maximum analytical utility out of this system, you can perfectly synchronize the dashboard rows with the exact asset you are actively trading. By opening the indicator settings and navigating to the 8. Universe section, you can customize any of the 12 available slots to match your specific portfolio holdings or targeted sector ETFs.
When you pull up a specific stock or sector on your main PulseWire chart, ensuring that same ticker is active in the script creates a seamless, dual-frame analysis window. While your main window tracks absolute price action and traditional candle patterns, the indicator pane below isolates that very same asset's relative value—mapping its real-time mean reversion, exhaustion levels, and multi-benchmark conviction matrix right beneath its price chart.
Key Use Cases & Analytical Benefits
1. Multi-Benchmark Triangulation (Filtering False Breakouts)
Evaluating a stock against only the S&P 500 can create blind spots. If the S&P 500 is plunging due to a macro liquidity squeeze, a stock might look exceptionally strong relatively, even if it is losing absolute purchasing power. By viewing each asset through four distinct macroeconomic lenses simultaneously, you get a "true" read on strength. High-conviction setups occur when an asset registers concurrent extreme readings across the core voting benchmarks.
2. Identifying Statistical Exhaustion Zones
The indicator converts price ratios into smoothed, volatility-adjusted Z-scores based on a customizable rolling lookback window:
• Overextended & Undervalued z-score zones: Flagged when an asset stretches beyond standard statistical thresholds (+1.5 and -1.5 standard deviations).
• Danger and Opportunity Bands: Highlight deep macro overextension and undervaluation zones (drawn from +2.0 to +3.5 and -2 to -3.5 standard deviations) to indicate severe historical premium or discount.
• Extreme standard deviations cross: Triggered when an asset reverses (crosses) the -2.0 and + 2 standard deviations level.
3. Systematic Capital Rotation Tracking
When an asset triggers an extreme crossover signal on your primary benchmark, the script prints immediate visual alerts (▲/▼) in the monitoring panel. If one asset is systematically reverting downward out of overextension while another is turning up from undervaluation, the dashboard synthesizes this real-time dynamic into an active, conviction-backed Rotation Verdict.
Clean HUD Design: The "Fintech Grey-Field"
To solve the "spaghetti chart" dilemma common to multi-line indicators, MR+T introduces a Grey-Field Mode:
• Neutral State: When assets are trading within their normal statistical bands, their plot lines rest in a muted, unobtrusive neutral grey.
• Exhaustion State: As an asset begins to detach from its mean and enter an overextended or undervalued zone, its line dynamically blends into its vibrant, signature sector color.
• Actionable Visuals: This allows you to keep the indicator loaded as a clean bottom pane that only commands your visual attention when an asset hits a critical, actionable extreme. You can also lock up to two custom Focus Lines to remain fully illuminated at all times.
How It Works (Under the Hood)
• Ratio Generation: The script fetches daily close data for your selected universe and divides it by the active macro benchmark. A custom USD Penalty input allows you to apply a fixed percentage haircut to model structural currency debasement and purchasing power loss.
• Dual Smoothing Process: The raw price ratio is smoothed via an EMA to eliminate hyper-short-term noise, passed into a rolling Simple Moving Average (SMA) and Standard Deviation calculation to generate a clean, normalized Z-score, and then smoothed a final time for fluid line trajectories.
• The Triangulation Matrix: While the visual line plots track your selected Primary Benchmark, the on-screen table keeps a constant, real-time eye on all core macro frames, tallying a dynamic Conviction Score based on concurrent multi-benchmark agreement.
Disclaimer & PulseWire Compliance
This indicator is designed purely for quantitative research, data synthesis, and educational purposes. It displays statistical deviations and relative values based on historical data. It does not provide financial advice, trading signals, or guarantees of future profitability. Indicator

Indicator

LCD Breakout ConfirmationLCD Breakout Confirmation Free Indicator
by @Miguelrosal1994
What this is / Qué es esto
Most traders enter breakouts blind. Price breaks a level — they buy or sell. Then price reverses and they wonder why.
This indicator doesn't predict. It measures. It tells you in real time whether the breakout you're watching has the three elements that separate institutional conviction from a retail trap.
La mayoría de los traders entran en breakouts a ciegas. El precio rompe un nivel — compran o venden. Luego el precio revierte y se preguntan por qué.
Este indicador no predice. Mide. Te dice en tiempo real si el breakout que estás viendo tiene los tres elementos que separan la convicción institucional de una trampa retail.
The three factors / Los tres factores
Factor 1 — Volume / Volumen
Volume is the fuel of any real move. When institutions enter, they can't hide — they need size, and size shows up in volume.
If the breakout candle has volume below the 20-bar average, nobody important is participating. That's a fakeout waiting to happen.
Default threshold: 1.2× average. The breakout bar must have at least 20% more volume than normal to score this factor.
El volumen es el combustible de cualquier movimiento real. Cuando los institucionales entran, no pueden esconderse — necesitan tamaño, y el tamaño aparece en el volumen.
Si la vela del breakout tiene volumen por debajo del promedio de 20 barras, nadie importante está participando. Eso es un fakeout esperando ocurrir.
Umbral por defecto: 1.2× el promedio. La vela de ruptura debe tener al menos 20% más volumen que lo normal para puntuar este factor.
Factor 2 — Candle Body / Cuerpo de vela
A real breakout closes far from the broken level. A fakeout touches the level with a long wick and closes back inside — the price tested but didn't commit.
The body is measured relative to the ATR (Average True Range) — the average movement of the instrument in recent bars. This makes the indicator adaptive: a strong body in a low-volatility environment is different from a strong body in a high-volatility one.
Default threshold: 0.4× ATR. The candle body must be at least 40% of the recent average range.
Un breakout real cierra lejos del nivel roto. Un fakeout toca el nivel con una mecha larga y cierra de vuelta adentro — el precio testeó pero no se comprometió.
El cuerpo se mide relativo al ATR (Average True Range) — el movimiento promedio del instrumento en barras recientes. Esto hace el indicador adaptativo: un cuerpo fuerte en un entorno de baja volatilidad es diferente a un cuerpo fuerte en uno de alta volatilidad.
Umbral por defecto: 0.4× ATR. El cuerpo de la vela debe ser al menos 40% del rango promedio reciente.
Factor 3 — Volume Delta (Tick Rule) / Delta de volumen
This is the most sophisticated factor. It doesn't just look at how much volume there was — it looks at where within the bar that volume was traded.
The Tick Rule splits each bar's volume into buy pressure and sell pressure based on where price closed within the range:
Close near the high → buyers were aggressive → positive delta
Close near the low → sellers were aggressive → negative delta
Close in the middle → equilibrium → delta near zero
Formula: delta = volume × (2 × (close - low) / (high - low) - 1)
If price breaks up but the delta is negative — sellers absorbed the move. That's a fakeout. If price breaks up and the delta is strongly positive — buyers drove the move. That's conviction.
Este es el factor más sofisticado. No solo mira cuánto volumen hubo — mira dónde dentro de la vela se negoció ese volumen.
La Tick Rule divide el volumen de cada vela en presión compradora y vendedora según dónde cerró el precio dentro del rango:
Cierre cerca del high → compradores agresivos → delta positivo
Cierre cerca del low → vendedores agresivos → delta negativo
Cierre en el medio → equilibrio → delta cerca de cero
Fórmula: delta = volumen × (2 × (close - low) / (high - low) - 1)
Si el precio rompe al alza pero el delta es negativo — los vendedores absorbieron el movimiento. Eso es un fakeout. Si el precio rompe al alza y el delta es fuertemente positivo — los compradores impulsaron el movimiento. Eso es convicción.
The score / La puntuación
🟢 3/3 — REAL BREAKOUT
All three factors confirm. Volume is there, the candle committed, and order flow agrees. This is where institutions moved. Pay attention.
Los tres factores confirman. El volumen está, la vela se comprometió y el flujo de órdenes concuerda. Aquí es donde se movieron los institucionales. Presta atención.
🟡 2/3 — POSSIBLE — wait
Two factors confirm, one doesn't. The move has partial conviction. Wait for the next candle to confirm or look for additional confluence before entering.
Dos factores confirman, uno no. El movimiento tiene convicción parcial. Espera que la siguiente vela confirme o busca confluencia adicional antes de entrar.
🔴 1/3 or less — FAKEOUT likely
The breakout lacks institutional backing. High probability of reclaim — price returning inside the broken level. Do not chase. Wait.
El breakout carece de respaldo institucional. Alta probabilidad de reclaim — el precio regresando dentro del nivel roto. No persigas. Espera.
How to read the panel / Cómo leer el panel
The panel in the top right always shows the last breakout that occurred — not the current bar. This is intentional. It tells you the quality of the most recent structural move so you can decide whether to trade the aftermath.
The three lines in the sub-panel show current bar values in real time — volume ratio, body ratio, and normalized delta. Watch these lines before a breakout: when volume starts rising and delta starts trending in one direction, something is about to happen.
El panel en la esquina superior derecha siempre muestra el último breakout que ocurrió — no la barra actual. Esto es intencional. Te dice la calidad del movimiento estructural más reciente para que puedas decidir si operar las consecuencias.
Las tres líneas en el sub-panel muestran valores de la barra actual en tiempo real — ratio de volumen, ratio de cuerpo y delta normalizado. Observa estas líneas antes de un breakout: cuando el volumen empieza a subir y el delta empieza a moverse en una dirección, algo está a punto de ocurrir.
How to use it / Cómo usarlo
Works on any instrument and any timeframe. No repainting. No lookahead bias.
Use green columns (3/3) as reference Order Blocks — levels where institutional conviction was confirmed. When price returns to those levels, that's where the reaction is most likely.
I don't give signals. I show where price has to define itself.
Funciona en cualquier instrumento y cualquier temporalidad. Sin repintado. Sin sesgo de lookahead.
Usa las columnas verdes (3/3) como Order Blocks de referencia — niveles donde se confirmó la convicción institucional. Cuando el precio regresa a esos niveles, ahí es donde la reacción es más probable.
No doy señales. Doy puntos donde el precio tiene que definir.
Want more free tools? Comment below. 👇
¿Quieres más herramientas gratuitas? Comenta abajo. 👇 Indicator

Endogenous Macro Heatmap [invincible3] Endogenous Macro Heatmap
The Endogenous Macro Heatmap is a multi-factor macroeconomic dashboard designed to show the internal economic condition of a selected country in a compact table format directly on the chart.
Unlike cross-country or exogenous comparison models, this indicator focuses on domestic macro conditions : growth, production, demand, liquidity, rates, inflation, employment, fiscal position, debt pressure, and central bank balance sheet behavior.
The goal is to help traders, investors, and macro analysts quickly assess whether a country’s internal economic backdrop is improving, neutral, weakening, or entering a stress phase.
The indicator uses a heatmap structure so that changes in the macro environment can be understood visually. Stronger readings are shown through the positive color gradient, weaker readings through the negative color gradient, and balanced or transition zones through the neutral color.
What This Indicator Measures
The heatmap tracks a broad set of endogenous macro variables, including:
GDP year-over-year growth
Manufacturing production / manufacturing index
New orders or capacity utilization
Building permits, construction output, construction orders, or housing starts depending on the selected country
Retail sales year-over-year
Money supply
10-year government bond yield
Interest rate
Inflation year-over-year
Employment-related data
Debt-to-GDP
Government budget
Central bank balance sheet
Because macro data availability differs across countries, the script automatically substitutes certain fields where required. For example, some countries may use construction output, construction orders, housing starts, or capacity utilization depending on what is available in the PulseWire economic database.
Supported Countries
The dashboard currently supports:
United States
United Kingdom
Euro Area
Germany
France
Italy
Canada
Japan
China
Australia
South Korea
New Zealand
Each country uses its corresponding PulseWire economic code where available.
Composite Macro Score
The final Score column converts multiple macro readings into a single composite score from 0 to 100.
The score is grouped into four macro blocks:
1. Growth Block
Includes GDP, manufacturing, new orders, construction/building activity, retail sales, and employment.
This block has the largest weight because real economic momentum is the primary driver of macro regime strength.
2. Liquidity Block
Includes money supply and central bank balance sheet data.
This block helps identify whether domestic liquidity conditions are expanding or contracting.
3. Tightness Block
Includes 10-year yield and interest rate conditions.
This block helps measure whether financial conditions are becoming easier or tighter.
4. Stability Block
Includes inflation, debt/GDP, and government budget data.
This block helps detect macro pressure from inflation, fiscal stress, or excessive debt burden.
The composite score is weighted as follows:
Growth: 45%
Liquidity: 20%
Tightness: 20%
Stability: 15%
Score Interpretation
The score is displayed as a clean numeric value without extra symbols, making the table easier to read.
General interpretation:
70–100: Strong macro condition
55–69: Positive / improving condition
45–54: Neutral / transition condition
30–44: Weak condition
Below 30: Stress condition
The score should not be interpreted as a direct buy or sell signal. It is a macro regime filter designed to provide context.
Heatmap Color Logic
The table uses a simple and consistent three-color structure:
Positive color: stronger or favorable macro readings
Neutral color: balanced or mid-range readings
Negative color: weaker or unfavorable macro readings
The color system is intentionally matched with the Exogenous Heatmap style, allowing both dashboards to be used together with a consistent visual language.
Each macro field also includes an **Up Good** setting. This allows the user to define whether higher values are favorable or unfavorable for each metric.
For example:
Higher GDP growth is generally positive.
Higher manufacturing activity is generally positive.
Higher liquidity can be positive.
Higher inflation, debt, or rates may be interpreted differently depending on the user’s macro framework.
This flexibility allows the heatmap to be adapted for different economic regimes and analytical preferences.
Auto and Manual Scaling
The indicator includes an automatic macro gradient scale.
When auto scaling is enabled, the heatmap normalizes each metric based on the visible historical table range. This makes the table visually adaptive and easier to compare across different periods.
Manual scaling is also available for users who prefer fixed macro ranges.
This is useful when comparing the same country across different time periods or when the user wants a stable visual reference.
Timeframe and History Controls
Users can select the table period:
Yearly
Quarterly
Monthly
Weekly
Daily
The data can be fetched by:
A fixed number of periods
A selected start date
This gives flexibility for short-term macro monitoring as well as longer-term economic cycle analysis.
Table Customization
The dashboard includes several table display settings:
Show or hide table
Select table position
Select table size
Customize positive, neutral, and negative colors
The table automatically adapts to the chart background and foreground colors for better readability on both dark and light chart themes.
How to Use
This indicator is best used as a macro context tool.
A practical workflow:
1. Select the country you want to analyze.
2. Choose the table period, such as monthly or quarterly.
3. Review the color trend across the macro fields.
4. Watch whether growth, liquidity, tightness, and stability are improving or deteriorating together.
5. Use the composite score as a broad internal macro regime filter.
6. Combine the macro backdrop with price action, trend, liquidity, sector rotation, and risk management.
For example:
A rising score with improving growth and liquidity may support a risk-on environment.
A falling score with weakening growth and tightening conditions may warn of macro deterioration.
A neutral score may indicate a transition period where markets can become more sensitive to new economic data.
Suggested Use Cases
This heatmap can be useful for:
Macro regime analysis
Country-level economic monitoring
Risk-on / risk-off context
Equity index analysis
Bond market context
Currency market macro background
Sector rotation research
Long-term investment cycle analysis
Comparing domestic conditions with external macro pressure when used together with an exogenous heatmap
Important Notes
Economic data can be revised, delayed, or unavailable depending on the country and PulseWire’s data coverage.
Some fields may not exist for every country, so the script uses alternative fields where possible.
The heatmap is designed for macro analysis and educational research. It does not predict price direction by itself and should not be used as a standalone trading system.
Always combine macro signals with technical analysis, market structure, liquidity conditions, and proper risk management.
Disclaimer
This script is for educational and analytical purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
Markets are influenced by many factors beyond macroeconomic data, including positioning, liquidity, earnings, policy changes, geopolitical events, and sentiment. Use this tool as one layer of a broader decision-making process.
Indicator

Indicator

Strategy

Global Tape World Markets 24hGlobal Tape — World Markets on the 24-Hour Clock
Global Tape arranges the world's stock markets as a single horizontal strip, ordered by the time each market opens. Read left to right, the strip is a 24-hour clock: markets on the left traded earlier in the day, markets on the right trade later, and the cell in the middle — shown in brackets — is the market that is open right now. Because the trading day is a loop, the strip rotates through the session so the live market stays in the centre, with the close of one day meeting the open of the next at the edges.
The strip is built for an intraday chart. It shows today's session as it unfolds, so it is designed to be read on a timeframe of 60 minutes or lower. On a daily or higher chart it displays a notice instead of values.
WHAT EACH MARKET SHOWS
Every market occupies one column with three rows.
SETTLED is how that market's most recent full trading day finished, shown as its change for the day and held until the market trades again. The colour shows direction and strength: green shades for a market that finished up, red shades for one that finished down, and a neutral slate for little change. A deeper colour means the move was broad across the market's main stocks; a faded cell means one stock did most of the moving, so the colour represents the whole market less well.
FORWARD is the index future for that market — a price that trades before and around the cash session. It shows where the future is trading now, ahead of the market's open. Where a market has no widely-traded retail future, the cell is left blank rather than filled with a substitute.
PRE-MKT stays empty for most markets most of the time. A mark appears only in the short window before a market opens, and it shows how far that market's future has moved since the window began. Trading is usually thin in this window, so a value here reflects movement during a period of lighter activity. Hovering the cell also shows how the move compares with that market's normal range, so an ordinary move and an unusually large one can be told apart.
Beneath the three rows is a registration track that marks the position of the live market, so the strip reads as a continuous film of the trading day.
HEADER
The header names the strip and gives a plain count of how many markets are higher on the day. It is a fact to notice, not a conclusion.
HOW THE COLORS ARE BUILT
The SETTLED color combines three things. Direction and strength come from how many of a market's tracked stocks moved up versus down. A market with only one tracked index can show direction but not breadth, so its color is held to the softer shades — a single index cannot represent agreement across a market. Vividness reflects how evenly the move was spread: when one stock dominates, the cell is shown more faded, as a reminder that the colour represents fewer names.
DATA AND SETUP
The strip reads each market through its own data feed, so it does not require extended-hours trading to be enabled on your chart. It does require that your PulseWire data plan includes the markets shown — international indices and futures (for example Tokyo, Frankfurt, Hong Kong, and the index futures). A market your plan does not cover will appear blank.
Several symbols are exposed as inputs so they can be adjusted to match your data feed. Index futures vary by subscription, and the US leader stocks shown in the tooltip can be changed as market leadership changes over time. The pre-open window length and the colour thresholds are also adjustable.
NOTES
This is a descriptive instrument. It shows what each market has done and where its future is trading; it does not generate signals or suggest actions. The session times adjust automatically for daylight saving in each region.
Built on Pine Script v6. Indicator

Indicator
