SuperTrend (Based on Historical Volatility)The SuperTrend (Based on Historical Volatility) is an advanced trend-following and trailing stop-loss indicator designed to solve a common problem with traditional trend lines-
False flips during choppy, ranging markets.
By analyzing price efficiency, bar-to-bar price shifts, and volume conviction, this indicator dynamically adjusts its distance from the price to protect you from noise while keeping you in the true trend.
Standard SuperTrend vs. Historical Volatility SuperTrend
How a Normal SuperTrend Works:
A standard SuperTrend uses a simple formula: it takes the median price (High + Low) / 2 and offsets a line using the Average True Range (ATR) multiplied by a fixed, static number (like 2 or 3). It plots this line above or below the price. If the price simply closes across this line, the trend flips. Because the multiplier is static, it often gets chopped up and produces false signals when a market moves sideways.
How This Indicator Works:
This version does not use a static multiplier or standard ATR. Instead, it uses a Variance Engine to calculate a dynamic offset. When the market is trending cleanly, the band tightens to trail price closely. When the market is choppy and inefficient, the indicator automatically expands the multiplier to give the price more room to breathe. Furthermore, this SuperTrend will not flip its trend just because a single candle closed across the line; it requires high volume, a deep price push, or prolonged time beyond the line to confirm a true reversal.
How It Measures Volatility
To create this dynamic, breathing band, the script calculates volatility using three primary metrics:
Efficiency Ratio (Noise Measurement): It calculates the net price change over your chosen Lookback period and divides it by the total absolute distance the price traveled bar-by-bar. This tells the script if the market is trending directly or moving erratically.
Price Shift: It measures the absolute change in the average candle price (ohlc4) from one bar to the next.
Volume & Depth Profiling: It measures the current volatility percentage (High-to-Low depth) and compares current volume against the Moving Average of volume to identify true market conviction.
How to Use the Lookback Settings
The Lookback input is the most important setting for determining how this indicator behaves. Rule of thumb: A higher lookback means a more stable trend.
For Trailing Stop-Loss (Swing/Active Trading): Use a low Lookback period like 7 or 20. This keeps the line highly responsive. You must adjust this number slightly to find what fits perfectly for the specific stock or asset you are trading.
For Broad Trend Analysis: If you are trying to analyze the overarching macro trend of an asset, use a high Lookback period, such as 500 or more.
For Intraday Trading (1min, 5min, 15min charts): It is highly recommended to use extreme Lookback lengths of 1000 to 2000. Because intraday timeframes are incredibly noisy, a massive lookback allows the indicator to truly understand how the stock moves historically, filtering out micro-fluctuations and plotting a highly stable, accurate intraday trend direction.
Visual Features
The indicator includes aesthetic options to suit your chart style:
Fill Styles: Choose between a standard Ribbon, a fading Gradient Zone, a Safety Cloud, or turn fills off entirely.
Color Themes: Select between Classic Professional (Mint/Crimson), Dragon Ball Z (Orange/Purple), or Neon Light (Cyan/Magenta).
Indicator

Institutional Core Engine [IOF-X Major ICT]Institutional Core Engine
The Institutional Core Engine is an analytical Pine Script tool designed to assist traders in visualizing key Institutional Order Flow (IOF) and Inner Circle Trader (ICT) concepts on their charts. By removing unnecessary chart clutter, this indicator highlights high-probability liquidity pools, fair value imbalances, premium/discount zones, and structural pivot levels in a clean and modern aesthetic.
🔑 Key Features & Core Components
1. Major ICT Intermediate-Term Highs & Lows (ITH / ITL)
ITH (Red Markers): Automatically plots significant intermediate-term highs where buy-side liquidity resides.
ITL (Green Markers): Plots significant intermediate-term lows where sell-side liquidity resides.
Proximity & Range Protection: Utilizes dynamic ATR-based swing filtering and a distance gap rule (minimum 20 bars) to ensure micro-fractals do not clutter the chart.
Dynamic Sweep Auto-Deletion: Active ITH/ITL markers automatically disappear when price sweeps or breaks through the level, maintaining a clean visual workspace.
2. Clean Consolidation Ranges (EQH / EQL)
Equal Highs (EQH) & Equal Lows (EQL): Identifies active range consolidations using subtle horizontal trendlines.
Floating Labels: Displays clean, floating text labels for EQH at the top-right and EQL at the bottom-left without heavy background boxes.
3. Fair Value Gap Imbalances (BISI / SIBI)
BISI (Buyside Imbalance Sellside Inefficiency): Identifies bullish imbalances where price expanded aggressively upward.
SIBI (Sellside Imbalance Buyside Inefficiency): Highlights bearish imbalances where price expanded aggressively downward.
Golden Imbalance Candle: Highlights the origin bar of active imbalances with a golden candle hue for fast visual identification.
Mitigation Engine: Active zones automatically resolve and clear from the chart once price fully mitigates the gap.
4. Smart Money Fibonacci & OTE Engine
Optimal Trade Entry (OTE): Draws key equilibrium (0.5 Fib) and OTE extension levels (0.618 - 0.786 zone) across active swing ranges to assess premium and discount pricing.
5. Institutional Trend Filter (EMA 50 / 200)
Plots smoothed fast and slow moving averages to quickly assess higher-timeframe trend context and dynamic support/resistance zones.
6. Professional Real-Time HUD Dashboard
A top-right visual table displaying real-time metrics including active BISI/SIBI counts, current market state (Consolidation vs. Expansion), and overall institutional order flow bias.
📐 How to Use This Script
Context & Bias: Check the HUD Dashboard and Trend EMAs to establish the higher timeframe direction (Bullish, Bearish, or Neutral).
Liquidity Mapping: Observe active ITH and ITL markers along with EQH/EQL boundaries to locate where market liquidity is resting.
Imbalance Confluence: Look for price reactions near BISI or SIBI zones within the OTE (0.618 - 0.786) Fibonacci range for potential trade setups.
Execution Management: Once liquidity levels are taken or imbalances are mitigated, watch how the dynamic auto-deletion clears swept zones to adapt your analysis to fresh price action.
⚙️ Customization Settings
Sensitivity Controls: Adjust pivot lookback lengths and distance filters to match your preferred trading timeframe (Scalping, Intraday, or Swing).
Threshold Filters: Modify ATR imbalance thresholds to show only major market moves.
Visual Toggles: Turn off individual visual modules (EMAs, Fibs, or HUD) directly from the input settings menu to tailor the indicator to your personal chart style.
Disclaimer: This indicator is developed strictly for educational and analytical purposes on PulseWire. It does not guarantee future market outcomes nor constitute financial advice. Always apply proper risk management. Indicator

Liquidity Levels, Sweeps & Grabs | Falcon AIPrice is constantly hunting liquidity — the pools of stop orders that sit just beyond obvious highs and lows. This free tool draws the four levels where that liquidity rests, then flags the exact bar each one gets taken, so you see stop-runs as they happen instead of after the move.
THE LEVELS IT DRAWS
• Previous Day High / Low (PDH / PDL)
• Previous Week High / Low (PWH / PWL)
Calculated from the last COMPLETED day and week and fixed for the whole period — non-repainting.
TWO WAYS LIQUIDITY GETS TAKEN — FLAGGED SEPARATELY
• Sweep (triangle) — a multi-candle event. Price runs beyond a level, can hover or consolidate there, then closes back through it. The classic stop-run that often front-runs a reversal.
• Grab (diamond) — a single-candle event. One candle wicks sharply beyond the level and closes back inside with a small body (a doji-like rejection). A fast, one-bar liquidity raid.
The two are mutually exclusive per level: a slow multi-candle reversal reads as a sweep; a one-bar wick rejection reads as a grab.
ALERTS
Four ready-to-use alerts — high sweep, low sweep, high grab, low grab — so you're pinged the moment buy-side or sell-side liquidity is taken.
INPUTS
• Toggle each level set (day / week) and each signal type (sweeps / grabs)
• Grab sensitivity via a wick-to-body ratio (higher = stricter / more doji-like)
• Line style, colors, price labels
HOW TRADERS USE IT
Sweeping and grabbing liquidity is a core Smart-Money / ICT idea: price is pushed beyond a well-watched level to fill orders and trigger stops before reversing. Watching for a sweep or grab of PDH/PDL or PWH/PWL — especially into a higher-timeframe level or a session open — can help spot exhaustion and potential turning points. This tool marks those moments objectively; how you act on them is your call.
Educational tool — not financial advice. Past behavior does not guarantee future results. Indicator

FRVP ContinuationFIRST-MOVE FRVP CONTINUATION BREAKOUT
This indicator detects bullish continuation opportunities using the value structure created by an earlier high-participation price movement.
It automatically identifies and freezes the first qualifying bullish movement, calculates an approximate Fixed Range Volume Profile, and monitors price behavior around:
• VAL — Value Area Low
• POC — Point of Control
• VAH — Value Area High
A continuation entry requires more than a simple breakout above VAH. The indicator looks for a complete sequence:
1. A meaningful bullish movement creates value.
2. Price and volume contract after the movement.
3. The profile’s POC remains above session VWAP.
4. Price approaches and defends VAL.
5. Multiple attempts to cross POC are rejected downward.
6. A strong, high-volume candle crosses from the POC region through VAH.
7. Price subsequently holds above POC.
This structure represents a failed lower auction followed by expansion above established value.
FIRST-MOVE DETECTION
In automatic mode, the indicator searches for a bullish expansion candle with:
• A sufficiently large bullish body relative to ATR
• A close near the upper portion of its candle range
• Strong relative volume
• Occurrence inside the configured starting window
A configurable number of preceding context bars can be included. This helps the range begin at the true start of the movement rather than only at the first candle that satisfies every trigger condition.
The movement continues until:
• The minimum number of bars has formed
• The total range is sufficiently large relative to ATR
• Volume contracts after the movement high
• Cumulative movement volume meets the required minimum
• The maximum permitted movement length has not been exceeded
The default minimum cumulative volume is 50,000 shares. This prevents one active candle followed by thin, low-participation trading from creating an FRVP structure.
If a candidate fails these requirements, it is discarded and the indicator continues searching for another valid movement that day.
AUTOMATIC AND MANUAL MODES
Auto:
The indicator finds and freezes the first completed movement that passes every configured requirement.
Manual Window:
The user supplies an exchange-time window, and the indicator calculates the profile from the bars inside that window.
Manual mode is useful for studying historical movements, comparing the approximation with PulseWire’s Fixed Range Volume Profile, and validating settings.
APPROXIMATE VOLUME PROFILE
PulseWire does not allow Pine scripts to read values directly from the built-in Fixed Range Volume Profile drawing.
This indicator therefore calculates its own approximation.
Each candle’s volume is distributed proportionally across the price rows crossed by that candle. The indicator then calculates:
• POC — The row containing the greatest estimated volume
• VAL — The lower boundary of the value area
• VAH — The upper boundary of the value area
The default value area contains 70% of the movement’s estimated volume.
Because the calculation uses chart-bar data, its values can differ slightly from PulseWire’s built-in FRVP, particularly when the built-in tool uses lower-timeframe volume allocation.
POC AND VWAP REQUIREMENT
A bullish profile is accepted only when its POC is at or above session VWAP when the profile freezes.
The same relationship is checked again on the entry bar.
POC must remain at or above VWAP.
This helps ensure that the profile’s primary accepted-price level remains in a constructive location relative to the session’s volume-weighted average price.
A profile whose POC is below VWAP is rejected before it is drawn.
VAL DEFENSE
After the profile freezes, the indicator waits for price to approach VAL.
A valid VAL defense requires:
• Price to come sufficiently close to VAL
• No excessive penetration below VAL
• An acceptable close relative to VAL
• No sustained acceptance beneath the value area
VAL defense can be identified directly or through a confirmed pivot low.
When pivot confirmation is used, the marker is placed on the actual defense candle only after the required later bars have completed. The defense was not known on that historical candle in real time.
If price establishes repeated closes below VAL, the structure is marked as VAL LOST and the continuation setup is invalidated.
POC FIGHT AND FAILED ATTEMPTS
After VAL has been defended, the indicator monitors attempts to regain POC.
A POC FAIL marker requires:
• Price to reach or cross POC
• The candle to close near or below POC
• A meaningful downward move from the candle high to its close
• Sufficient spacing from the previous counted attempt
A rejection candle may close slightly above the exact POC when it still demonstrates a clear downward rejection from its high.
The vertical distance between each POC FAIL label and its candle is adjustable in ATR units.
Repeated failures show that POC is behaving as an actual control or conflict level rather than merely being a calculated line.
CONTINUATION ENTRY
An entry requires:
• VAL was defended
• VAL was not subsequently invalidated
• The required number of spaced POC failures occurred
• POC remains at or above VWAP
• The breakout begins from the POC region
• The candle closes above VAH with the required buffer
• The candle has a sufficiently large bullish body
• The candle closes near its high
• Relative volume exceeds the configured minimum
When every condition passes, an FRVP ENTRY marker appears on the qualifying breakout candle.
The marker is anchored to the entry candle itself.
ENTRY HOLD CONFIRMATION
The initial entry can be monitored for a configurable number of later bars.
• FRVP ENTRY — The qualifying breakout occurred
• FRVP ENTRY CONFIRMED — Price completed the required hold above POC
• FRVP ENTRY FAILED — Price closed back below the permitted POC threshold
The confirmation status uses later price information, but the marker remains attached to the original entry candle.
VISUAL GUIDE
• Shaded movement box — The frozen first-move range
• Green line — VAL
• White dashed line — POC
• Red line — VAH
• FRVP FROZEN — The movement profile was accepted
• VAL DEFENDED — Price successfully tested the lower value boundary
• POC FAIL — Price reached POC and rejected downward
• FRVP ENTRY — A qualifying continuation breakout occurred
• FRVP ENTRY CONFIRMED — The breakout held above POC
• FRVP ENTRY FAILED — The breakout lost POC during confirmation
• VAL LOST — Price established acceptance below the previous value area
ALERT
The indicator provides one alert:
FRVP Entry Bar
It fires when the qualifying entry candle closes.
There are no separate alerts for movement detection, profile freezing, VAL defense, POC failures, later hold confirmation, or entry failure.
The alert fires on the original entry bar before the optional hold-confirmation period is complete.
RECOMMENDED USE
The indicator was designed primarily for liquid intraday equities on low chart timeframes.
The default configuration supports charts up to five minutes, with particular emphasis on one-minute data.
For other instruments or timeframes, consider adjusting:
• Minimum cumulative movement volume
• Starting relative volume
• Movement range and length
• Profile row count
• VAL tolerances
• POC rejection requirements
• Breakout body and relative volume
• Entry hold duration
The default 50,000-share cumulative-volume requirement is equity-focused and may not be appropriate for futures, cryptocurrencies, or instruments using tick volume.
IMPORTANT NOTES
The automatically selected range is the first completed movement that passes the configured rules. It is not necessarily the visually largest movement of the day.
The calculated profile is an approximation and should not be expected to match PulseWire’s built-in Fixed Range Volume Profile exactly.
This indicator identifies structured continuation evidence. It does not guarantee that a breakout will continue.
Signals should be combined with risk management, broader market context, liquidity, and awareness of nearby resistance.
This script is intended for market analysis and educational use. It does not constitute financial advice or guarantee future performance. Indicator

Bullish Supply to Demand Flip & Continuation ZonesBULLISH SUPPLY→DEMAND FLIP & CONTINUATION ZONES
This indicator identifies price areas where former supply may become demand. Instead of marking every pivot or zone touch, it looks for complete market structures supported by price action, volume, trend context, separation, and confirmed buyer response.
The indicator includes three independent detection paths:
1. CLASSIC SUPPLY-TO-DEMAND FLIP
The indicator first finds a qualified supply rejection and tracks the seller-controlled decline that follows it.
A potential flip requires:
• A confirmed supply pivot with meaningful rejection
• Sufficient upper wick, bearish departure, and relative volume
• A completed seller-controlled decline terminating at confirmed demand
• A strong breakout above the supply area
• Acceptance above supply, normally through consecutive closes
• At least one complete candle trading above the zone before a later return
The original supply zone remains hidden until price returns to it. The first touch reveals the area, but a touch alone does not produce an S→D arrow.
An S→D arrow appears only when a confirmed demand pivot forms inside the original supply zone and passes the wick, reaction, volume, and separation requirements.
This distinction helps separate:
• Price merely returning to a level
• Buyers actually defending former supply as demand
2. BULLISH CONTINUATION BASES
The continuation-base engine detects compact, high-volume shelves that form during an existing bullish movement.
A qualifying base requires:
• A bullish impulse before the base
• A compact multi-bar price shelf
• Consistent participation across the base
• Controlled price spread and limited rollover
• Bullish EMA and VWAP alignment
• A decisive breakout with sufficient body, volume, and closing strength
After price separates above the base and later returns, the indicator displays the original base area and places a BASE arrow beneath the retest candle.
This path is designed for continuation structures that do not begin as traditional supply-rejection pivots.
3. PROGRESSIVE SUPPLY TAKEOVER
Some supply areas are not broken through a clean breakout followed by a later retest. Buyers may instead take control progressively from the lower boundary toward the upper boundary.
The progressive-takeover path looks for:
• Demand appearing near the lower edge of supply
• A close back inside or above the lower boundary
• Preservation of the demand low
• Consecutive accepted closes above the supply top
• Renewed volume during upper-edge acceptance
When confirmed, the original supply area becomes the active demand zone.
The S→D arrow is placed on the candle where the defended demand low originally formed, although confirmation occurs later.
UNDERSTANDING THE DISPLAY
• Green shaded area — Former supply or a continuation base now being monitored as demand
• Red shaded structure — The original supply and seller-control formation
• Aqua shaded structure — The original bullish continuation base
• S→D arrow — Confirmed demand inside a flipped supply zone
• BASE arrow — Retest of a qualified bullish continuation base
• Red INVALID marker — A previously retested demand zone was later broken
The indicator intentionally avoids large external callout labels so price action remains visible.
CONFIRMATION TIMING
The indicator uses confirmed bars and confirmed pivots by default.
Pivot-based demand cannot be known on the support candle itself because later bars are required to confirm that the low held.
For this reason, an S→D arrow may be placed historically on the actual demand candle several bars after that candle occurred.
This keeps the historical chart honest:
• The marker identifies where demand formed
• The signal becomes available only when the required confirmation bars have completed
Intrabar confirmation can be enabled or adjusted through the settings, but confirmed-bar operation is recommended.
ZONE INVALIDATION
Zones can be invalidated using either:
• Close — Price must close beneath the buffered zone boundary
• Wick — A qualifying wick beneath the boundary can invalidate the zone
A small ATR-based buffer can be applied to prevent insignificant penetrations from immediately invalidating a structure.
A valid historical retest is not erased when the zone later fails. The area is frozen at the failure point, and an INVALID marker records the later break.
ALERTS
The indicator supports:
• A combined Bullish demand-zone event alert condition
• Dynamic alerts containing the symbol, timeframe, event type, and zone prices
To receive detailed dynamic messages, create a PulseWire alert using:
Any alert() function call
Possible events include:
• Supply-flip confirmation
• Continuation-base confirmation
• Progressive supply takeover
• Retest start
• Confirmed S→D support
• Additional zone re-entry
• Later zone invalidation
RECOMMENDED USE
The indicator was designed primarily for intraday equity charts, especially one-minute charts where volume, price acceptance, and short-term market structure are clearly visible.
It is best used alongside:
• Broader trend and market context
• Liquidity and relative-volume analysis
• Nearby resistance and support
• Risk management and clearly defined invalidation levels
Settings may require adjustment for other chart timeframes, asset classes, or volatility conditions.
IMPORTANT NOTES
This indicator is selective by design. A visually interesting level may remain hidden when the complete structural requirements are not satisfied.
The indicator does not predict that every demand zone will hold. It identifies evidence that buyers defended a qualified structure at the time of confirmation.
Any zone can fail later.
This script is intended for market analysis and educational use. It does not constitute financial advice or guarantee future performance. Indicator

Indicator

Key Levels + Daily EMA BiasPremarket and prior-day levels with a daily EMA bias tag.
Plots four levels automatically: premarket high and low, and the prior day's high and low. Green marks highs, red marks lows. Dotted lines are premarket, solid lines are prior day, so colour tells you which side of the range you are looking at and line style tells you which session it came from.
An optional corner tag reads LONG or SHORT off the daily EMA, giving a quick top-down read before an intraday setup.
Premarket levels are pulled from the extended session, so they populate whether or not extended hours are enabled on the chart. Prior-day levels use confirmed daily data and do not repaint.
Five alerts are included, all confirmed-close only, so a wick through a level cannot trigger them: closed above premarket high, closed below premarket low, closed above prior-day high, closed below prior-day low, and daily EMA bias flip.
Session window, timezone, EMA length, tag size, colours, and price labels are all editable.
Educational tool only. Not financial advice. Indicator

Indicator

Sector SuperTrend TrackerSector SuperTrend Tracker — Documentation
Platform: PulseWire (Pine Script v6) Type: Overlay Indicator (dashboard table)
Purpose
Tracks the SuperTrend "Buy" / "Sell" state for a customizable list of sector indices (or any symbols) in a single on-chart table. Designed for a quick, at-a-glance read of market breadth across sectors — which are trending up, which are trending down, how strong the move is, and how long it's lasted.
How It Works
For each symbol in your list, the script runs a standard SuperTrend calculation (via request.security) on the current chart's timeframe and derives three things per sector:
Metric Meaning
Status BUY = price above the SuperTrend line (uptrend). SELL = price below it (downtrend).
% Dist Current price's percentage distance from the SuperTrend line. Positive = bullish cushion; negative = bearish cushion. Larger magnitude = further extended from the line.
Duration Number of consecutive bars the current Status has held, i.e. bars since the last flip.
Table Sorting
Rows are automatically sorted ascending by Status, then by Duration — so all BUY sectors are grouped first (newest flips at the top, most established uptrends lower), followed by all SELL sectors in the same newest-first order. This surfaces sectors that just flipped trend at the top of each group — often the most actionable signals.
A summary row (optional) shows the total count of Buy vs. Sell sectors — a quick breadth gauge.
Inputs
SuperTrend Settings
ATR Period (default 10)
ATR Multiplier (default 3.0)
Symbols
Text box, one symbol per line (e.g. NSE:CNXAUTO). Add or remove lines to track more/fewer sectors — no code changes needed (tested up to ~40 symbols, PulseWire's request.security limit).
Toggle to show/hide the exchange prefix (NSE:) in the table.
Decimal places for the % Dist column.
Table Appearance
Position (9 preset screen locations)
Text size (Tiny → Huge)
Header / Buy / Sell / Cell background colors, text color
Toggle for the summary row
Setup
Paste the script into a new Pine Script (Pine Editor → New → Blank).
Click Add to Chart.
Open indicator Settings to customize symbols, SuperTrend parameters, and table styling.
The table auto-resizes to fit however many symbols you list — just edit the text box, no need to touch the code.
Notes & Limitations
SuperTrend direction convention matches PulseWire's built-in SuperTrend exactly (so values will match if plotted directly on each index's own chart).
Because it recalculates via request.security on the current timeframe, the real-time (currently forming) bar can repaint slightly — normal behavior for a live dashboard, but not intended for strict bar-close backtesting logic.
Duration is measured in bars, not calendar time — 1 bar = 1 unit of whatever timeframe the chart is on (e.g. 1 day on a Daily chart, 1 hour on an Hourly chart).
Table row count is rebuilt every bar update (table.delete + table.new) to match your current symbol list — this is required because Pine tables have a fixed size once created. Indicator

Indicator

Macrodoser Moving Average CloudsMacrodoser MA Clouds is a configurable trend-visualization indicator that plots five independent moving-average clouds—ten moving averages in total—directly on the price chart.
While moving-average clouds are a familiar concept, this implementation is designed to provide a more complete and flexible workspace in a single indicator. Its distinguishing feature is the combination of five separately configurable clouds, multiple moving-average types, optional direction-colored MA lines, customizable visuals, and deliberate cloud layering.
HOW IT WORKS
Each cloud consists of a short moving average and a long moving average calculated from the same selected price source.
• When the short MA is greater than or equal to the long MA, the cloud uses its configured bullish color.
• When the short MA is below the long MA, the cloud uses its configured bearish color.
The optional MA lines have their own directional coloring. Each line uses its bullish color while rising and its bearish color while falling. This means the line colors represent the slope of each individual average, while the cloud color represents the relationship between the short and long averages.
MOVING-AVERAGE OPTIONS
Each cloud can independently use one of five calculation methods:
• EMA — Exponential Moving Average
• SMA — Simple Moving Average
• HMA — Hull Moving Average
• WMA — Weighted Moving Average
• RMA — Running Moving Average
This makes it possible to build an all-EMA ribbon, use a different MA type for each cloud, or create a custom combination for a particular market or trading style.
DEFAULT CLOUDS
The default configuration uses the closing price as the source and EMA calculations with the following short/long lengths:
• Cloud 1: 5 / 13
• Cloud 2: 9 / 13
• Cloud 3: 21 / 50
• Cloud 4: 100 / 200
• Cloud 5: 400 / 800
These defaults provide several views of market structure, ranging from short-term momentum to much longer-term trend context. They are starting points only and can be changed to suit the instrument and timeframe being analyzed.
CUSTOMIZATION
Every cloud includes independent controls for:
• Visibility
• Short and long MA lengths
• Price source
• Moving-average type
• Plot offset
• MA-line visibility
• Rising and falling colors for each MA line
• Bullish and bearish cloud colors
• Color transparency
The MA lines can be hidden for a cleaner cloud-only chart or displayed when the exact averages and their individual directions are useful.
PURPOSEFUL CLOUD LAYERING
The clouds use a deliberate drawing order. Cloud 5 is drawn first at the bottom of the visual stack, followed by Clouds 4 through 1. Cloud 1 is therefore the top layer.
When using the clouds from faster to slower, place the shortest-term pair in Cloud 1 and continue toward the longest-term pair in Cloud 5. This keeps faster clouds visible above slower clouds and produces more intuitive blending when transparent colors overlap.
A different ordering can be used intentionally, but reversing this structure may allow a longer-term cloud to cover shorter-term information.
WAYS TO USE IT
The indicator can help visualize:
• Short-, medium-, and long-term trend structure
• Bullish or bearish alignment across several MA pairs
• Changes in momentum as individual averages turn
• Moving-average crossovers and cloud transitions
• Compression, expansion, and overlap between trend horizons
• Areas where different trend horizons agree or conflict
For example, several bullish clouds stacked above their respective longer averages can indicate broad trend alignment. Mixed cloud states can highlight a transition or disagreement between short- and long-term structure.
IMPORTANT LIMITATIONS
Moving averages are lagging calculations derived from historical price data. They do not predict future price movement, and cloud transitions can produce false or rapidly changing indications in sideways or volatile markets.
The current, unfinished chart bar can change as new price data arrives. Plot offsets move the display forward by the selected number of bars for visual purposes; they do not provide future information or change the underlying calculations.
Macrodoser MA Clouds does not generate trade entries, exits, or performance claims. It is intended as a visual analysis tool and should be used with appropriate confirmation and risk management. Indicator

CVD Divergence Pro# CVD Divergence Pro
**Cumulative Volume Delta with ATR-ZigZag pivot detection and multi-pivot divergence mapping.**
---
## What it does
This indicator plots Cumulative Volume Delta (CVD) as a line or candles, then automatically detects and draws **divergences between price structure and order flow** — on both the indicator pane and the price chart.
Two divergence types are detected:
- **Bearish** — price makes a *lower high* while CVD makes a *higher high*. Buyers pushed harder, but price could not follow. Consistent with a larger seller absorbing that buying with resting limit sells.
- **Bullish** — price makes a *higher low* while CVD makes a *lower low*. Sellers pushed harder, but price would not break. Consistent with a larger buyer absorbing that selling with resting limit buys.
Each confirmed divergence draws a connecting line between the two pivots on the CVD pane **and** the corresponding line between the two price pivots on the chart itself, so the structural claim is visible in both series at once.
## How to use
**1. Set the reversal threshold first.** Enable *Show ZigZag skeleton* and adjust *Reversal threshold* until the dashed skeleton matches the swings you would mark by hand. Everything downstream depends on this, so tune it before touching any filter.
**2. Read a signal from its tooltip.** Hover any label. It reports the price and CVD values at both pivots, the strength in multiples of average bar delta, bars apart, swing amplitude in ATR, and how many pivots were skipped to form the pair. Strength is the number to weigh — a 5× divergence and a 2× divergence are not the same claim.
**3. If a divergence you can see by eye is not flagged**, enable *Mark confirmed pivots*. This separates the two failure modes:
- No dot at your swing → the ZigZag never registered it as a pivot. Lower the Reversal threshold.
- Dots present but no line → a quality filter rejected the pair. Widen *Max bars*, or lower *Min price swing* / *Min CVD divergence*.
**4. Alerts.** Six conditions are exposed: confirmed bearish, confirmed bullish, early bearish, early bullish, and combined bearish/bullish. Use the confirmed conditions for anything mechanical; the early conditions are anticipatory and will produce signals that do not develop.
**5. Check the information box.** It reports the reset mode, the lower timeframe used for intrabar data, average intrabars per chart bar, history coverage, current ATR and reversal distance in points, and the current CVD significance threshold. If average intrabars falls below 5 the box turns red — delta values are unreliable at that resolution.
---
## Limitations — please read
- **Delta here is inferred, not true bid/ask data.** Like PulseWire's built-in CVD, this classifies intrabar volume as buying or selling using intrabar price direction. It is an approximation of aggressor side, not actual trade-side data from an exchange feed. Instruments and timeframes where that approximation breaks down will produce misleading CVD.
- **Intrabar history is capped.** PulseWire limits how many lower-timeframe bars can be requested, so on long histories only the most recent portion has intrabar data. The information box reports actual coverage — check it before drawing conclusions from older signals.
- **Requires real volume.** Symbols without volume from the data provider will error. Forex spot and some indices are affected.
- **A divergence is context, not a trade signal.** It describes a disagreement between price and inferred order flow at two points in time. It says nothing about when, or whether, that disagreement resolves. Divergences persist and fail regularly.
- **Early warnings are unconfirmed by construction.** They fire before the swing completes and will sometimes not develop into anything.
- **Changing the reset mode changes every signal**, because CVD values are only comparable within a reset period.
No performance claims are made or implied. This is an analysis tool, not a strategy, and it has not been presented with backtest results because divergence context is not mechanically tradeable on its own.
---
## Credits and licence
Released under the **Mozilla Public License 2.0**.
- The Cumulative Volume Delta calculation core, the intrabar volume classification logic, and the reset-mode framework are from PulseWire's open-source **Cumulative Volume Delta** indicator — © PulseWire, MPL-2.0. This script is a derivative work of it.
- Uses the **PineCoders** `Time` and `lower_tf` libraries, and the **PulseWire** `ta` library.
- Original contributions in this version: the ATR ZigZag pivot engine replacing fixed-lookback pivots, multi-pivot divergence comparison, order-flow-normalised strength scoring, the quality-filter and signal-hygiene layers, reset-generation invalidation, dual-pane divergence line rendering, and the early-warning logic.
---
Indicator

Indicator

Fan Principle Signals [MarkitTick]💡 Maps out market structure using a sequence of ascending swing lows (or descending swing highs) to construct a three-legged trendline fan, then triggers actionable trade signals the moment price breaks through the steepest line in that fan. Rather than relying on a single moving average or oscillator crossover, this script builds its bias from the actual geometry of recent price swings, giving traders a structural, visually intuitive way to time entries around the exhaustion of a trend.
✨ Originality and Utility
Most breakout tools react to a single reference line, such as a moving average, a fixed channel, or a static trendline drawn from only two points. This script instead applies the fan principle, a technique that connects a common origin point to three successive pivots in the same trend, producing three lines of increasing steepness. The logic behind this approach is that the third and steepest line in the fan typically represents the most aggressive rate of trend continuation, and a decisive close beyond it has historically signaled that the prevailing trend has lost its structural support.
What makes this implementation useful in practice is that it does not stop at drawing the fan. It automatically identifies valid pivot sequences from raw price action, filters out insignificant micro-swings using a minimum leg percentage threshold, validates the freshness of the structure with a lookback cap, and then converts the break event into a complete trade plan, including entry, stop-loss, and three take-profit levels, all derived mathematically from the fan's own geometry and the market's current volatility. The optional volume and higher-timeframe filters allow traders to demand additional confirmation before a signal is accepted, and the built-in dashboard keeps the entire state of the system visible at a glance. The combination of automated structural fan detection, ATR-adaptive risk placement, and live trade monitoring is what distinguishes this from a simple trendline break script.
🔬 Methodology and Concepts
• Pivot Detection
The script continuously scans for swing highs and swing lows using a symmetrical lookback and lookforward window defined by the Pivot Len input. A bar qualifies as a swing high only if it is strictly greater than every other bar within that window on both sides, and a swing low only if it is strictly lower than every bar in that window. Each time a new pivot is confirmed, its bar index and price are stored in a rolling array, keeping the most recent twenty pivots in memory for both highs and lows.
• Fan Construction
Once at least four pivot lows (for an uptrend fan) or four pivot highs (for a downtrend fan) are available, the script selects the four most recent ones. The oldest of the four becomes the fan's origin point. The remaining three form Leg 1, Leg 2, and Leg 3 respectively, each connected back to that same origin. A slope is then calculated for each leg using simple rise-over-run between the origin and that leg's pivot. For the fan to be accepted, the price move between the origin and the first leg must exceed the Min Leg % threshold, which filters out fans built from statistically insignificant noise, and the origin must fall within the Max Fan Lookback window, which prevents the script from anchoring to structure that is too old to remain relevant.
• The Break Condition
Leg 3, the line connecting the origin to the most recent and steepest pivot, is treated as the trigger line. Its price value is projected forward on every bar using the slope calculated at formation. A bullish break requires the fan to currently be in an uptrend orientation, the previous confirmed bar's close to be above the projected Leg 3 value, and the bar before that to have closed at or below it, meaning the break itself happens on a confirmed, completed bar rather than an in-progress one. The bearish break condition mirrors this logic in the opposite direction for downtrend fans. This confirmed-close approach means the script never fires or removes a signal based on an incomplete, still-forming bar, so historical signals will not disappear or move once printed.
• Optional Confirmation Filters
Two independent filters can be layered on top of the raw break condition. The volume filter requires the breaking bar's volume to exceed a multiple of its recent moving average, screening out breaks that occur on unusually thin participation. The higher-timeframe filter compares the breakout bar's close against the prior, fully closed bar on a higher timeframe of your choosing, requiring the breakout direction to align with that broader trend context before a signal is allowed to fire.
• Trade Level Calculation
When a break is confirmed, the script builds an entry, stop, and three take-profit levels automatically. Entry is anchored to the close of the breakout bar. The stop-loss is placed beyond the nearest of the two most recent fan legs, offset further by a small ATR buffer to avoid being clipped by minor wicks, but it is also capped by a maximum ATR distance so a single outlier swing cannot produce an oversized stop. The distance between entry and stop becomes the base risk unit, and the three take-profit levels are placed at user-defined multiples of that risk unit, giving a consistent, R-multiple-based framework for managing the position rather than arbitrary fixed-price targets.
🎨 Visual Guide
Dotted lines connecting the origin point to Leg 1 and Leg 2 show the earlier, less steep sections of the fan structure and provide visual context for how the trend developed.
The solid, extended line represents Leg 3, the active trigger line. It is colored using the Bull Fan color when the fan is in an uptrend orientation and the Bear Fan color when it is in a downtrend orientation, and it projects forward in real time as new bars form.
A blue dashed line marks the Entry level once a signal fires, extending to the right for as many bars as the trade remains active or until a new signal replaces it.
A red solid line marks the Stop-Loss level, with a light red shaded zone (the Risk Fill) drawn between the entry and stop lines to make the risk portion of the trade immediately visible.
Three dashed lines in progressively deeper shades of teal mark Take-Profit 1, 2, and 3, moving from lightest (TP1, closest to entry) to fully opaque (TP3, furthest away). A light teal shaded zone (the Reward Fill) spans from the entry line to the TP3 line, visually contrasting the reward portion of the trade against the risk portion.
Small labels are anchored to each of these lines on the left, displaying the exact price of the Stop, Entry, and each Take-Profit level, and updating their horizontal position as the trade progresses.
An upward-pointing "▲ BUY" label appears below the breakout bar on a bullish break, and a downward-pointing "▼ SELL" label appears above the breakout bar on a bearish break.
An optional on-chart dashboard table displays the ticker and timeframe, whether the Lock Signal feature is active, the current fan orientation, the origin price, the live value of the Leg 3 trigger line, the current entry, stop, a live risk-to-reward progress bar showing how far price has travelled toward TP3 relative to the initial risk, the volume filter status, and the number of bars elapsed since the last signal.
📖 How to Use
A signal is generated only when price decisively closes beyond the Leg 3 trigger line of an established fan, so treat the fan's orientation, shown both by the line color and by the Fan State readout on the dashboard, as the prevailing structural bias before a break occurs. When a bullish break prints, the suggested plan is to consider a long entry near the displayed Entry line, with the Stop-Loss line defining the invalidation point below and the three Take-Profit lines offering staged exit levels as the move develops. A bearish break mirrors this in the opposite direction for short setups.
The R:R Progress bar on the dashboard is useful for monitoring an active trade at a glance: it fills from 0% toward 100% as price advances from entry toward the TP3 target, and its color shifts from red through amber to teal as the trade's risk-to-reward ratio improves. If the Lock Signal option is enabled, the script freezes the most recently confirmed signal and its levels in place rather than allowing a new one to overwrite them, which can help when you want to manage an open position without the on-chart levels shifting. Because signals are confirmed only on closed bars, always wait for bar close before acting on a fresh line break rather than reacting to an in-progress wick.
Enabling the optional Volume and HTF filters will typically reduce signal frequency while raising the bar for confirmation, so consider testing both configurations to see which better matches the behavior of the instrument and timeframe you trade.
⚙️ Inputs and Settings
Pivot Len — Controls how many bars on each side must confirm a swing high or low. Smaller values detect pivots faster but produce noisier, more frequent fan structures; larger values produce fewer but more structurally significant pivots.
Max Fan Lookback — The maximum age, in bars, that a fan's origin point can have and still be considered valid. Lowering this keeps the script focused on recent structure only.
Min Leg % — The minimum percentage price move required between the origin and the first leg for a fan to be accepted, filtering out fans built on insignificant price movement.
Use Vol Filt / Vol Avg Len / Vol Mult — Enables a volume confirmation requirement, comparing current volume against its moving average over the specified length, multiplied by the chosen factor.
Use HTF Filt / HTF — Enables a higher-timeframe trend alignment requirement, comparing the breakout close against the prior confirmed close on the chosen higher timeframe.
SL ATR Buf — The ATR-based buffer added beyond the nearest fan leg when placing the stop-loss, giving the stop room to avoid minor wick noise.
SL Max ATR — A ceiling, expressed in ATR multiples, on how far the stop-loss can be placed from entry, preventing outsized stops on unusually wide fans.
ATR Len — The lookback length used for the ATR calculation that feeds both the stop buffer and the stop cap.
TP1 R / TP2 R / TP3 R — The risk-multiple distances used to place the three take-profit levels relative to the initial risk unit between entry and stop.
Lock Signal — Freezes the current signal and its associated levels in place, preventing a new signal from overwriting them until manually disabled.
Show Fan Lines / Show Trade Levels / Show Labels — Independently toggle the visibility of the fan structure lines, the entry/stop/TP levels, and their accompanying price labels.
Show Dash / Dash Pos — Toggle the on-chart dashboard and choose which corner of the chart it is anchored to.
A full set of color inputs is available to customize the fan lines, trade level lines, fill zones, signal labels, and dashboard appearance to match your own chart theme.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The fan principle applied here descends from classical technical analysis literature on trendline construction, most notably the Gann fan and Andrews' Pitchfork family of tools, which share the premise that connecting a structural origin point to successive swing extremes produces a family of trendlines whose slopes carry predictive meaning about the trend's rate of change. Where this script departs from those older, largely manual techniques is in how the origin and legs are selected: rather than relying on the analyst's subjective choice of anchor points, pivot selection here is fully algorithmic, using a symmetric local-extremum test to ensure each point used is objectively the highest or lowest price within its surrounding window.
The core statistical assumption underlying any trendline-break system is that price trends exhibit a degree of serial correlation, meaning that the rate of ascent or descent between swing points tends to persist for some period before mean-reverting or reversing, and that a violation of the most recent, steepest rate of change is informative about a shift in that underlying process. This is conceptually related to the broader family of change-point detection methods used in time-series analysis, where a structural break in a fitted trend line is used as a signal that the data-generating process has shifted regime. The ATR-based position sizing layered on top draws from the well-established use of Average True Range as a volatility-normalized unit of risk, a concept popularized in behavioral and quantitative trading literature as a way of scaling stop and target distances to the instrument's own recent volatility rather than using arbitrary fixed-point distances, which do not generalize across different assets or market conditions.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Trend Channel Navigator [MQLSoftware]Trend Channel Navigator maps price action as a chain of trend phases, each drawn as its own channel: phase boundaries come from an adaptive swing scanner whose window breathes with the volatility regime, each channel side sits at a quantile of its own deviations instead of a symmetric envelope, a recency-weighted regression tracks the momentum slice inside the active phase, and an original Navigator Entry Score condenses channel position, momentum quality and higher-timeframe agreement into a single 0-100 confluence read - shown live on the panel together with its full component breakdown.
This is a visual analytical tool for chart reading and market-structure context. It does not execute trades and does not provide financial advice.
Key Features
Adaptive phase detection: the swing window scales with the volatility regime, so phases are recognized sooner in a heating market and noise swings are ignored in quiet tape
Asymmetric quantile channels: each side's width is a percentile of that side's own deviations, so one spike no longer inflates the whole envelope and the top and bottom bands are independent
Recency-weighted Micro regression: the newest bars dominate the fit, so the momentum read turns earlier than a uniform regression; a weighted R-squared gate hides it when the fit is poor
Navigator Entry Score: a 0-100 confluence read built from four weighted components - macro/micro alignment, channel position, regression fit quality and dual-timeframe agreement
Live Score Breakdown on the panel: every component's points are shown next to its budget, so the number is never a black box
Scored markers: every structural event (BREAK, PULLBACK, CONTINUATION) prints the matching side of the live score and passes a configurable minimum, and the dedicated ENTRY marker fires when the score crosses your threshold
Pullback Zone and Quarter Grid: the favorable quarter of the active channel is shaded and faint quarter lines make Channel Position readable on the chart itself
Self-explanatory chart language: markers and labels are written in plain words, every marker and pivot carries an explanatory tooltip, and a Compact mode switches to short codes
Non-Repaint Mode on by default: markers fire only on confirmed bars and the active structure is built from closed-bar data
Core Concept
Most channel tools on PulseWire take one of two approaches. They fit a single regression channel over the latest N bars, or they draw one channel from manually chosen anchors. Both force all recent history into one line fit, so the chart cannot show where one trend phase ended and the next began.
Trend Channel Navigator treats price as a sequence of structural phases. The phase idea started in our earlier open-source script Anchored Trend Channels; Navigator rebuilds the engine around five mechanisms of its own - the detection, the channel geometry, the momentum fit, the score and its on-chart language all differ from that script.
1. Adaptive phase detection. Swings are found by a strict-extremum scan whose window is re-derived on every bar from the volatility regime - the ratio of short-term ATR to its long baseline. When the market heats up the window contracts and new phases are recognized sooner; in quiet tape it dilates and noise swings never become phases. Builtin pivot functions take a fixed window, which is why the scanner is written by hand. A swing is confirmed a window's worth of bars after it forms, exactly like a classic pivot. When a later swing confirms beyond a phase's endpoint in the same direction - a higher high in an up-phase, a lower low in a down-phase - the phase extends to that new confirmed swing instead of leaving an orphan stretch, so the chain of channels stays continuous.
2. Asymmetric quantile channels. The channel basis is the straight line between the two anchoring swings, which keeps clean joints between phases. The width is not a symmetric envelope: highs above the basis set the top band and lows below it set the bottom band, each at a configurable percentile of its own deviations with an ATR floor. A single spike no longer inflates the whole channel, and a phase that leans on one side of its basis shows that lean honestly.
3. Recency-weighted Micro regression. The inner channel is a weighted least-squares fit in which each bar back weighs a fixed fraction of the previous one, so the newest bars dominate and the momentum read turns earlier than a uniform regression of the same length. The fit quality gate and the residual band use the same weights. Setting the decay to 1.00 reproduces the classic unweighted fit.
4. Navigator Entry Score with a live breakdown. The score is computed independently for the long side and the short side on every bar. Macro and micro direction agreement contributes 35 points, channel position contributes up to 20 and rewards proximity to the favorable edge rather than chasing the far edge, the micro fit quality contributes up to 20, and each of the two higher-timeframe rows contributes 12.5 when it agrees with the side being scored. The panel shows each component's points next to its budget on every bar, so the number is never a black box. An ENTRY marker fires once when the winning side crosses the threshold on a confirmed bar, with its own cooldown; an optional strict mode caps the score below the threshold unless both higher timeframes agree. The other marker families pass through the same score: BREAK, PULLBACK and CONTINUATION print the matching side's value and respect a configurable minimum, so every event on the chart is a scored event.
5. Pullback Zone and Quarter Grid. The score's channel-position component is made visible: the favorable quarter of the active channel is shaded - near the base in an up phase, near the top in a down phase - and faint quarter lines split the channel into the quarters the Channel Position row reads. The channel does not only show where price has been; it shows where the next trend-side read matters.
Anatomy of the Display
Macro channels are the large structures between confirmed swing points. Historical phases are dimmed and frozen; the active phase is bright, carries the shaded Pullback Zone, and extends forward with a dashed projection.
The Micro channel is the smaller regression channel inside the active phase, labelled "Momentum" with its current direction. It shows whether the current momentum slice agrees with the larger phase or is pulling back against it.
Markers name their event in plain words and print the matching side of the live score. BREAK marks a confirmed close beyond the active channel boundary, PULLBACK marks a touch of the favorable edge in trend direction, CONTINUATION marks a micro breakout aligned with the macro phase early in the segment, and ENTRY belongs to the score engine and fires on a threshold cross. Every marker carries a tooltip that explains the event.
The status badge shows the Trend Bias of the recent phases and the live Entry Score with its stronger side.
The panel is the main readout: Trend Bias, active segment angle, direction and age, the chain of recent phases, Channel Position, anchor pivot, channel width in ATR, the last fired event, micro regression metrics, the two higher-timeframe rows, and the live Entry Score against your threshold - followed by the Score Breakdown, where each of the four components shows its current points against its budget.
Multi-Timeframe Panel
The two higher-timeframe rows are selected automatically from a standard ladder based on the chart timeframe, for example 240 and 1D on a 1-hour chart. Higher-timeframe values are requested without lookahead and read with a one-bar offset, so only closed higher-timeframe bars are used. Their agreement is not only displayed - it feeds the Entry Score directly.
Notes on Repainting
Historical channels do not repaint intrabar. They are anchored to confirmed swings, and one honest exception is stated openly: when a same-direction swing confirms beyond a phase's endpoint, the completed channel extends to that new confirmed swing and its width is recomputed - on closed data only, at confirmation time. It never moves otherwise.
Swing detection carries an inherent delay equal to the current window: a swing becomes visible only after that many bars close past it. With the Adaptive default the window typically resolves to 11-26 bars, tighter in heating markets. This confirmation contract is the same as for all pivot-based tools.
Non-Repaint Mode is on by default: the active channel and the micro regression are computed from closed-bar data, so the visible structure does not wobble intrabar. Turning it off lets the active structure update on the live bar for responsiveness; this affects display only.
All markers are gated by confirmed bars. ENTRY, BREAK, PULLBACK and CONTINUATION can only appear on the close of their bar and cannot appear or vanish intrabar.
Higher-timeframe rows use the standard non-repainting pattern: no lookahead, one-bar offset, closed bars only.
The panel and the live score update within the bar. This is display only; no marker or alert is created from an unconfirmed bar.
Typical Analysis Workflow
A common analytical workflow may include:
Reading Trend Bias and the active phase direction first to understand the current structure
Checking Channel Position to see whether price is near the favorable edge or already stretched toward the far edge
Waiting for price to reach the shaded Pullback Zone in the direction of the active phase
Using the Momentum channel and its fit quality to judge whether the current slice is clean enough to trust
Checking the higher-timeframe rows for agreement
Treating the Entry Score as the final confluence read rather than a standalone trade command, and raising the threshold when you want fewer, higher-confluence marks
Configuration
Pivot Sensitivity - Adaptive (default) scales the swing window with the volatility regime; the fixed presets from Short to Very Long and Custom Lookback pin it instead.
Min Segment Size (x ATR) / Min Segment Length (bars) - quality filters that skip noise phases.
Channel Width Multiplier / Min Band Width (x ATR) - how tightly the channel wraps price and the floor under each side's width.
Channel Quantile (%) - the percentile each side's width sits at. 100 reproduces a full envelope; lower values ignore single spikes and hug price tighter.
Max Segments Stored - how many historical phases stay on the chart.
Regression Length / Std Dev Multiplier / Min R2 to Show - the Micro channel window, its band width and its fit gate.
Recency Weight (decay) - how strongly the newest bars dominate the Micro fit. 1.00 = classic unweighted regression.
Segment Break / Macro Pullback / Micro Continuation Signals - enable each marker family independently. Signal Cooldown - minimum bars between same-family markers.
Min Signal Score - structural markers only fire when the matching side of the live score is at least this value. 0 = raw structural events.
Entry Score Threshold - the confluence level an ENTRY marker requires. Require MTF Confluence - strict mode: both higher timeframes must agree for the score to reach the threshold. Entry Cooldown - minimum bars between ENTRY markers.
Non-Repaint Mode - closed-bar data for the active structure (default on).
Line Width / Neon Glow - core line width and the layered glow tier (Off, Subtle, Balanced, Bright).
Show Channel Fills / Show Basis / Show MTF Mini-Screener - display toggles.
Marker Style - Descriptive markers in plain words, or Compact short codes.
Highlight Pullback Zone / Show Quarter Grid - the shaded favorable quarter of the active channel and the faint quarter lines.
Bull / Bear Colors - recolor the whole structure. Defaults are a dark-theme identity; pick deeper tones for light charts.
Markets and Timeframes
The indicator can be applied across multiple markets and timeframes:
Forex
Stocks and Indices
Commodities
Cryptocurrencies
Channel widths and segment filters are scaled in ATR rather than in fixed price units, so behaviour stays consistent across instruments. Defaults are tuned for 1H-4H charts; Pivot Sensitivity is the lever for faster or slower timeframes.
Alerts
Segment Direction Changed - the active phase flipped direction
Segment Break - a confirmed close beyond the active channel boundary
Micro Continuation - a micro breakout aligned with the macro phase
Entry Score - the score crossed your threshold on a confirmed bar
All alerts evaluate on confirmed bars and respect the same cooldowns and score gates as the chart markers, so an alert fires only when the corresponding marker event fires.
Indicator

YURI Breadth Regime EngineAn index is capitalisation weighted. A handful of large members can hold the whole thing up while most of the list quietly breaks down underneath, and the price chart will not show you that, because the price chart is the weighted number. The count is a different number. This reads the count and tells you when the two have stopped agreeing.
THE TWO THINGS IT MEASURES
The level is how much of the list is participating right now. The default series is the percentage of S&P 500 members trading above their own 200 day moving average. Four bands: washout below 20, weak below 40, neutral below 60, strong above it. Below 20 has historically been forced selling rather than opinion, because most of the list is under its own annual average at the same time. Those readings cluster near the end of declines rather than the start. That is an observation about where they have occurred, not an instruction to buy them.
The participation read is a different question: is the index outrunning its own members. That is a question about speed rather than position, so each series measures how far it has moved over the same window and that move gets ranked against its own history. Percent for the index, because a 50 point move meant something different at 2000 than it does at 7000. Points for breadth, which is already bounded at 0 and 100. The gap between the two ranks is what gets read, and ranking is what makes a price and a percentage comparable at all.
Index in the top of its own distribution of moves while breadth is in the bottom of hers is thinning. Fewer names are carrying it. Breadth moving up harder than the index is broadening, and it is what the back end of a washout looks like.
Ranking positions instead of moves is the obvious way to build this and it does not work, which is worth saying because the failure is instructive. An index drifts upward, so its position rank pins at the top of its range for months at a time. That builds a permanent bias into the gap, and it quietly collapses the whole read into "breadth is low", which is something the level already tells you. A move measured over a fixed window is centred on its own history by construction, so it has neither problem.
WHY BOTH, AND NOT JUST THE LEVEL
The level tells you where participation is. It does not tell you which way it is going relative to price, so a level read is equally happy at 55 on the way up and 55 on the way down. The participation read tells you the direction of the disagreement but has no sense of absolute position, so it will call thinning at 75 and at 35 without distinguishing between them, and those are very different markets. Neither one is sufficient. Read together, the level says how much of the list is in, and the rank gap says whether that number is keeping up.
THE PART THAT ACTUALLY MATTERS
A new participation state has to hold for several bars before it replaces the current one.
Drop that and this becomes a threshold that flips every time the rank gap wobbles across the line, and within a month you have learned to ignore it. The hold period is the difference between a regime read and a flicker. It is exposed in the inputs. One bar makes it reactive and noisy, ten makes it stubborn and late, and there is no correct answer, only the one that matches how often you are willing to change your mind.
READING IT
The line is the breadth percentage, coloured by band. Red zone is washout, teal zone is strong.
Orange triangle near the top of the pane: participation just turned thinning.
Teal triangle near the bottom: participation just turned broadening.
The table carries the live reading, the current band, how many bars breadth has been sitting under the washout line, and the participation state with the raw rank gap in brackets. That bracketed number is worth watching on its own, because it moves before the label does. A gap climbing through the high twenties tells you the state is about to be named while the hold period is still counting.
SETTINGS THAT MATTER
The breadth series and the index have to be the same index or the comparison is noise. The default pairing is INDEX:S5TH against SP:SPX. If you switch to a Nasdaq or Russell breadth series, switch the index with it.
The move window sets what counts as "has moved". Shorter makes the participation read sensitive to swings inside a trend, longer makes it a read on the trend itself. The ranking window sets how much history each move is judged against, and nothing reads at all until both windows have filled.
The thinning and broadening gaps are separate inputs because there is no reason the two sides have to share a number. Left equal at 30 they fire about as often as each other, so if you want one side more sensitive, move that one and leave the other alone.
WHAT IT WILL NOT DO
It does not generate entries or exits, and it is not a forecast. It describes the state of participation as of the current bar, and what you do with that is your method, not mine.
The breadth series prints once a day and has no intraday history. On an intraday chart the daily value is pulled instead, so the line steps rather than curves and the current day's value keeps moving until the close. It settles when the day does. Daily or higher is where this is meant to run.
If the external series is unavailable on your plan or your symbol, the pane turns orange and the table reads NA rather than plotting a flat line that could be mistaken for a real value.
Breadth is a coincident measure of participation, not a leading one. Washouts are identifiable in hindsight far more cleanly than they are while you are standing in one, and a thinning read can persist for months in a market that keeps going up. This is context for a decision, not the decision.
Indicator

Nwog - Ndog Tracker (M1D)NWOG - NDOG Tracker (M1D)
Maps the two electronic-session opening gaps on index futures and tracks how much of each one price has traded back through.
A New Day Opening Gap is the distance between the prior session's 17:00 close and the 18:00 Globex reopen — the CME maintenance halt. A New Week Opening Gap is the distance between Friday's 16:59 close and the Sunday 18:00 reopen. These are electronic-session boundaries and are deliberately not the 09:30 cash open or the 16:14 regular-hours close, which belong to a different gap entirely.
How It Is Built-
No bar prints inside either window, so the bar immediately preceding a reopen always carries the true prior close. Both gaps read their origin from that bar rather than from a bar found by its clock time, which is what keeps them correct through a holiday or an early close — on those days the scheduled closing bar never prints at all, and a tool that waits for it builds the gap off a stale price.
A gap is read from the side its reopen landed on. Opening above the prior close leaves the unfilled area below price, where it stands as support. Opening below leaves it overhead as resistance.
Every boundary is detected on the bar that contains its target time rather than by comparing bar-open times, so each one resolves correctly on any intraday timeframe. All detection runs on confirmed bars only.
What It Draws-
Each gap is a box spanning from its origin to its right edge, captioned with its direction, type and date. The caption sits level with the consequent encroachment just past the right edge, and holds the same visual distance from the box at any zoom.
Direction and type are carried separately so neither has to be inferred from the other. The box fill stays keyed to the type, daily and weekly each keeping their own wash, while the border and the caption arrow carry the polarity.
Levels inside a gap are optional. Quadrants draw 0.25, the consequent encroachment and 0.75. Octants draw eighths. Each level's value is printed beside the right end of its own line, level with it at any zoom, and the consequent encroachment is named CE and carries its own colour. The gap high and low are the box itself and are not redrawn as levels.
A table lists the tracked gaps newest first, each with its direction and the percentage of it that price has covered, and a count of how many remain unfilled. The callout arrow in the example chart points from a gap to this table so the two can be matched up at a glance.
Settings-
Gap times, session close, and the reopen times are each adjustable and independent of one another.
Extend controls how far a box runs. Until next gap keeps only the newest box tracking price, clipping the previous one as a new gap forms. Extend to price runs every kept box to the current bar. End of day stops each at the session close. The weekly gap adds End of week, which stops it at Friday's close and keeps it visible for a set number of weeks afterwards.
Direction colouring can be switched off, in which case every border and caption falls back to the single border colour. The two direction colours themselves are adjustable.
Keep-last counts, fill and border colours, label size, and the table position and length are all adjustable.
Notes-
Fill percentage is the share of a gap's own range that price has covered, measured between the deepest and shallowest points reached inside it. It only increases, and reaches 100 percent once price has covered the gap end to end. It is deliberately direction-agnostic: it records how much of the gap has been consumed, not which side consumed it.
Being traded through does not remove a gap. A filled gap stays on the chart, and only the keep-last count clears it.
Disclaimer-
This script reports where these gaps sit and how much of each has been consumed. It does not generate signals and it is not financial advice. Indicator

ZH Filter 007A market-timing overlay with four modules working together to tell you what state the market's in and when a run may be exhausting.
**Weekly MACD regime background.** The core engine. It computes a standard MACD — line = EMA(6) − EMA(20), signal = EMA(9) of that line — but pulls it from the **weekly** timeframe (all lengths and the timeframe are inputs; defaults 6/20/9/W). The background then resolves by priority: **green** when the weekly MACD line is above its signal (confirmed risk-on); **teal** when it's not yet bullish but the daily 10 SMA is above the 20 *and* the weekly MACD line is rising week-over-week (early warning that strength is building ahead of the weekly cross); **red** otherwise (if enabled). Green always wins the moment the weekly confirms, so teal drops off then. The teal "rising" test uses a dedicated prior-*week* MACD value so it doesn't read as flat within a week. Two alerts fire on the weekly line crossing its signal up or down.
**Moving averages.** Daily 10, 20, 50, 100, 200 SMAs, each with its own toggle and color (10 red, 20 black, 50 blue, 100 orange, 200 purple; 200 thicker). The 10 and 20 also feed the teal early-shade and the Trend Stopper's MA gate.
**Trend Stopper / Kill Candle.** Flags a single climax/distribution down-candle that tends to end an uptrend, marked with a red "STOP" triangle above the bar. Fires only when all eight conditions align at once: a down day; late in an extended run (40+ sessions since the last −3% decline); range ≥ 2.2× the 40-bar average; volume ≥ 1.2× average; body ≥ 80% of range; close in the bottom 12% of range; prior close above the 50 SMA; and the 10 above the 20. Two optional overlays — a stats label on each STOP bar, and a diagnostic mode that labels near-miss down days with a PASS/FAIL breakdown of all eight conditions — for tuning. A stopper alert is wired.
**Metrics table (top-right).** Live QQQ daily % change and a breadth read (BRD) computed as (ATHI.US − ATLO.US)/ATLO.US × 100 — new-highs-minus-new-lows pulse. Each colors green/red by sign, with size and colors configurable.
In practice: the background is your go/no-go gate (teal warns early, green confirms, red keeps you out), the MAs frame trend and pullbacks, the Trend Stopper flags when to step aside or trim, and the table gives a quick tape-and-breadth read — all aimed at timing when to engage versus stand aside. Indicator

Trendsetter Pro V1need decription and how to use
Today
Trendsetter Pro V1 - Description:
Trendsetter Pro V1 reads market structure, trend, and retests. It marks BOS breaks, impulse zones, and shows if price is trending, correcting, or ready to enter after a confirmed retest.
Features: BOS detection, EMA 50/200 trend filter, impulse zones with next support/resistance, retest tracker, BUY/SELL NOW labels, Get $ states, Fibonacci TP1/TP2, and MTF table (1m to 1Y).
How to use:
Wait for BOS Break - Wait Retest
Let it form an impulse zone
Wait for BUY NOW or SELL NOW - Retest Confirmed
Enter there. Hold while it says Get $
Don't enter during Correction - that's pullback
Take profit at Fib TP1/TP2 or when it says Trend Closing Indicator

YURI Session Regime Engine# Publication description: YURI Session Regime Engine
Paste into the PulseWire publish dialog, page 1. Keep the bold headers, drop the
markdown hashes if the editor does not render them.
Categories used: Trend Analysis, Volume, Chart Patterns
Suggested keywords: day type, regime, opening range, session, intraday, VWAP
---
Most intraday losses I have looked at come down to running the wrong playbook for
the day. Buying pullbacks on a session that never trends. Fading the edges on one
that never comes back. By the time the character of a session is obvious on the
chart, the move it was going to give you has usually already happened.
This labels the session while it is still forming.
**How it decides**
Five checks vote on direction, and each one covers a blind spot in the others.
1. Which side of session VWAP price is trading
2. Whether VWAP itself is rising or falling, measured across the last 75 minutes
3. Whether the opening range has broken
4. Where the higher timeframe trend points, hourly close against its 20 period SMA by default
5. Whether price has cleared the prior day's high or low
Four votes out of five makes it a trend day. A gap larger than 2 percent that
trades back through the session open gets labelled a gap fill. Price still sitting
inside the opening range well after the open, with a quarter of the range width
allowed either side, is a range day.
Each of those five is weak on its own. VWAP position whipsaws in chop, the
opening range fails on gap mornings, and a higher timeframe read is always late by
construction. Prior day levels tell you nothing at all about today. What makes the
combination worth more than its parts is that they fail in different places, so
requiring agreement across all five stops any single one of them from driving the
label.
**The part that actually matters**
A new label has to hold for 25 minutes before it replaces the current one.
Drop that layer and this becomes every other conditional colouring script. Price
wicks back through VWAP, the label flips, it flips back ten minutes later, and
within a week you have learned to ignore it. The hold period is what makes the
output stable enough to be worth reading. Set it to 10 minutes if you want it
reactive, an hour if you want it stubborn.
**Reading it**
TREND UP / TREND DOWN: four or more of the five checks agree on direction.
RANGE: price is still inside the opening range plus a quarter of its width either
side, well after the open.
GAP FILL UP / GAP FILL DOWN: the session gapped hard and has since traded back
through its own open.
MIXED: the opening range has formed but nothing has agreed strongly enough to name
the day. Days that stay here are the ones worth trading small.
OPENING: the opening range has not finished forming and there is not enough
information yet.
The table carries the live vote count on both sides. Three votes up and rising
tells you more than the label does, because it shows a regime change building
before the hold period lets it commit. What you do with any of this is your
method, not mine. The label is an input to that decision.
**What it will not do**
It describes what has already happened. It is a classification of the session so
far, and it will not tell you where to enter or where to get out.
The first 15 minutes are always OPENING, by construction. Once the session ends
the day keeps whatever label it closed with until the next one starts, because
judging a finished day against a frozen VWAP would be meaningless.
If you set the context timeframe below your chart timeframe, that vote gets
dropped instead of being computed on partial bars. The table tells you when this
happens.
It assumes an instrument with a defined regular session. On 24 hour markets the
session logic loses most of its meaning.
Time thresholds are set in minutes and converted to bars internally, so the same
defaults behave the same way on a 1, 5 or 15 minute chart. It was built for US
equity index sessions. Every threshold is exposed in the inputs, including the
vote count needed for a trend day, so you can tighten or loosen it for whatever
you trade.
Indicator

Adaptive GMMA Phase Fill with Ichimoku CloudAdaptive GMMA Phase Fill
Adaptive GMMA Phase Fill is a trend visualization indicator that combines the Guppy Multiple Moving Average (GMMA), short-term momentum phase analysis, market trendiness, and the Ichimoku Cloud.
The indicator is designed to show not only the direction of a trend, but also whether short-term momentum is accelerating, weakening, or transitioning relative to the broader GMMA structure.
Main Features
* Fast GMMA using 3, 5, 8, 10, 12, and 15-period EMAs
* Slow GMMA using 30, 35, 40, 45, 50, and 60-period EMAs
* ATR-normalized slope analysis
* Fast-GMMA phase detection
* Trendiness-based dynamic transparency
* Optional Ichimoku Cloud with bullish and bearish coloring
* Configurable cloud boundary lines
* Optional phase background
* Alert conditions for acceleration and exhaustion transitions
Fast GMMA Phase Colors
The fast GMMA bundle changes color according to its average slope and the relative movement of its component EMAs.
* Green: Bullish movement or bullish acceleration
* Light gray: Possible momentum exhaustion or an early loss of directional strength
* Medium gray: Bearish or weak directional movement
* Dark gray: Bearish acceleration
The phase calculation compares the ATR-normalized slopes of adjacent fast EMAs. This helps identify changes within the fast bundle before they become obvious from price alone.
Slow GMMA Colors
The slow GMMA provides the broader trend structure.
* Red: The fast GMMA mean is above the slow GMMA mean
* Dark gray: The fast GMMA mean is below the slow GMMA mean
* Medium gray: No clear separation between the two bundles
The slow bundle therefore acts as a structural trend reference, while the fast bundle highlights shorter-term changes in momentum.
Adaptive Transparency
The opacity of the GMMA lines and fills is adjusted using a trendiness measure derived from the Choppiness Index.
* Stronger, more directional trends are displayed more clearly.
* Choppy or range-bound conditions are displayed with greater transparency.
This makes prominent trends visually stand out while reducing emphasis during less directional market conditions.
Ichimoku Cloud
The indicator can optionally display only the Ichimoku Cloud, without the Conversion Line, Base Line, or Lagging Span.
* Green cloud: Senkou Span A is above Senkou Span B
* Red cloud: Senkou Span A is below Senkou Span B
* Green boundary: Senkou Span A
* Red boundary: Senkou Span B
The default Ichimoku settings are 9, 26, 52, with a 26-period forward displacement. All settings and cloud colors can be customized.
The cloud provides an additional view of longer-term market structure, while the GMMA phase colors focus on current trend direction and momentum development.
Suggested Interpretation
The indicator is intended as a visual framework rather than a standalone entry or exit system.
For example:
* A green fast bundle above the slow bundle may indicate bullish continuation.
* A light-gray fast bundle during an established uptrend may indicate weakening momentum.
* A dark-gray fast bundle may indicate increasing bearish pressure.
* Agreement between the GMMA structure and Ichimoku Cloud may indicate stronger directional alignment.
* Conflicting GMMA and cloud conditions may indicate a transition or consolidation phase.
Signals should be evaluated together with price action, support and resistance, timeframe context, and appropriate risk management.
Alerts
Alert conditions are included for:
* Bullish acceleration
* Bullish exhaustion
* Bearish acceleration
* Bearish exhaustion
These alerts trigger when a new phase state begins.
Notes
ATR normalization makes the slope calculation more comparable across instruments and volatility environments. However, the interpretation may still vary depending on the asset and timeframe.
This indicator does not predict future price movement and should not be used as the sole basis for trading decisions. Indicator

Indicator

SBP Structural State DetectorSBP Structural State Detector is a rule-based analytical indicator designed to identify confirmed changes between bullish and bearish structural states. It does not attempt to predict exact market tops or bottoms. Instead, it evaluates whether current price behaviour provides sufficient evidence that the prevailing directional state has changed.
The script uses one integrated calculation process. It does not require another indicator, external script, higher-timeframe data source, or manual confirmation tool.
Core Method
The calculation begins by measuring price-path efficiency. This compares the net movement of price with the total distance travelled over the same period. A more direct price path receives a higher efficiency reading, while irregular movement produces a lower reading.
That efficiency value controls the response rate of an internal structural centre. The centre adapts more quickly when price movement is directional and more slowly when movement is noisy. The centre is used internally and is not drawn as a separate trendline.
A volatility-normalized structural band is then calculated around the internal centre. Its width expands when price behaviour is less efficient and contracts when movement becomes more orderly. This makes the visible band responsive to both volatility and market noise rather than relying on a fixed price distance.
Directional qualification uses five related observations:
1. Price location relative to the internal structural centre.
2. Normalized displacement from that centre.
3. Direction of the structural slope.
4. Volatility-normalized momentum.
5. Candle direction, body expansion, and closing location.
A bullish or bearish candidate must receive the required level of evidence and must exceed the evidence supporting the opposite direction. The condition must then persist before it can reach the final event process.
Signal Behaviour
All events are evaluated on confirmed bars.
The final event process enforces strict alternation. After a BUY event, another BUY cannot be accepted until a SALE event has occurred. After a SALE event, another SALE cannot be accepted until a BUY event has occurred.
The Minimum Signal Gap setting specifies the minimum number of confirmed bars required between accepted opposite-direction events. It is a spacing control and does not create same-direction re-entry signals.
Chart Display
The Structural State Band changes colour according to the last accepted directional state:
Green indicates that the last accepted event was bullish.
Red indicates that the last accepted event was bearish.
Gray indicates that no directional event has yet been accepted in the loaded chart history.
BUY and SALE triangles identify accepted state changes. They are placed outside the candle using an ATR-based visual distance so that the markers remain readable without changing their event bar.
Inputs
Minimum Signal Gap: Controls the minimum number of confirmed bars between accepted opposite-direction events.
Show Structural State Band: Shows or hides the volatility- and noise-adjusted state band.
Show BUY / SALE: Shows or hides accepted event markers.
State Band Transparency: Controls only the visual transparency of the band and does not affect calculations or events.
Alerts
Two alert conditions are available:
SBP Structural BUY Event
SBP Structural SALE Event
Alerts should be created through PulseWire's Create Alert dialog. Alert behaviour follows confirmed BUY and SALE events generated by the script.
How to Use
Apply the indicator to a standard candlestick or bar chart. Observe the band colour together with accepted BUY and SALE events. The indicator is intended to provide a consistent structural-state reference that can be considered alongside the user's own entry, exit, position-sizing, and risk-management rules.
Limitations
This is an indicator, not a strategy. It does not place orders, calculate position size, provide stop-loss levels, provide profit targets, or report backtested performance.
Signals are based on historical and current confirmed price data. Confirmation introduces delay, especially when price changes direction rapidly. Sideways or volatile markets can produce alternating state changes. The Minimum Signal Gap can reduce closely spaced events but cannot eliminate false or late signals.
The indicator does not guarantee accuracy, profitability, or future market direction. Past chart behaviour does not ensure similar future behaviour. Use standard charts for signal interpretation and conduct independent analysis before making trading decisions. Indicator
