Primaegis NSE Breadth DashboardMarket breadth for NSE, measured live across 24 size and sector indices, with a
composite regime score and a plain-language read of what the numbers mean.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY INDICES AND NOT STOCKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Classic breadth counts individual stocks — how many of ~2,000 names are above
their 200-DMA. Pine cannot do that: request.*() is capped at 40 calls per
script, and Pine has no network access, so an external breadth feed can only
arrive through Pine Seeds, which is end-of-day only.
Indices, however, Pine can read live. So this measures participation across 24
NSE indices instead. It is a different measurement, not a substitute: a
cap-weighted index set will not reproduce a stock count, and it responds more
slowly at turns. What it gives you in exchange is a regime read that is current
right now, with no infrastructure behind it.
The size tier deliberately includes SmallCap 250 and MicroCap 250. Breadth
breaks at the small end first, and an index set that omits it will look healthy
while the tail is bleeding.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GAUGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
R-ratios follow the standard breadth convention: R = above / below x 100, so
100 is parity, 200 means twice as many above as below.
E200 % of indices above their 200-EMA. The trend axis.
20R above vs below the 20-EMA. Short-term participation.
50R above vs below the 50-EMA. Intermediate participation.
A/D indices up today vs down today.
Thrust indices up more than X% vs down more than X% (default 1%). Indices move
far less than single stocks, so a stock-scale 4% threshold would almost
never fire; 1% is the index-scale equivalent.
All values are requested on the daily timeframe and are identical on any chart
resolution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PS SCORE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A single 0-100 composite. Every term is in the source; nothing is hidden.
Trend (E200) weight 30 mapped 30% -> 0, 65% -> 1
Participation (20R,50R) weight 25
Thrust weight 20
Momentum (change in R) weight 15 mapped -25 -> 0, +25 -> 1
Advance/Decline weight 10
R-ratios enter on a log scale, because R is a ratio: 200 and 50 are equal and
opposite, not 150 apart. A linear scale would let one strong day dominate.
70+ RISK-ON broad participation
55-69 CONSTRUCTIVE improving but unconfirmed
45-54 NEUTRAL no edge either way
30-44 DEFENSIVE tape is thinning
<30 RISK-OFF participation has left
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PANELS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT TO DO — a written read of the current state that changes with the numbers,
covering position sizing and whether the tape supports new risk at all.
WHAT WOULD CHANGE IT — the distance to the next threshold, counted in indices:
"E200 41.7% to 47%: 2 more indices over the 200-EMA." A level expressed as a
percentage is abstract; expressed as a count of things that must happen, it is
something you can watch for.
HEATMAP — every index with its change and a 0/3 stack score against the 20, 50
and 200 EMAs. This is what a single breadth number cannot tell you: which
sectors are carrying the market and which are dragging it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thrust threshold Index-scale move that counts as thrust. Default 1%.
EMA lengths Fast 20, mid 50, slow 200.
Size / Sector Toggle either group off.
Extra indices Add your own, comma separated. 24 of the 40 available
request.*() calls are used, so there is room for about 14 more.
Display Independent size, position and theme for both tables.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Index breadth is not stock breadth. Cap-weighted indices understate damage in
the small-cap tail even with the size tier included. Treat it as a fast read,
not a precise count.
- The built-in universe is NSE. The Extra field accepts any exchange, but the
defaults are India-specific.
- No alerts, no entries, no exits. It describes the tape; it does not trade it.
- Regime tools are slow by nature. Do not use one to time a single position. Indicator

Primaegis Power Movers DashboardA watchlist dashboard that ranks up to 40 symbols by whether today's volume is
actually backing the move — not just by how big the volume is.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE PROBLEM IT SOLVES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Relative volume is direction-blind. Sorted by raw RVOL, a stock down 4% on
11x average volume sits above a stock up 4% on 5x volume — the heaviest
distribution day on your list outranks the best accumulation day. You end up
reading the top of the table as a shopping list when half of it is the exit
queue.
This adds two composite rankings that carry the sign of the move, so the top
of the list and the bottom of the list are both useful.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CALCULATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
RVOL = today's volume / SMA(volume, N) of the PRIOR N days (default 20).
The current bar is excluded from its own baseline. Requested on the daily
timeframe, so readings are identical on any chart resolution.
Strong Start (★) = open > previous close AND day's low >= previous close x 0.995.
The stock gapped or opened up and never gave back more than 0.5% of the prior
close. Credit for the concept goes to Manas Arora.
POWER = RVOL x Chg% + (0.5 x RVOL if Strong Start)
Volume-weighted move. Up-on-heavy-volume floats to the top, down-on-heavy-
volume sinks to the bottom, and the middle of the list is genuinely the noise.
The Strong Start bonus scales with volume, so a star on 5x volume outranks a
star on 1x. RVOL is capped at 15x and Chg% at +/-15% so a single halted or
gapping name cannot dominate the ranking.
PRESSURE = RVOL x |Chg%|
Same magnitude, sign discarded. The biggest volume-backed moves in either
direction rise together. Use this early in the session, when Chg% is noisy
and you want to see where volume is landing regardless of direction.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
READING IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cross RVOL against direction and you get four quadrants:
High RVOL + up accumulation. The A setup, especially with a star.
High RVOL + down distribution. The most useful exit signal on the board.
Low RVOL + up drift. No participation behind it; fades easily.
Low RVOL + down healthy pullback. On a leader, the constructive quadrant.
Row tinting is independent of the sort: only the heaviest X% by RVOL (default
50%) get a tinted row, shaded by direction and graded by rank. Untinted rows
are participating at noise level whatever their percentage says.
Benchmark your readings against the index. A name at 100% RVOL on a day the
index is at 115% is participating LESS than the market, not more.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Paste watchlist Comma or newline separated. Bare tickers get the default
exchange prefix, so a screener export pastes straight in.
Start at symbol # Page a list longer than 40 across multiple instances.
Sort by Power (default), Pressure, RVOL, Chg%, or SS.
Show Watchlist only (default), Both, or Current symbol only.
The corner box costs one row, so "Both" caps the table at 39.
Light up top % How much of the list gets tinted. Lower = fewer, hotter names.
Columns Chg% and the Power/Pressure score are optional.
Theme / size / position for the table and the corner box.
Run several instances with different lists to monitor more than 40 names.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- 40 symbols per instance. This is Pine's cap on request.*() calls, not a
design choice.
- Intraday, RVOL compares a partial day against full prior days, so it climbs
through the session. Compare like with like, or read it near the close.
- Thin names produce unstable RVOL — a small denominator makes the ratio jumpy.
Apply your own liquidity filter before adding a symbol.
- This is a dashboard, not a signal generator. No entries, exits or alerts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CREDITS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Modified from "Strong Start RVOL Dashboard" by @finallynitin, published under
MPL 2.0 and reused under that licence. The original credits @FreeThinkEd for
the base script and Manas Arora for the Strong Start concept. All of that
lineage stands.
Added in this version:
- Power and Pressure composite rankings, with Power as the default sort
- Optional score column so the ranking is inspectable rather than implicit
- Rewritten tinted-row contrast: the background already encodes direction, so
colouring the text by direction too produced red glyphs on a red fill. Tinted
rows now use a single high-contrast ink; untinted rows keep semantic colour
- Softer dark-theme palette (pure lime and pure red are harsh at small sizes)
- Leading zeros on sub-1 values, so 0.9% no longer renders as .9% Indicator

Multi-Timeframe Break of Structure EngineMulti-Timeframe Break of Structure Engine is a confluence-based structure tool that detects break-of-structure events on an execution timeframe, then filters those events through two higher-timeframe trend layers before signaling.
This script is designed for traders who want structure events in context, rather than isolated break signals.
What this script does
The script has four connected jobs:
1. Detects bullish and bearish break-of-structure events on a chosen structure timeframe.
2. Validates directional context with two higher-timeframe filters.
3. Tracks the active BOS level and monitors first retest behavior.
4. Emits separate event classes for raw structure events and fully aligned confluence signals.
The practical goal is to reduce low-context entries and keep the chart focused on structure levels that still matter.
How the model is built
The logic is based on three directional layers plus state management:
1. Macro Layer 1
This is the highest trend layer (default Daily). It uses a fast/slow moving-average relationship to define broad directional bias.
2. Macro Layer 2
This is an intermediate confirmation layer (default 4H). It combines fast/slow MA direction with close relative to a short MA, so intermediate momentum must also agree with bias.
3. Structure Layer
This is the execution layer (default 15m). BOS events are detected from structure-timeframe closes relative to prior structure swing references.
A BOS event becomes an aligned signal only when all three layers agree with its direction.
Core BOS logic
Bullish BOS logic:
- Structure close breaks above prior structure swing reference.
- Optional strength filter can require the break candle body to be larger than average by a multiplier.
- Macro and structure layers are evaluated for directional agreement.
Bearish BOS logic:
- Structure close breaks below prior structure swing reference.
- Optional strength filter works symmetrically.
- Macro and structure layers are evaluated for directional agreement.
The script evaluates BOS events on structure-bar transitions, which helps avoid repeated triggers from lower-timeframe bar noise during a single structure candle.
Retest logic
After a BOS level is created, the script tracks one active BOS level and evaluates first retest conditions.
Two retest modes are available:
1. Wick Touch
Retest requires direct contact with the BOS level and directional close behavior.
2. ATR Proximity
Retest can qualify within a volatility-adjusted distance from the level using structure-timeframe ATR and a user-defined multiplier.
This dual mode is useful because low-volatility instruments often respect precise touches, while high-volatility instruments may react near a level without exact contact.
Validity window behavior
The optional validity window expires BOS levels that remain unretested for too long.
If enabled, validity duration is measured in structure bars. This keeps the level lifecycle aligned with the same timeframe where BOS is detected, rather than chart bars that may be faster or slower than the structure context.
Why this script can be useful
The script is not a single trigger line. It combines:
- directional context from higher timeframes,
- structure break detection on execution timeframe,
- persistent level tracking,
- retest qualification,
- optional expiration logic.
This interaction is intended to reduce low-quality breakout noise and keep attention on structure events that are still contextually relevant.
What is plotted
1. Optional MA overlays
- Structure fast and slow MA.
- Macro 1 fast and slow MA.
- Macro 2 price/fast/slow MA.
2. Signal markers
- BOS long/short markers for aligned BOS.
- Retest long/short markers for aligned retests.
3. Active BOS level line
- Horizontal level extends until retest or replacement by a new BOS event.
- Optional right-side BOS price label.
4. Optional alignment dashboard
- Macro 1 state.
- Macro 2 state.
- Structure state.
- Final alignment state.
How to use it in a practical workflow
Example workflow:
1. Set structure timeframe for execution rhythm
Scalping-style execution usually uses lower structure values.
Intraday continuation often uses moderate structure values.
Swing continuation uses higher structure values.
2. Keep higher-timeframe context logical
A common approach is Macro 1 above Macro 2 above Structure so each layer has a distinct role.
3. Wait for alignment first
Use alignment as context. Do not treat any single output in isolation.
4. Use BOS as setup creation
A new BOS indicates potential directional continuation under confluence.
5. Use retest as conditional confirmation
Retest can help refine entries after initial break.
6. Manage invalidation separately
The script does not replace personal risk management, stop placement, or position sizing.
Input groups and what they control
Structure Timeframe Settings
- Structure Timeframe: execution structure context.
- Structure MA Type: EMA or SMA for structure trend.
- Structure Fast/Slow Lengths: structure trend sensitivity.
Macro Layer 1 Settings
- Macro 1 Timeframe: broad trend context.
- Macro 1 Fast/Slow Lengths: sensitivity of broad trend filter.
- Macro 1 MA Type: EMA or SMA behavior choice.
Macro Layer 2 Settings
- Macro 2 Timeframe: intermediate filter.
- Macro 2 Fast/Slow Lengths: trend filter sensitivity.
- Macro 2 Price MA Length: participation filter via close relative to short MA.
- Macro 2 MA Type: EMA or SMA behavior choice.
Candle Close Confirmation
- Wait for candle close: event gating behavior on chart bars.
BOS Advanced Filters
- Enable BOS validity window: controls expiration behavior.
- BOS validity (structure bars): expiration duration.
- Enable BOS strength filter: optional quality threshold on break candle body.
- Min body size multiplier: strength threshold.
- Show BOS labels: level label visibility.
- Max stored BOS lines: line object management limit.
Retest Detection Settings
- Retest method: Wick Touch or ATR Proximity.
- ATR Period: volatility measurement period for proximity mode.
- ATR Proximity Factor: allowable near-level distance in ATR terms.
Display Options
- Show structure and macro MA overlays.
- Show dashboard table.
Colors and Labels
- Bullish and bearish display colors.
- BOS label text color.
- Label right offset.
Alert architecture
The script provides alert conditions for:
- aligned BOS long/short,
- aligned retest long/short,
- alignment flips,
- raw BOS creation events,
- raw retest events,
- macro and structure trend flips.
This allows users to build different alert workflows:
- conservative workflow uses aligned BOS/retest alerts only,
- contextual workflow also monitors alignment flips,
- diagnostic workflow includes raw events for observation.
Market and timeframe suitability
This script can be used on:
- crypto,
- forex,
- indices,
- equities,
- commodities.
Execution styles it can support:
1. Scalping-style continuation
- Lower structure timeframe.
- Generally stricter retest conditions.
- Faster context changes and more signal frequency.
2. Intraday trend continuation
- Moderate structure timeframe.
- Typical use of both BOS and retest phases.
- Good balance between responsiveness and filtering.
3. Swing continuation
- Higher structure timeframe.
- Often benefits from ATR Proximity retest mode.
- Lower signal frequency, broader moves.
Style suitability depends on parameter choices and instrument volatility.
Interpretation guidance and limitations
Important limitations:
1. This is a context and structure tool, not a profit guarantee tool.
2. Trend filters may lag near turning points.
3. Strength filters reduce noise but may skip early break phases.
4. ATR Proximity can become loose if multiplier is set too high.
5. BOS logic can still produce false continuation in choppy, mean-reverting conditions.
Because of this, risk management remains mandatory.
How this differs from a basic single-layer BOS script
This script does not only mark local breaks. It manages an interaction chain:
- structure event detection,
- multi-timeframe agreement,
- stateful BOS level tracking,
- retest qualification modes,
- level validity expiration.
The objective is cleaner structure context and better workflow discipline, not maximizing raw signal count.
Responsible usage notes
- Start with default values, then adjust gradually.
- Test one variable at a time.
- Keep notes on which settings are used per market and session.
- Validate behavior in replay before using alerts live.
Disclaimer
This script is an analytical support tool. It is not financial advice and does not guarantee outcomes. Trading involves risk. Users are responsible for trade selection, position sizing, and risk control.
Indicator

Levels MarkerLevels Marker is an all-in-one intraday price-action toolkit that combines
several commonly-used reference levels and market-structure tools into a
single indicator — no need to load five separate scripts.
█ FEATURES
🔹 Previous Day High / Low (PDH / PDL)
Automatically plots yesterday's high and low as horizontal lines with labels.
Valid for the entire current trading day and refreshes at the start of each
new session.
🔹 Asian Session High / Low
Tracks the high and low formed during a fully customizable session window
(default 05:30–11:30, Asia/Kolkata). Once the session ends, the level freezes
and remains visible as a fixed reference for the rest of the day.
🔹 Pivot-Based Support / Resistance
Detects swing highs/lows using an adjustable pivot strength and plots the
most recent levels (configurable count) as horizontal support/resistance
lines.
🔹 BOS / CHoCH (Market Structure)
Automatically identifies:
- BOS (Break of Structure) — trend continuation
- CHoCH (Change of Character) — potential trend reversal
Drawn as dashed lines with labels the moment price closes beyond the last
swing high/low.
🔹 Trend Direction Label
A live label in the corner of the chart shows the current structural bias:
▲ BULLISH / ▼ BEARISH / NEUTRAL.
🔹 Built-in Alerts
Four ready-to-use alert conditions appear directly in PulseWire's native
"Create Alert" dropdown:
- PDH Cross
- PDL Cross
- Asian High Cross
- Asian Low Cross
Each one fires only on a confirmed candle CLOSE beyond the level (not a
simple wick touch), which helps cut down on false/noise alerts.
█ CUSTOMIZATION
Every component can be shown/hidden and recolored independently:
- PDH / PDL
- Asian Session High / Low (with custom session + timezone)
- Support / Resistance (pivot strength + max levels shown)
- BOS / CHoCH (independent toggles, colors, label size)
- Trend label on/off
- Label distance from the last bar (so labels don't overlap price action)
█ HOW TO USE
1. Add the indicator to your chart.
2. Open Settings and enable/disable whichever levels you want to track.
3. Right-click the chart → Add Alert → select this indicator as the
Condition → choose one of the 4 built-in cross alerts.
This script is intended as a clean, configurable reference-level toolkit
for intraday traders working with daily/session-based key levels and basic
market structure (BOS/CHoCH), without needing to combine multiple
separate indicators.
⚠️ DISCLAIMER
This script is for educational and informational purposes only. It does
not constitute financial, investment, or trading advice, and should not
be relied upon for making trading or investment decisions. Past
performance of any strategy or level is not indicative of future results.
Trading and investing in financial markets involves substantial risk of
loss and is not suitable for every investor. You are solely responsible
for any trades or investment decisions you make. Always do your own
research and consult a licensed financial advisor before making any
trading decisions.
The author accepts no liability whatsoever for any direct or indirect
loss arising from the use of this script. Indicator

Indicator

Multi-Symbol Trend ScreenerDESCRIPTION
The Multi-Symbol Trend Screener is a powerful dashboard designed to analyze multiple stocks simultaneously using some of the most widely used trend-following and momentum indicators.
Instead of opening individual charts one by one, this indicator scans up to 20 different symbols and displays their current technical condition inside a clean and easy-to-read table.
Each stock is evaluated using six independent technical conditions:
• Price above EMA 20
• Price above EMA 50
• Price above EMA 200
• RSI above 50
• SuperTrend in Bullish Trend
• MACD Histogram above Zero
Every condition is displayed as either:
▲ Bull
or
▼ Bear
At the end of every row, the indicator calculates a Trend Score out of 6, allowing traders to quickly identify which stocks have the strongest overall bullish momentum.
This dashboard is suitable for:
• Swing Traders
• Positional Traders
• Momentum Traders
• Trend Following Strategies
• Stock Watchlist Analysis
• Daily Market Scanning
Because all calculations are performed using PulseWire's request.security() function, the dashboard continuously monitors all selected symbols without requiring multiple chart windows.
The indicator does not generate Buy or Sell signals. Instead, it acts as a market scanner that helps traders shortlist strong stocks before performing their own analysis.
━━━━━━━━━━━━━━━━━━━━
USER INPUTS :
Stock Selection
• Stock 1 = NSE:CDSL
• Stock 2 = NSE:RELIANCE
• Stock 3 = NSE:VEDL
• Stock 4 = NSE:TCS
• Stock 5 = NSE:BEL
• Stock 6 = NSE:BHEL
• Stock 7 = NSE:TATAPOWER
• Stock 8 = NSE:TATASTEEL
• Stock 9 = NSE:ITC
• Stock 10 = NSE:LT
• Stock 11 = NSE:HDFCBANK
• Stock 12 = NSE:ICICIBANK
• Stock 13 = NSE:SBIN
• Stock 14 = NSE:INFY
• Stock 15 = NSE:HCLTECH
• Stock 16 = NSE:MARUTI
• Stock 17 = NSE:ADANIENT
• Stock 18 = NSE:ONGC
• Stock 19 = NSE:WIPRO
• Stock 20 = NSE:AXISBANK
Indicator Settings
• EMA 1 Length = 20
• EMA 2 Length = 50
• EMA 3 Length = 200
• RSI Length = 14
• SuperTrend Length = 10
• SuperTrend Factor = 3
Table Settings
• Table Position = Top Right
• Table Size = Normal
Colors
• Table Background Color = #131722
• Header Background Color = #1E2A45
• Accent Color = #26C6DA
• Text Color = #D8DEE9
• Bullish Color = #00E676
• Bearish Color = #FF5252
━━━━━━━━━━━━━━━━━━━━
WHY IT IS UNIQUE:
• Scans 20 symbols simultaneously inside a single dashboard.
• Combines Trend, Momentum, and Moving Average analysis into one table.
• Uses six different technical confirmations instead of relying on a single indicator.
• Calculates an overall Bullish Score (0–6) for every stock, making ranking much easier.
• Eliminates the need to switch between multiple charts.
• Fully customizable watchlist so users can monitor their own stocks.
• Lightweight implementation by calculating multiple indicators in a single request.security() call for each symbol.
• Clean color-coded interface that allows users to identify market strength within seconds.
━━━━━━━━━━━━━━━━━━━━
HOW USER CAN BENEFIT FROM IT:
• Save significant chart analysis time by monitoring multiple stocks at once.
• Quickly identify the strongest trending stocks before entering a trade.
• Remove weak stocks from your watchlist using objective technical conditions.
• Compare multiple stocks side by side using identical indicator settings.
• Build a momentum-based watchlist for swing or positional trading.
• Improve trade selection by waiting for multiple indicators to align.
• Reduce emotional decision making by following predefined technical conditions.
• Use the Trend Score as an additional confirmation before taking a trade.
• Easily monitor changing market conditions throughout the trading session.
• Works well as a stock screener alongside your existing trading strategy.
━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is developed for educational and informational purposes only. It should not be considered financial, investment, or trading advice.
The indicator does not guarantee future performance or profitable trades. Always perform your own research and risk management before making any trading decisions.
Past performance is not indicative of future results.
Indicator

Nifty TOP 10 Participants Tracker**Nifty 50 Heavyweight Momentum Tracker **
---
### Overview
The **Nifty 50 Heavyweight Momentum Tracker** is a lightweight, low-latency dashboard designed specifically for Nifty index traders and option scalpers.
Rather than overloading your chart with unnecessary technical metrics, this indicator displays a compact overlay table tracking the top 10 heavyweights driving the Nifty 50 index (HDFCBANK, ICICIBANK, RELIANCE, BHARTIARTL, LT, SBIN, and more). It allows you to immediately gauge component alignment, spot institutional participation, and confirm intraday directional momentum at a glance.
---
### Key Features
* **Ultra-Lean Layout:** Stripped of cognitive clutter—only displays **Symbol**, **LTP**, **VWAP**, and **Chg%**.
* **Updated Nifty 50 Weights:** Pre-configured in order of actual index weightage (Top 1 to 10).
* **VWAP Column:** Color-codes dynamically (Green = Above VWAP, Red = Below VWAP) to show immediate intraday bias for each heavyweight.
* **Chg% Column:** Visual green/red background indicating daily directional performance.
* **Customizable View:** Toggle between displaying the Top 5, 6, or up to 10 participants depending on your trading screen real estate.
---
### How to Use for Trading
1. **Breakout Confirmation:** Before buying a Nifty breakout at VWAP, Daily High, or Key Pivot levels, check the table. A genuine breakout requires participation from the top heavyweights (especially HDFC Bank, ICICI Bank, and Reliance).
2. **Sector Drag / Divergence Detection:** If Nifty is making new highs while 3 of the top 5 heavyweights are below VWAP or in the red, the move is likely an exhaustion move or a liquidity trap.
3. **Momentum Alignment:** Look for moments when the top 3–6 constituents flash uniform green/red signals across both VWAP and Daily Change for high-probability, quick-velocity scalp entries.
---
### Settings & Inputs
* **No. of Top Participants to show:** Choose how many rows to display (Default: 6 for optimal sweet spot coverage, configurable up to 10).
* **Table Position:** Move the table to any corner of your chart (Bottom Right, Top Left, etc.).
* **Text Size & Colors:** Fully customizable table aesthetics to match light or dark chart themes.
--- Indicator

Minimum 30-Day Volatility ScreenerMinimum 30-Day Volatility Screener & Risk Matrix
This institutional-grade risk assessment tool is designed to evaluate whether an asset is viable for medium-term (30-day) holding horizons. Rather than relying on simple directional signals, this script analyzes structural market volatility, option premium inflation, and underlying momentum to deliver real-time risk classification and execution style suggestions.
The script runs continuous background diagnostics to separate highly stable trending vehicles from capital-killing congestion zones and high-risk price shocks.
Core Analytical Engines
1. Volatility & Price Shock Diagnostics
The algorithm tracks structural price stability by computing annualized historical volatility against historical variance metrics. Simultaneously, it measures immediate price shocks using an advanced Average True Range (ATR) filter. If an asset drops faster than its normal distribution range (ATR × 1.8), the system flags an imminent price shock risk, protecting you from buying falling knives.
2. Option Premium Inflation Engine (IV Penalty Filter)
To prevent traders from purchasing heavily overpriced options right before a volatility contraction (IV Crush), the script calculates the asset's ATR as a percentage of its current price. If this value exceeds 4.5%, option premiums are flagged as structurally inefficient, allowing you to pivot to pure equity positions.
3. Stagnation & Trend Mechanics
Using mathematical correlation modeling over a 14-period lookback, the script filters out choppy market conditions. Assets exhibiting flat or negative correlations are flagged as low-momentum stagnation zones to preserve opportunity cost. When the structural trend is clear, it relies on an EMA 10/20 crossover sequence to confirm immediate velocity.
How to Use the Risk Matrix Dashboard
The execution matrix is cleanly rendered via a persistent dashboard at the bottom-right of your chart, separating findings into two clear tracks:
Ideal Trading Vehicle: Dynamically recommends the highest-probability instrument structure (e.g., combining 80-Delta LEAPS calls with outright stock equity, reverting to margin equity to bypass options friction, or issuing flat warning indicators when liquidity spreads are poor).
30-Day Hold Horizon Status: Delivers a strict, color-coded diagnostic assessment of structural safety, sorting assets into EXCELLENT 30-DAY VEHICLE, DEAD MONEY TRAP, CAUTION, or CRITICAL PRICE SHOCK risk categories.
----------------------------
Open-Source Disclaimer & Risk Warning
Disclaimer: This script is for educational and informational purposes only. It does not constitute financial, investment, or legal advice. Trading financial instruments involves significant risk of loss and is not suitable for every investor. Past performance is not indicative of future results. The author assumes no liability for any financial losses incurred from using this indicator. Use at your own risk.
Frequently Asked Questions (FAQ)
Why is the 30-Day Annual Volatility showing as 0%?
The underlying code contains a strict structural variance baseline formula: (close - close) / close. If this logic does not match your specific custom backtesting database requirements, you can change the numerator reference to look back one bar (close - close ) / close to populate traditional shifting historic variance data.
Can I use this on intraday timeframes (e.g., 5-minute or 1-hour charts)?
While the script will render on any timeframe, the parameters—such as the 45% annual swing risk threshold and the 4.5% ATR premium cap—are optimized for Daily (D) charts. Using lower timeframes will cause compressed ATR readings and may skew the "Ideal Trading Vehicle" recommendations.
Can I move the dashboard to a different corner of my screen?
Yes. Open the Pine Editor, scroll down to the Dashboard Visual Interface section, and change position.bottom_right to your preferred corner (such as position.top_right, position.bottom_left, or position.top_left).
-------------
Release Notes: Version 1.0.0 – Initial Public Deployment
This initial deployment establishes a quantitative foundation for analyzing 30-day structural holding risk and option vehicle efficiency.
🚀 Key Features Deployed
Dynamic Execution Engine: Computes price-to-premium efficiency ratios to recommend 80-Delta calls versus direct equity.
Dual-Layer Momentum Filter: Integrates lookback correlation modeling with EMA crossovers to isolate structural trends.
Volatility Shock Matrix: Calculates real-time ATR price distortion to instantly flag high-risk whipsaw drops.
🔧 Technical Architecture Modifications
Optimized Interface Geometry: Relocated the operational matrix to the bottom-right corner to ensure clear visibility.
Standardized Corporate Protocol: Removed specific broker brand references to deliver a generic, multi-broker compliance profile.
Mathematical Formula Tuning: Refined internal variance baselines to prevent data-feed compilation loops in public environments.
Indicator

m15 ORB, Prior Month and Prior Week H/L - Spectre Trades. m15 ORB, Prior Month and Prior Week H/L - Spectre Trades.
This indicator combines a customizable 15-minute Opening Range Box with key higher-timeframe reference levels for MES and other intraday markets. The ORB is calculated from 8:30 AM to 8:45 AM Central Time and automatically marks the opening-range high, low, and midpoint. Once the range is complete, the indicator draws a defined box around the opening range and displays optional price labels and level lines.
The script also plots the previous week high, previous week low, previous month high, and previous month low. These levels can help traders identify important areas of liquidity, support, resistance, breakout potential, rejection, and higher-timeframe targets.
The indicator is highly customizable. Users can adjust the ORB session, timezone, box colors, transparency, border style, line width, line style, label size, label colors, price display, and label position. The ORB lines automatically terminate at their corresponding labels. The previous week low and previous month low lines can also be independently shortened or extended by selecting how many chart bars they should reach back, allowing traders to avoid unnecessary chart clutter. Each major component can be shown or hidden separately.
This tool is useful for traders who want to combine early-session structure with established weekly and monthly liquidity levels. The ORB can provide context for opening-range breakouts, failed breakouts, reversals, acceptance, and consolidation, while the previous-period levels offer broader targets and reaction zones. It is intended to support price-action analysis and works best when combined with higher-timeframe bias, market structure, volume, VWAP, liquidity sweeps, and disciplined risk management.
**Disclaimer:** This indicator is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice and does not guarantee profitable results. Opening-range signals and previous-period levels may produce false breakouts, failed reactions, or unexpected volatility. Traders should independently evaluate every setup, use appropriate risk management, and thoroughly test the indicator before using it in live trading. The creator assumes no responsibility for financial losses or decisions made using this indicator.
Indicator

m15 ORB Box - Spectre Tradesm15 ORB Box - Spectre Trades
The 15-Minute ORB customizable Box is designed to identify and display the opening range formed between 8:30 AM and 8:45 AM Central Time. Once the opening-range period is complete, the indicator marks the range high, range low, and 50% midpoint inside a clearly defined box. Optional horizontal level lines extend from the completed range and automatically terminate at their corresponding price labels, keeping the chart organized and easy to read. Users can adjust the box colors, transparency, border style, line appearance, label size, label colors, and horizontal label placement.
This customizable indicator is useful for traders who use the opening range to evaluate early-session structure, volatility, breakout potential, rejection, and directional acceptance. The ORB high and low can act as important intraday reference points, while the midpoint can help traders identify balance, premium and discount positioning, or changes in short-term market control. It is intended to support price-action analysis and can be combined with market structure, volume, VWAP, liquidity levels, higher-timeframe bias, and other forms of confirmation.
Disclaimer: This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. It does not guarantee profitable trades or predict future market movement. Opening-range breakouts and reversals can produce false signals, particularly during volatile or low-liquidity conditions. Traders should independently evaluate all setups, use appropriate risk management, and test the indicator thoroughly before using it in live trading. The creator assumes no responsibility for financial losses or trading decisions made using this indicator. Indicator

Indicator

Adaptive TrendFlowAdaptive TrendFlow Strategy
Short Description
Adaptive TrendFlow is a professional trend-following strategy built around one objective principle: trade with the dominant trend, enter when momentum confirms, and manage risk using predefined rules instead of emotion.
The strategy combines a Higher Timeframe EMA filter with a Dual SuperTrend confirmation system to create clear, repeatable entries while providing flexible risk management, automation-ready alerts, and extensive customization for discretionary and algorithmic traders alike.
Philosophy
Every indicator attempts to answer one question:
"Should I be buying, selling, or doing nothing?"
Adaptive TrendFlow answers that question using objective trend confirmation rather than prediction.
Instead of trying to pick tops, bottoms, or anticipate reversals, the strategy waits for the market to prove its direction first. Once the higher timeframe trend, primary trend, and short-term momentum all agree, the strategy simply follows the flow until the market signals the trend has ended.
The objective is not to predict every move.
The objective is to participate in the highest-probability portion of sustained trends while removing as much emotional decision-making as possible.
Core Strategy Logic
The strategy is intentionally simple.
Every trade follows the same sequence:
1. Higher Timeframe Bias
The first question is:
"Should we even be looking for longs or shorts?"
Adaptive TrendFlow answers this using a Higher Timeframe 200 EMA.
Longs are only considered when price is above the confirmed Higher Timeframe EMA.
Shorts are only considered when price is below it.
Optionally, the EMA slope can also be required to confirm the direction of the trend.
Why?
Most losing trend trades occur when traders attempt to trade against the dominant market direction. The Higher Timeframe filter acts as the market's "compass," helping keep trades aligned with the prevailing trend.
2. Trend Guard (Slow SuperTrend)
Once the higher timeframe trend is confirmed, the strategy checks whether the primary trend is still intact.
This is the job of the Slow SuperTrend.
The Slow SuperTrend represents the structural trend rather than short-term momentum.
Why?
Markets often experience temporary pullbacks during healthy trends. Using a slower SuperTrend helps avoid exiting strong trends too early while providing a logical location for protective stops.
Think of the Trend Guard as defining whether the trade idea is still valid.
3. Flow Trigger (Fast SuperTrend)
Only after the market is aligned with the higher timeframe and primary trend does the strategy wait for momentum to return.
This is handled by the Fast SuperTrend.
Entries occur only when the Fast SuperTrend confirms renewed momentum in the direction of the existing trend.
Why?
This helps avoid entering trades during pullbacks or periods of indecision and instead waits for buyers or sellers to regain control.
The Fast SuperTrend acts as the trigger—not the trend itself.
Risk Management
Every trade begins with a predefined risk.
Adaptive TrendFlow includes multiple stop-loss methods to suit different trading styles, including:
Slow SuperTrend
Fast SuperTrend
Previous Swing Structure
ATR Stop
Hybrid Stop
Fixed Percentage
The Hybrid Stop combines trend structure with recent swing levels to provide a logical protective stop while automatically falling back to an ATR-based stop if the selected structure becomes invalid.
Why?
Good risk management starts before entering a trade.
Every position should know where it is wrong before it knows where it hopes to profit.
Exit Management
Markets don't always move the same distance.
For that reason, Adaptive TrendFlow supports several exit methods:
Trend Exit
Remain in the trade until the selected SuperTrend signals the trend has changed.
Why?
Trend-following systems often earn their largest returns from a relatively small number of extended trends. Exiting too early can reduce the long-term expectancy of the system.
Fixed Risk-to-Reward
Exit the entire position at a predefined multiple of initial risk.
Best suited for traders who prefer fixed trade management.
Partial Profit
Secure a portion of the position at a predefined target while allowing the remainder to continue following the trend using a trailing stop.
This attempts to balance consistency with the opportunity to capture larger moves.
Optional Filters
Adaptive TrendFlow includes several optional filters that can be enabled individually.
These filters are not required for the core strategy.
Instead, they provide additional ways to refine trade selection based on personal preference or market conditions.
Available filters include:
ATR Regime Filter
ADX Trend Strength Filter
Volume Confirmation
Distance from Trend Filter
Candle Expansion Filter
Session Filter
Each filter can be enabled or disabled independently.
Presets
Adaptive TrendFlow includes built-in presets for different trading styles:
Scalp
Designed for lower timeframes using a configurable Higher Timeframe filter.
Intraday
Balanced settings for active day traders.
Swing
Slower trend settings designed to capture larger market moves.
Custom
Allows complete manual control over every parameter.
Automation
Adaptive TrendFlow was built with automation in mind.
Features include:
Non-repainting calculations
Confirmed Higher Timeframe data
Fill-based trade management
Deterministic reversal logic
Structured JSON alerts
Confirmed-bar execution
This allows the strategy to integrate cleanly with webhook-based automation while ensuring alerts are generated from confirmed strategy events rather than unconfirmed intrabar conditions.
Dashboard
The integrated dashboard provides a quick overview of:
Higher Timeframe Bias
Trend Direction
Current Position
Trade State
Entry Price
Active Stop
Current R Multiple
Trade Quality Score
The Trade Quality Score is informational only and does not influence entries or exits.
Who Is This For?
Adaptive TrendFlow is designed for traders who prefer objective, rules-based decision-making over discretionary prediction.
It is suitable for:
Crypto
Forex
Indices
Stocks
Futures
and can be used for discretionary trading, backtesting, or fully automated execution.
Important Notes
No trading strategy can eliminate risk or guarantee profits.
Adaptive TrendFlow is a trend-following system. Like all trend-following approaches, it will generally perform best in directional markets and may experience periods of underperformance during sideways or highly choppy conditions.
Use appropriate position sizing, realistic commission and slippage assumptions, and thoroughly test any configuration before deploying it in live markets. Strategy

Indicator

Strategy

Strat 3-1-2 + S/R + ICTStrat 3-1-2 + S/R + ICT — Complete Day-Trading Toolkit
This indicator combines three trading frameworks into one overlay so you can see Strat setups, key levels, support/resistance, and ICT smart-money concepts on a single chart.
■ THE STRAT
• 3-1-2 setups — detects an Outside bar (3) followed by an Inside bar (1), then signals when the inside bar's range breaks (2U up / 2D down). Optional bar-close confirmation for non-repainting signals.
• Failed 2 (F2D / F2U) — flags bars that break the prior low but close green (bullish trap) or break the prior high and close red (bearish trap). Optional strict mode requires the close back inside the prior bar's range.
• Full Timeframe Continuity (FTFC) — a side panel showing up to 8 timeframes colored green/red by their current candle. BUY/SELL signals can require all timeframes to agree.
• Candle numbering — optionally labels every bar 1 / 2U / 2D / 3 to learn the Strat visually.
• Multi-ticker F2 scanner — a dashboard that watches up to 8 symbols on any timeframe and alerts when an F2 fires on any of them.
■ KEY LEVELS
Previous/current day, week, month, and year highs and lows; premarket high/low; the 6 PM ET futures open and midnight ET open. Each level has independent toggles plus separate pickers for line color and label text color. Overlapping labels automatically shift side-by-side so tags never stack on top of each other (spacing is adjustable).
■ SUPPORT & RESISTANCE
Pivot-based levels that merge nearby touches into a single zone and count them — a level touched 3+ times turns solid yellow ("R ×3") to mark it as strong. Broken levels are automatically removed. Alerts on any S/R test.
■ ICT CONCEPTS
• Kill Zones — session shading for London Open, NY Open, London Close, and Asia (all toggleable).
• Fair Value Gaps — 3-candle imbalances drawn as boxes, auto-removed once price closes through them.
• Order Blocks — the last opposing candle before an impulse move, boxed and removed when mitigated.
• Market Structure — labels every break of a swing high/low as BOS (continuation) or CHoCH (potential reversal).
• Equal Highs / Lows — dotted liquidity lines connecting matching pivots, removed automatically once the pool is swept.
• Premium / Discount — daily 50% equilibrium line plus the OTE zone (62–79% retracement) for optimal entries.
• A global "last N bars" setting keeps ICT drawings on recent price action only, so the chart stays clean.
■ 30-MIN ORB
Opening range high/low drawn per session with breakout signals — optionally only the first break per side, close-through required, or FTFC-filtered.
■ ALERTS
Alert conditions for every signal: 3-1 formed, 3-1-2 triggered, F2D/F2U, BUY/SELL, ORB breaks, S/R tests, FVG formed, OB created, and the watchlist scanner. A minimum-timeframe filter stops noise from low timeframes.
■ HOW TO USE
Built for day trading index futures (NQ/ES) on 5–30 min charts, but works on any symbol and timeframe. A typical confluence entry: price in the discount/OTE zone, inside a bullish FVG or order block, during the NY kill zone, with FTFC green — then trigger on a 3-1-2 up or F2D signal.
This tool is for educational purposes and chart analysis only. It is not financial advice, and past patterns do not guarantee future results. Always manage your risk. Indicator

Engine smt FTMEngine SMT is a comprehensive, next-generation Smart Money Concepts (SMC) toolkit built with the latest Pine Script v6 features. It is designed to keep your charts clean while providing high-probability institutional setups through a built-in Multi-Timeframe (MTF) engine.
Key Features:
Dynamic FVG & Order Blocks: Automatically detects and plots Bullish/Bearish Fair Value Gaps and Order Blocks. Unmitigated zones are continuously extended in real-time, and instantly deleted once invalidated (mitigated by a candle close), ensuring a noise-free chart.
Multi-Timeframe (MTF) Engine: Seamlessly tracks Higher Timeframe (e.g., 30m) Points of Interest (POIs) in the background while you monitor Lower Timeframes (e.g., 5m) for execution.
Market Structure Mapping: Identifies real-time Break of Structure (BOS), Change of Character (CHoCH), and crucial Liquidity Sweeps.
Advanced Alert System: Features a highly optimized, spam-proof alert module that notifies you on:
New HTF Zone creation.
Price's first tap/interaction with an HTF POI.
LTF confirmation signals (when an LTF FVG/OB forms inside an HTF zone).
Perfect for scalpers and intraday traders looking for an automated, highly responsive, and purely logical SMC setup. Indicator

Indicator

Indicator

BTC ETH SOL Rotation Radar# BTC–ETH–SOL Rotation Radar
**Follow the strongest trend. Rotate with the market. Stay out when nothing deserves your capital.**
The **BTC–ETH–SOL Rotation Radar** is a dynamic asset-ranking indicator designed to identify where momentum is flowing across the three largest crypto leaders. Instead of analyzing a single chart in isolation, it continuously compares **Bitcoin, Ethereum and Solana** to determine which asset currently offers the strongest probability of outperforming.
Rather than relying on a single metric, the Rotation Radar builds a composite score from multiple market characteristics:
• Multi-timeframe relative strength (fast, medium and slow performance)
• Momentum acceleration
• RSI quality (rewarding healthy momentum while penalising extremes)
• EMA trend structure
• Volume confirmation
• Exhaustion detection using RSI and distance from the long-term EMA
Each asset receives a score between **0 and 100**, allowing you to instantly identify the current market leader.
## Rotation Logic
A rotation signal is only generated when all of the following conditions are satisfied:
* The leading asset exceeds the minimum required score.
* It has a sufficient score advantage over your current holding.
* The signal passes the cooldown filter.
* Optional candle-close confirmation is satisfied.
This prevents unnecessary switching during noisy market conditions and focuses only on meaningful leadership changes.
When all tracked assets weaken simultaneously and fall below their long-term trend, the indicator can optionally recommend moving to **Cash**, helping traders avoid periods where capital preservation is statistically preferable.
## Dashboard
The built-in dashboard displays:
* Current score of BTC, ETH and SOL
* Relative ranking
* Short-term performance
* Momentum acceleration
* RSI
* Current market state
* Current holding
* Suggested destination
* Rotation edge
* Final decision
This provides a quick institutional-style overview of market leadership without having to switch between multiple charts.
## Why use Rotation Radar?
Markets rarely move uniformly.
Capital constantly rotates between major assets.
Often Bitcoin leads.
Later Ethereum catches up.
Sometimes Solana becomes the strongest performer.
The goal of this indicator is to identify these rotations objectively instead of relying on emotion or narrative.
## Features
• Composite scoring model
• Relative strength ranking
• Momentum acceleration analysis
• Trend quality assessment
• Volume confirmation
• Exhaustion penalty
• Defensive Cash mode
• Rotation alerts
• Fully configurable weights
• Dashboard summary
• Automatic or manual holding selection
This indicator is designed for swing traders, position traders and investors looking to systematically allocate capital toward the strongest major crypto asset while reducing exposure during periods of broad market weakness.
**Note:** Like all technical indicators, Rotation Radar should be used alongside sound risk management and additional market analysis. It is designed to identify improving relative strength and leadership—not to predict future prices with certainty.
:::
Indicator

Module 3 Market Structure Engine - Spectre Trades v4 Spectre Trades v4 — Market Structure Engine is a comprehensive and editable market structure and confluence tool designed to help traders quickly evaluate trend direction, structural shifts, liquidity behavior, order blocks, premium and discount zones, intermarket confirmation, and market internals. The indicator tracks internal and swing BOS, CHoCH, MSS, equal highs and lows, strong and weak pivots, SPX/MES alignment, MES/MNQ SMT divergence, and VIX, TICK, and VOLD confirmation through a customizable dashboard. It is intended to help traders filter low-quality conditions, confirm directional bias, and improve execution by combining price structure with broader market participation.
Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, or a recommendation to buy or sell any security or financial instrument. It does not guarantee profitable results and should not be used as a standalone trading system. All trading involves risk, and users are solely responsible for their own analysis, risk management, and trading decisions. Indicator

Trend Radar# Trend Radar — user guide
Unlike Turn Radar (which scores whether a turn is *imminent*), Trend Radar
answers: **which leg is price in right now** — up-leg or down-leg of the
study's pre-registered zigzag? The true leg sign is only knowable after
the fact (confirmation lag = the scale's horizon: scalp 5td, swing 10td,
position 21td), so a real-time estimate is a genuine prediction.
## What you see
- **Candle colors** (fill, border and wick) = the selected scale's
P(up-leg): teal = up-leg, red = down-leg, blue = coin-flip transition.
Color runs through a display-only S-curve so near-0.5 leans stay
visible — a red-tinted blue is already a meaningful bearish tilt
(up-days are ~65–80% of history, so P sits high on average). The
script redraws the candles (`plotcandle`, with `behind_chart = false`
so they render in front of the native series); hide its "signal
candles" layer in the Style tab to fall back to body-tint-only
(`barcolor`).
- **Table** = raw P for all three scales with each port's walk-forward
AUC. Data-window plots carry the exact values per bar.
- **Alerts** = raw P crossing 0.5, per scale. Indicator

Bear Logic Systems: Sector Heatmap V1Bear Logic Systems: Sector Heatmap V1
===========
This Pine Script v5 code is a custom PulseWire indicator titled "Bear Logic Systems: Sector Heatmap V1". It renders a dynamic dashboard/table directly on your chart that tracks tech sector health, market volatility, and key metrics for the currently viewed stock.
Key Features & Functionality
Market & Sector Breadth Tracking:
Fetches data for 23 top tech stocks to calculate percentage-based market breadth for three major sector ETFs: XLK (Tech), IGV (Software), and SOXX (Semiconductors).
Tracks the VIX Index and its daily percentage change to monitor overall market volatility/fear.
VWAP & Open Tracking:
Displays whether XLK, IGV, SOXX, and the active ticker are trading above or below their Volume Weighted Average Price (VWAP), including slope direction arrows (↗, ↘) and percentage distances.
Shows performance relative to the daily opening price.
Gap Analysis & All-Time High (ATH) Status:
Calculates daily gap status (Gap UP, Gap DOWN, or Flat) along with dollar and percentage changes.
Measures drawdown distance (%) from the All-Time High (ATH) for each sector and the active ticker.
Pre-Market High (PMH):
Detects and displays the exact Pre-Market High price for the active symbol during extended session trading.
Customizable Dashboard Layout:
Options to adjust table position on the screen (e.g., Bottom Left, Top Right).
Toggles to show/hide specific rows (Headers, Breadth %, VWAP & Open, Gap Status, ATH Drop, Pre-Market High).
Adjustable background transparency and dynamic text coloring based on bullish/bearish conditions. Indicator

Bear Logic Systems: Sector Heatmap V1This Pine Script v6 code is a custom PulseWire indicator titled "Bear Logic Systems: Sector Heatmap V1". It renders a dynamic dashboard/table directly on your chart that tracks tech sector health, market volatility, and key metrics for the currently viewed stock.
Key Features & Functionality
Market & Sector Breadth Tracking:
Fetches data for 23 top tech stocks to calculate percentage-based market breadth for three major sector ETFs: XLK (Tech), IGV (Software), and SOXX (Semiconductors).
Tracks the VIX Index and its daily percentage change to monitor overall market volatility/fear.
VWAP & Open Tracking:
Displays whether XLK, IGV, SOXX, and the active ticker are trading above or below their Volume Weighted Average Price (VWAP), including slope direction arrows (↗, ↘) and percentage distances.
Shows performance relative to the daily opening price.
Gap Analysis & All-Time High (ATH) Status:
Calculates daily gap status (Gap UP, Gap DOWN, or Flat) along with dollar and percentage changes.
Measures drawdown distance (%) from the All-Time High (ATH) for each sector and the active ticker.
Pre-Market High (PMH):
Detects and displays the exact Pre-Market High price for the active symbol during extended session trading.
Customizable Dashboard Layout:
Options to adjust table position on the screen (e.g., Bottom Left, Top Right).
Toggles to show/hide specific rows (Headers, Breadth %, VWAP & Open, Gap Status, ATH Drop, Pre-Market High).
Adjustable background transparency and dynamic text coloring based on bullish/bearish conditions. Indicator
