OBV Price Confirmation Chronology - On Balance VolumeOBV Price Confirmation Chronology is a price-volume research indicator that compares the timing of rolling record events in price and classical On-Balance Volume (OBV).
A standard OBV line shows how directionally signed volume has accumulated. This script adds a different analytical layer: when price and OBV establish corresponding upper or lower records, which one occurred first, did both occur on the same bar, or did one remain unmatched beyond the selected tolerance?
The purpose is to help users study whether the available volume series is confirming, leading, lagging, or failing to match new price records.
This is a descriptive context tool. It is not a trading system and does not generate buy or sell instructions, entries, exits, targets, stops, position sizes, probability estimates, or performance claims.
CORE IDEA
The script separately observes two event families:
- High-side records
- Low-side records
A high-side event occurs when price or classical OBV establishes a new upper record relative to its selected rolling lookback.
A low-side event occurs when price or classical OBV establishes a new lower record relative to its selected rolling lookback.
Price and OBV events are then paired within a configurable number of chart bars.
The resulting chronology state describes the order in which the matching records occurred:
- OBV led
- Price led
- Synchronized
- Price only
- OBV only
High-side and low-side states are calculated independently.
"High" and "Low" describe the direction of the rolling record. They are not long or short recommendations.
WHAT MAKES IT DIFFERENT
The classical OBV calculation itself is a standard technical-analysis foundation. The original contribution of this script is the chronology engine built around it.
The script does not simply plot OBV, detect an OBV moving-average crossover, or mark a one-sided OBV breakout.
Its distinguishing features include:
- Symmetrical high-side and low-side record analysis
- Independent price-record and OBV-record detection
- Bar-by-bar measurement of which record occurred first
- Synchronized-event classification when both records occur together
- Pending-event storage within a configurable pairing tolerance
- Unpaired-event classification when the tolerance expires
- Deterministic oldest-first event pairing
- Breakout-sequence compression to reduce repeated record events
- Optional sampled-record mode for more frequent research events
- A normalized OBV-versus-price range-position gap
- Compact historical markers
- Separate latest high-side and low-side labels
- A concise current-state table
- Confirmed-bar event handling by default
This is not a classic pivot-divergence indicator.
It does not wait for confirmed swing pivots, draw divergence lines between historical pivots, or classify regular and hidden divergence. It instead studies the chronology of rolling price and OBV records.
CLASSICAL OBV CALCULATION
Classical OBV is calculated from the selected Direction source.
When the source rises from the previous bar:
- The current available volume is added.
When the source falls from the previous bar:
- The current available volume is subtracted.
When the source is unchanged:
- Zero is added.
Close is the default Direction source.
The chronology engine always uses classical cumulative OBV, regardless of the selected visual display mode.
PRICE RECORDS
The Price record source can use:
- High / Low
- Close
With High / Low selected:
- High-side records are calculated from price highs.
- Low-side records are calculated from price lows.
With Close selected:
- Both upper and lower price records are calculated from closing prices.
A price record must exceed the previous rolling record by the configured Minimum price record extension.
The default extension is one minimum tick. This helps avoid treating insignificant floating-point or feed-level differences as meaningful new price records.
Setting the extension to zero accepts any strictly higher or lower value.
OBV RECORDS
A high-side OBV record occurs when classical OBV exceeds its previous rolling maximum.
A low-side OBV record occurs when classical OBV falls below its previous rolling minimum.
A usable positive volume input is required for a new OBV record event.
EVENT SAMPLING MODES
Breakout sequence start is the default event mode.
This mode groups a sustained run of repeated rolling records into a cleaner event sequence. A new event is allowed only after the selected number of reset bars has separated it from the preceding record run.
This reduces repeated markers during a continuous expansion.
Sampled rolling records is an alternative research mode.
It allows record events to appear more frequently, subject to the selected minimum number of bars between sampled events.
PAIRING LOGIC
High-side and low-side events maintain separate pending states.
When a price record occurs without a matching OBV record, the price event waits for the configured Pair tolerance bars.
When an OBV record occurs without a matching price record, the OBV event waits in the same way.
If the opposite record occurs within the tolerance, the events form a completed pair.
The script gives priority to the oldest valid unmatched event. A new event from the same source does not overwrite an older valid pending event.
The classifications are:
OBV led
The OBV record occurred first and the matching price record occurred later within the tolerance.
Price led
The price record occurred first and the matching OBV record occurred later within the tolerance.
Synchronized
The price and OBV records occurred on the same chart bar when no older opposite-source pending event had priority.
Price only
A price record remained unmatched after the tolerance expired.
OBV only
An OBV record remained unmatched after the tolerance expired.
The tolerance is measured in chart bars, not clock time.
A setting of eight therefore means eight bars on the active chart timeframe.
READING THE +N VALUE
A compact label such as:
OBV +3
means that the matching OBV record occurred three chart bars before the price record.
A compact label such as:
Price +2
means that the matching price record occurred two chart bars before the OBV record.
The number is not:
- Signal strength
- Price distance
- Volume percentage
- Expected return
- Reversal probability
- Continuation probability
It is only the number of chart bars separating the two record events.
VISUAL LANGUAGE
The default visual structure keeps the OBV series as the primary layer.
Default line colors:
- Cyan: displayed OBV series
- Yellow: selected smoothing line
Historical event markers:
- Diamond: completed price-OBV pair
- X: pending event expired without a matching event
Default marker colors:
- Blue: OBV led
- Gold: Price led
- White: Synchronized
- Gold X: Price only
- Violet X: OBV only
Marker position identifies the event side:
- Markers above the displayed OBV line represent high-side events.
- Markers below the displayed OBV line represent low-side events.
The latest high-side state is shown with a green label.
The latest low-side state is shown with a pink label.
Only one latest high-side label and one latest low-side label are maintained. Older event history remains available through the smaller markers.
All primary colors, line widths, label sizes, table settings, and visual layers can be customized.
STATUS TABLE
The default Compact table contains four rows:
High
Shows the latest completed or expired high-side chronology state.
Low
Shows the latest completed or expired low-side chronology state.
Pending
Shows whether a price or OBV record is currently waiting for a matching event.
A pending value such as:
H Price 3/8
means that a high-side price record has waited three bars out of an eight-bar tolerance.
Gap
Shows which series currently occupies the stronger relative position inside its own recent range.
The table can be moved to any corner of the indicator pane.
A Detailed table mode is also available for users who want additional state and environment information.
RANGE-POSITION GAP
Price and classical OBV are independently normalized to positions from 0 to 100 inside their respective recent ranges.
The calculation is:
OBV range position - Price range position
A positive result means OBV is positioned higher inside its own recent range than price is positioned inside its price range.
A negative result means price is positioned higher inside its own recent range than OBV is positioned inside its OBV range.
In Compact mode, the table displays the stronger side and the absolute difference.
For example:
OBV 22.5
means OBV is 22.5 normalized range-position points above price.
Price 31.0
means price is 31.0 normalized range-position points above OBV.
The Gap value is not a price percentage, volume percentage, probability, forecast, or signal-strength score.
An optional subtle background tint can highlight larger positive or negative gaps. It is disabled by default to preserve visual clarity.
DISPLAY MODES
Classic OBV
Displays classical cumulative OBV.
This is the default mode because it matches the series used by the chronology engine.
Rolling zero-base OBV
Displays the current classical OBV value minus its value a selected number of bars ago.
This can make recent movement easier to compare visually, but it does not change chronology calculations.
Directional balance %
Measures net directionally signed volume relative to gross directionally signed volume over the selected lookback and displays the result on a scale from -100 to +100.
This mode changes only the visible pane series.
Chronology events always remain based on classical cumulative OBV.
SMOOTHING
An optional smoothing line is enabled by default.
Available methods:
- EMA
- SMA
- RMA
- WMA
The smoothing line is a visual reference only. It does not change price-record detection, OBV-record detection, pairing, pending events, expiration, or alert conditions.
ALERTS
The script provides separate alert conditions for:
- High-side OBV led
- High-side Price led
- High-side Synchronized
- Low-side OBV led
- Low-side Price led
- Low-side Synchronized
- Unpaired chronology expiration
The unpaired alert is disabled by default.
All alerts are restricted to confirmed bar closes.
Alert events describe completed chronology conditions only. They are not trade instructions.
LIVE AND HISTORICAL BEHAVIOR
Evaluate confirmed bars only is enabled by default.
With this setting enabled:
- Persistent chronology states update only when the current chart bar closes.
- Pending records do not pair or expire during an unfinished bar.
- Historical and realtime event handling remain aligned around confirmed chart bars.
The displayed OBV line, smoothing line, and range-position gap can still update while the current bar is forming because their underlying price and volume values are live.
If confirmed-bar evaluation is disabled, chronology events become a provisional intrabar preview. Those states can change before the bar closes.
Alerts remain confirmed-bar events even when intrabar preview is enabled.
The script uses the current chart timeframe only.
It does not request higher-timeframe or lower-timeframe data, does not use lookahead, and does not use future bars.
An unpaired X marker appears on the bar where the expiration becomes knowable, not retrospectively on the original pending-event bar.
NON-STANDARD CHARTS
Chronology-event processing is paused by default on non-standard chart types, including synthetic price constructions such as:
- Heikin Ashi
- Renko
- Kagi
- Point & Figure
- Range
- Line Break
Standard candlestick or bar charts are recommended.
INPUTS AND CUSTOMIZATION
Users can adjust:
- OBV Direction source
- Visible display mode
- Rolling zero-base length
- Directional-balance length
- Smoothing method and length
- Price record source
- Record lookback
- Record event mode
- Sequence reset bars
- Sampled-event spacing
- Pair tolerance
- Minimum price-record extension
- Confirmed-bar behavior
- Non-standard-chart behavior
- Historical markers
- Latest labels
- Label style and size
- Table position
- Compact or Detailed table density
- Table text size and formatting
- OBV and smoothing line widths
- Range-position lookback
- Gap threshold and optional tint
- Primary colors
- Alert availability
Visual settings do not change the underlying chronology calculations.
SUGGESTED WORKFLOW
1. Use a standard candlestick chart with a consistent and meaningful volume series.
2. Begin with Classic OBV so the displayed series matches the chronology basis.
3. Review the High and Low rows separately. They represent different record directions and can show different chronology states at the same time.
4. Use the historical diamonds to locate completed price-OBV pairs.
5. Use the historical X markers to locate events that expired without confirmation.
6. Read the +N value only as a bar-count lead or lag.
7. Review Pending to see whether a price or OBV record is still waiting for a counterpart.
8. Use Gap as secondary range-position context, not as a trade trigger.
9. Adjust Record lookback, Sequence reset bars, and Pair tolerance for the timeframe and research horizon.
10. Combine the observations with independent price structure, trend, volatility, liquidity, and risk analysis.
LIMITATIONS
OBV is derived from the volume series supplied for the selected symbol and data provider.
Depending on the market, the available series may represent:
- Exchange trade volume
- Exchange-specific crypto volume
- Broker-specific volume
- Tick volume
- Limited volume
- No usable volume
The interpretation and quality of all OBV-based calculations therefore depend on the symbol and feed.
If no usable volume is available, the OBV series may remain flat or the chronology may not provide meaningful events.
The absolute numerical level of cumulative OBV is not directly comparable between unrelated symbols.
Large isolated volume events can affect the cumulative OBV path for an extended period.
Corporate actions, session changes, market gaps, futures contract rolls, and provider-specific data changes can affect price and volume records.
Record events depend on the selected lookback and price source.
Pairing results depend on the selected tolerance.
Lower timeframes can produce more frequent and noisier events.
Higher timeframes generally produce fewer events and require more elapsed time for pending states to complete or expire.
Price-only and OBV-only states do not predict reversal or continuation.
OBV leadership does not guarantee that price will follow.
Price leadership does not guarantee that OBV will confirm.
Synchronized records do not guarantee trend persistence.
Range-position Gap does not represent a trading edge or future probability.
Default parameters are research starting points and are not optimized for any symbol, timeframe, market, or trading method.
This indicator should be used as one descriptive price-volume perspective within a broader analytical process. Indicator

OBV+OBV+
OBV+ tracks On Balance Volume against a moving average of itself and turns
that relationship into a directional state, then gates entries behind a
statistical trend test and manages the trade with a chandelier stop that only
ever moves in your favor.
HOW THE STATE WORKS
The indicator plots OBV with a configurable moving average (EMA, SMA, WMA,
RMA, or HMA). The distance between the two is ranked as a percentile against
its own recent history, so a strong OBV move is defined relative to what this
symbol has actually been doing rather than by a fixed number that means
something different on every chart. When that strength clears your threshold,
the state turns bullish or bearish and stays there until a qualifying move
flips it the other way. A minimum bar spacing keeps the state from
oscillating.
HOW ENTRIES WORK
A state flip on its own does not open a trade. The flip arms an entry window,
and within that window a linear regression on price must independently confirm
that a trend exists in the same direction, measured by the t statistic of the
regression slope. If the trend test agrees, the trade opens. If the window
closes without confirmation, the flip expires and prints a small gray circle
so you can see exactly which signals were passed over. The next entry then
waits for a fresh flip.
Price bars are colored by the gate rather than by raw OBV, so bars show green
or red only where both conditions are satisfied and gray everywhere else. You
can see at a glance which parts of the chart the indicator considers
tradeable.
HOW EXITS WORK
The stop arms immediately on the entry bar, placed beyond that bar's range so
a wide entry candle cannot take you out on the next bar. From there it trails
from the highest high reached since entry (or lowest low when short) at a
configurable ATR multiple, and it is hard clamped so it can only tighten. In a
long it never moves down. It tightens as volatility contracts and holds its
ground when volatility expands. The stop line is drawn directly on price
alongside entry triangles and exit crosses.
The trailing stop is the only exit by default. Opposite states are ignored
while a position is open, so a brief counter signal that does not reach your
stop leaves the trade running. If you would rather have state changes close
and reverse the position, there is a switch for it.
INPUTS
MA type and length, strength lookback and minimum percentile, minimum bars
between flips, regression lookback, minimum absolute t statistic, confirmation
window length, ATR length and chandelier multiple, plus a flip reverses
position toggle. Display options cover the fill, the trail, trade markers, and
bar coloring, with configurable bull, bear, and neutral colors. An optional
pane mode swaps OBV for the signed strength percentile with the threshold
lines drawn, which makes it easy to see which moves clear the bar.
ALERTS
Separate alert conditions for long entry, short entry, and exit, plus a single
combined alert carrying the ticker, timeframe, strength percentile, t
statistic, and current stop level.
NOTES
Because the signal is built from volume, results depend on the volume series
your data feed provides, and the same symbol can behave differently across
exchanges. Signals evaluate on bar close. Settings are deliberately open
ended: a low strength percentile with a short regression lookback produces
frequent, permissive signals, while raising the percentile and the t threshold
narrows it toward fewer and more selective ones. This is for informational purposes
only and isn't meant as financial advice. Indicator

Vector Logic: Macro Regime SwingVector Logic: Macro Regime Swing 🦅
Most standard moving average strategies fail because they cannot tell the difference between a true trending market and a sideways "chop zone" (accumulation/distribution). They constantly fire false 'BUY' and 'SELL' signals while the asset is just moving sideways, leading to a slow bleed of your capital.
The Vector Logic: Macro Regime Swing indicator was built to solve exactly that. Instead of just looking for trends, this script mathematically detects when a stock has fallen asleep, throws up a visual "Trap," and sits safely on the sidelines until a real breakout happens.
⚙️ How the Engine Works
This indicator combines four engines/logics to confirm a trade:
1. The Macro Trap (The Purple Lines) 🟪
The script constantly monitors the last 60 days of price action. If the asset goes just 7 days without making a new 60-day high or low, the indicator declares the stock is "chopping."
• It instantly draws a faint purple ceiling and floor on your chart.
• While the price is trapped inside this purple chop zone, all trades are strictly blocked. You sit safely on the sidelines.
2. The Trend Engine (The Blue & Orange Lines) 🌊
For a trend to be valid, the script requires structural alignment. We use a classic, robust Moving Average crossover:
• Fast Trend: 20-period EMA (Cyan)
• Slow Trend: 50-period EMA (Orange)
• The price must be aggressively crossing the 20 EMA in the direction of the trend to trigger an entry.
3. The Volume Consensus 📊
A breakout without volume is a trap. The script monitors On-Balance-Volume (OBV) in the background. A trade will only fire if institutional volume is actively pushing the price in your direction.
4. The Momentum Exit (The Yellow Dotted Line) 🟡
Getting into a trade is only half the battle; keeping your profits is the other.
Instead of waiting for the price to crash all the way back down to the 20 or 50 EMA, this script uses a rapid 10-period EMA (the dotted yellow line) as a tight trailing stop. The moment a daily candle closes on the wrong side of this yellow line, the script ruthlessly exits the trade to lock in your momentum profits.
⏱️ Adapting for Smaller Timeframes
By default, the VL Macro Regime is tuned for Daily (1D) swing trading. However, the engine is fully dynamic. When you drop down to intraday timeframes (like 1H, 15m, or 5m), keep in mind that "Days" in the settings menu translates directly to "Candles" or "Bars". If you want to trap a true macro-level chop zone on a 15-minute chart, you should increase your Historical Range Lookback (e.g., 100 to 200 bars) to capture the overarching structure of the week. For highly aggressive day trading, you can also tighten the Trend MAs (e.g., 9 and 21) to catch rapid intraday momentum breakouts before the volume fades.
💡 How to Read the Chart
• BUY / SELL Labels: A clean, confirmed breakout. The trend is aligned, volume is backing it up, and the stock has escaped the purple Macro Trap.
• EXIT Circles: The tiny grey circles tell you exactly when the price closed across the yellow 10 EMA trailing stop. Time to take your profits and step away.
• TP Flags: Subtle green flags suggest a standard 5% partial Take-Profit zone.
• The Dashboard HUD: Located in the top right, this panel gives you a real-time pulse check on the current trade status, volatility state, and volume trend.
🛠️ Built-In Failsafes
• Zero Repainting: All signals are strictly hardcoded to the candle close (barstate.isconfirmed). What you see on a closed daily candle is permanently locked in history. No flickering, no vanishing signals.
• Glitch Protection: Automatically untethers and resets itself if it encounters broken historical data or extreme anomalies (like leveraged ETF reverse splits).
Disclaimer: This script is for educational and informational purposes only. It does not constitute financial advice. Always backtest strategies and manage your own risk. Indicator

DeltaBurst Locator ## DeltaBurst Locator
DeltaBurst Locator is a sponsorship detector that divides OBV impulse by price thrust, normalizes the ratio, and cross-checks it against a higher timeframe confirmation stream. The oscillator turns the abstract "is this move real?" question into a precise number, exposing accumulation, distribution, and exhaustion across futures and stocks.
HOW IT WORKS
OBV Impulse vs. Price Change – Smoothed deltas of On-Balance Volume and price are ratioed, then normalized using a hyperbolic tangent function to prevent single prints from dominating.
Signal vs. Confirmation – A short EMA produces the execution signal while a higher-timeframe request.security() feed validates whether broader flows agree.
Spectrum Classification – Expansion/compression metrics grade whether current aggression is intense or fading, while ±0.65 bands define exhaust/vacuum zones.
Slope Divergences – Linear regression slopes on both price and the ratio expose bullish/bearish sponsorship mismatches before candles reverse.
HOW TO USE IT
Breakout Validation : Only chase breakouts when both local and higher-timeframe ratios are on the same side of zero; mixed signals suggest liquidity is fading.
Absorption Trades : When the histogram spikes beyond ±0.65 but the EMA lags, expect absorption; combine with price structure for pinpoint reversals.
News/Event Monitoring : During earnings or macro releases, watch for ratio collapses with price still rising—this flags forced moves driven by hedging rather than real demand.
VISUAL FEATURES
Color logic: Positive sponsorship fills teal, negative fills crimson against the zero line, making intent obvious at a glance.
Optional markers: Burst triangles and divergence dots can be enabled when you need explicit annotations or left off for a minimalist panel.
Compression heatmap: Background shading communicates whether the market is coiling (high compression) or erupting (low compression).
Dashboard: Displays the live ratio, higher-timeframe ratio, and agreement state to speed up scanning across tickers.
PARAMETERS
Fast Pulse Length (default: 5): Controls the smoothing window for price change detection.
Slow Equilibrium Length (default: 34): Window for expansion/compression calculation.
OBV Smooth (default: 8): Smoothing period for OBV impulse calculation.
Ratio Ceiling (default: 3.0): Controls how aggressively values saturate; raise for high-volatility tickers.
Signal EMA (default: 4): EMA period for the signal line.
Confirmation Timeframe (default: 240): Pick a higher anchor (e.g., 4H) to validate intraday moves.
Divergence Window (default: 21): Window for slope-based divergence detection.
Show Burst Markers (default: disabled): Toggle burst triangles on demand.
Show Divergence Markers (default: disabled): Toggle divergence dots on demand.
Show Delta Dashboard (default: enabled): Hide when screen space is limited; leave on for desk broadcasts.
ALERTS
The indicator includes four alert conditions:
DeltaBurst Bull: Spotted a bullish liquidity burst
DeltaBurst Bear: Spotted a bearish liquidity burst
DeltaBurst Bull Div: Detected bullish sponsorship divergence
DeltaBurst Bear Div: Detected bearish sponsorship divergence
Hope you enjoy!
Indicator

T-Virus Sentiment [hapharmonic]🧬 T-Virus Sentiment: Visualize the Market's DNA
Remember the iconic T-Virus vial from the first Resident Evil? That powerful, swirling helix of potential has always fascinated me. It sparked an idea: what if we could visualize the market's underlying health in a similar way? What if we could capture the "genetic code" of market sentiment and contain it within a dynamic, 3D indicator? This project is the result of that idea, brought to life with Pine Script.
The indicator's main goal is to measure the strength and direction of market sentiment by analyzing the "genetic code" of price action through a variety of trusted indicators. The result is displayed as a liquid level within a DNA helix, a bubble density representing buying pressure, and a T-Virus mascot that reflects the overall mood.
🧐 Core Concept: How It Works
The primary output of the indicator is the "Active %" gauge you see on the right side of the vial. This percentage represents the overall sentiment score, calculated as an average from 7 different technical analysis tools. Each tool is analyzed on every bar and assigned a score from 1 (strong bearish pressure) to 5 (strong bullish potential).
In this indicator, we re-imagine market dynamics through the lens of a viral outbreak. A strong bear market is like a virus taking hold, pulling all technical signals down into a state of weakness. Conversely, a powerful bull market is like an antiviral serum ; positive signals rise and spread toward the top of the vial, indicating that the system is being injected with strength.
This is not just another line on a chart. It's a comprehensive sentiment dashboard designed to give an immediate, at-a-glance understanding of the confluence between 7 classic technical indicators. The incredible 3D model of the vial itself was inspired by a design concept found here .
⚛️ The 4 Core Elements of T-Virus Sentiment
These four elements work in harmony to give a complete, multi-faceted picture of market sentiment. Each component tells a different part of the story.
The Virus Mascot: An instant emotional cue. This character provides the quickest possible read on the overall market mood, combining sentiment with volume pressure.
The Antiviral Serum Level: The main quantitative output. This is the liquid level in the DNA helix and the percentage gauge on the right, representing the average sentiment score from all 7 indicators.
Buy Pressure & Bubble Density: This visualizes volume flow. The density of bubbles represents the intensity of accumulation (buying) versus distribution (selling). It's the "power" behind the move.
The Signal Distribution: This shows the confluence (or dispersion) of sentiment. Are all signals bullish and clustered at the top, or are they scattered, indicating a conflicted market? The position of the indicator labels is crucial, as each is assigned to one of five distinct zones:
Base Bottom: The market is at its weakest. Signals here suggest strong bearish control and distribution.
Lower Zone: The market is still bearish, but signals may be showing early signs of accumulation or bottoming.
Neutral Core (Center): A state of balance or sideways consolidation. The market is waiting for a new direction.
Upper Zone: Bullish momentum is becoming clear. Signals are strengthening and showing bullish control.
Top Cap: The market is "heating up" with strong bullish sentiment, potentially nearing overbought conditions.
🐂🐻 The Virus Mascot: The At-a-Glance Indicator
This character acts as a shortcut to confirm market health. It combines the sentiment score with volume, preventing false confidence in a low-volume rally.
Its state is determined by a dual-check: the overall "Antiviral Serum Level" and the "Buy Pressure" must both be above 50%.
Green & Smiling: The 'all clear' signal. This means that not only is the overall technical sentiment bullish, but it's also being supported by real buying pressure. This is a sign of a healthy bull market.
Red & Angry: A warning sign. This appears if either the sentiment is weak, or a bullish sentiment is not being confirmed by buying volume. The latter could indicate a potential "bull trap" or an exhaustive move.
This mascot can be disabled from the settings page under "Virus Mascot Styling" if a cleaner look is preferred.
🫧 Bubble Density: Gauging Buy vs. Sell Pressure
The bubbles visualize the battle between buyers and sellers. There are two modes to control how this is calculated:
Mode 1: Visible Range (The 'Big Picture' View)
This default mode is best for getting a broad, contextual understanding of the current session. It dynamically analyzes the volume of every single candlestick currently visible on the screen to calculate the buy/sell pressure ratio. It answers the question: "Over the entire period I'm looking at, who is in control?" As you zoom in or out, the calculation adapts.
Mode 2: Custom Lookback (The 'Precision' View)
This mode is for traders who need to analyze short-term pressure. You can define a fixed number of recent bars to analyze, which is perfect for scalping or understanding the volume dynamics leading into a key level. It answers the question: "What is happening right now ?" In the example above, a lookback of 2 focuses only on the most recent action, clearly showing intense, immediate selling pressure (few bubbles) and a corresponding drop in the sentiment score to 29%.
ℹ️ Interactive Tooltips: Dive Deeper
We believe in transparency, not 'black box' indicators. This feature transforms the indicator from a visual aid into an active learning tool.
Simply hover the mouse over any indicator label (like EMA, OBV, etc.) to get a detailed tooltip. It will explain the specific data points and thresholds that signal met to be placed in its current zone. This helps build trust in the signals and allows users to fine-tune the indicator settings to better match their own trading style.
🎯 The Scoring Logic Breakdown
The "Antiviral Serum Level" gauge is the average score from 7 technical analysis tools. Each is graded on a 5-point scale (1=Strong Bearish to 5=Strong Bullish). Here’s a detailed, transparent look at how each "gene" is evaluated:
Relative Strength Index (RSI)
Measures momentum and overbought/oversold conditions.
Group 1 (Strong Bearish): RSI > 80 (Extreme Overbought)
Group 2 (Bearish): 70 < RSI ≤ 80 (Overbought)
Group 3 (Neutral): 30 ≤ RSI ≤ 70
Group 4 (Bullish): 20 ≤ RSI < 30 (Oversold)
Group 5 (Strong Bullish): RSI < 20 (Extreme Oversold)
Exponential Moving Averages (EMA)
Evaluates the trend's strength and structure based on the alignment of multiple EMAs (9, 21, 50, 100, 200, 250).
Group 1 (Strong Bearish): A perfect bearish sequence (9 < 21 < 50 < ...)
Group 2 (Bearish Transition): Early signs of a potential reversal (e.g., 9 > 21 but still below 50)
Group 3 (Neutral / Mixed): MAs are intertwined or showing a partial bullish sequence.
Group 4 (Bullish): A strong bullish sequence is forming (e.g., 9 > 21 > 50 > 100)
Group 5 (Strong Bullish): A perfect bullish sequence (9 > 21 > 50 > 100 > 200 > 250)
Moving Average Convergence Divergence (MACD)
Analyzes the relationship between two moving averages to gauge momentum.
Group 1 (Strong Bearish): MACD & Histogram are negative and momentum is falling.
Group 2 (Weakening Bearish): MACD is negative but the histogram is rising or positive.
Group 3 (Neutral / Crossover): A crossover event is occurring near the zero line.
Group 4 (Bullish): MACD & Histogram are positive.
Group 5 (Strong Bullish): MACD & Histogram are positive, rising strongly, and accelerating.
Average Directional Index (ADX)
Measures trend strength, not direction. The score is based on both ADX value and the dominance of DI+ vs DI-.
Group 1 (Bearish / No Trend): ADX < 20 and DI- is dominant.
Group 2 (Developing Bearish Trend): 20 ≤ ADX < 25 and DI- is dominant.
Group 3 (Neutral / Indecision): Trend is weak or DI+ and DI- are nearly equal.
Group 4 (Developing Bullish Trend): 25 ≤ ADX ≤ 40 and DI+ is dominant.
Group 5 (Strong Bullish Trend): ADX > 40 and DI+ is dominant.
Ichimoku Cloud (IKH)
A comprehensive indicator that defines support/resistance, momentum, and trend direction.
Group 1 (Strong Bearish): Price is below the Kumo, Tenkan < Kijun, and Chikou is below price.
Group 2 (Bearish): Price is inside or below the Kumo, with mixed secondary signals.
Group 3 (Neutral / Ranging): Price is inside the Kumo, often with a Tenkan/Kijun cross.
Group 4 (Bullish): Price is above the Kumo with strong primary signals.
Group 5 (Strong Bullish): All signals are aligned bullishly: price above Kumo, bullish Tenkan/Kijun cross, bullish future Kumo, and Chikou above price.
Bollinger Bands (BB)
Measures volatility and relative price levels.
Group 1 (Strong Bearish): Price is below the lower band.
Group 2 (Bearish Territory): Price is between the lower band and the basis line.
Group 3 (Neutral): Price is hovering around the basis line.
Group 4 (Bullish Territory): Price is between the basis line and the upper band.
Group 5 (Strong Bullish): Price is above the upper band.
On-Balance Volume (OBV)
Uses volume flow to predict price changes. The score is based on OBV's trend and its position relative to its moving average.
Group 1 (Strong Bearish): OBV is below its MA and falling.
Group 2 (Weakening Bearish): OBV is below its MA but showing signs of rising.
Group 3 (Neutral): OBV is very close to its MA.
Group 4 (Bullish): OBV is above its MA and rising.
Group 5 (Strong Bullish): OBV is above its MA, rising strongly, and showing signs of a volume spike.
🧭 How to Use the T-Virus Sentiment Indicator
IMPORTANT: This indicator is a sentiment dashboard , not a direct buy/sell signal generator. Its strength lies in showing confluence and providing a quick, holistic view of the market's technical health.
Confirmation Tool: Use the "Active %" gauge to confirm a trade setup from your primary strategy. For example, if you see a bullish chart pattern, a high and rising sentiment score can add confidence to your trade.
Momentum & Trend Gauge: A consistently high score (e.g., > 75%) suggests strong, established bullish momentum. A consistently low score (< 25%) suggests strong bearish control. A score hovering around 50% often indicates a ranging or indecisive market.
Divergence & Warning System: Pay attention to divergences. If the price is making new highs but the sentiment score is failing to follow or is actively decreasing, it could be an early warning sign that the underlying momentum is weakening.
⚙️ Settings & Customization
The indicator is highly customizable to fit any trading style.
Position & Anchor: Control where the vial appears on the chart.
Styling (Vial, Helix, etc.): Nearly every visual element can be color-customized.
Signals: This is where the real power is. All underlying indicator parameters (RSI length, MACD settings, etc.) can be fine-tuned to match a personal strategy. The text labels can also be disabled if the chart feels cluttered.
Enjoy visualizing the market's DNA with the T-Virus Sentiment indicator Indicator

OBV Divergence Indicator [TradingFinder] On-Balance Vol Reversal🔵 Introduction
The On-Balance Volume (OBV) indicator, introduced by Joe Granville in 1963, is a powerful technical analysis tool used to measure buying and selling pressure based on trading volume and price.
By aggregating trading volume—adding it on positive days and subtracting it on negative days—OBV creates a cumulative line that reflects market volume pressure, making it valuable for confirming trends, identifying entry and exit points, and forecasting potential price movements.
Divergences between price and OBV often provide significant signals. A bearish divergence occurs when the price forms higher highs while the OBV line forms lower highs. This discrepancy indicates that upward momentum is weakening, increasing the likelihood of a downward trend.
In contrast, a bullish divergence happens when the price makes lower lows, but the OBV line forms higher lows. This suggests increasing buying pressure and the potential for an upward trend reversal.
For instance, if the price is rising but the OBV trendline is falling, it may signal a bearish divergence, warning of a possible price decline. Conversely, if the price is falling while the OBV line is rising, this could signal a bullish divergence, indicating a possible price recovery. These signals are particularly useful for identifying market turning points.
OBV often acts as a leading indicator, moving ahead of price changes. For example, a rising OBV alongside stable or declining prices can signal an impending upward breakout.
Conversely, a declining OBV with rising prices may indicate that the current uptrend is losing strength. Traders using this strategy often consider entering positions at breakout levels while setting stop losses near recent swing highs or lows to manage risk effectively.
This integration highlights how OBV divergences can provide actionable insights for predicting price movements and managing trades efficiently.
Bullish Divergence :
Bearish Divergence :
🔵 How to Use
The OBV indicator, as a cumulative tool, assists analysts in comparing volume and price changes to identify new trends and key levels for entering or exiting trades. Beyond confirming existing trends, it is particularly effective in analyzing positive and negative divergences between price and volume, providing valuable signals for trading decisions.
🟣 Bullish Divergence
A bullish divergence occurs when the price continues its downward or stable trend, but the OBV line starts rising, forming a higher low compared to its previous low. This suggests increasing volume on up days relative to down days and often signals a reversal to the upside.
For instance, if an asset's price stabilizes near a support level but the OBV line shows an upward trend, this divergence could present an opportunity to enter a long position.
🟣 Bearish Divergence
A bearish divergence occurs when the price forms higher highs, but the OBV line declines, creating lower highs compared to previous peaks. This indicates decreasing volume on up days relative to down days and often acts as a warning for a reversal to the downside.
For example, if an asset’s price approaches a resistance level while OBV starts declining, this divergence may signal the beginning of a downtrend and could indicate a good time to exit long trades or enter short positions.
🔵 Setting
Period : The "Period" setting allows you to define the number of bars or intervals for "Periodic" and "EMA" modes. A shorter period captures more short-term movements, while a longer period smooths out the fluctuations and provides a broader view of market trends.
You can enable or disable labels to highlight key levels or divergences and tables to show numerical details like values and divergence types. These options allow for a customized chart display.
🔵 Table
The following table breaks down the main features of the oscillator. It covers four critical categories: Exist, Consecutive, Divergence Quality, and Change Phase Indicator.
Exist : If divergence is detected, a "+" will appear in this row.
Consecutive: Shows the number of consecutive divergences that have formed in a short period.
Divergence Quality : Evaluates the quality of the divergence based on the number of occurrences. One is labeled "Normal," two are "Good," and three or more are considered "Strong."
Change Phase Indicator : If a phase change is detected between two oscillation peaks, this is marked in the table.
🔵 Conclusion
The OBV (On Balance Volume) indicator is a simple yet effective tool in technical analysis that combines volume and price changes to provide a comprehensive view of market buying and selling pressure. By identifying positive and negative divergences, OBV enables analysts to detect early signs of trend reversals and refine their trading strategies.
Divergences in OBV often precede price changes, making it a leading indicator for predicting market movements. Using OBV alongside other technical tools can enhance decision-making accuracy and help traders identify better entry and exit points. However, it is essential to consider the limitations of OBV, such as the potential for signal errors and the impact of sudden news events.
Ultimately, OBV serves as a complementary tool in technical analysis, aiding in trend identification, signal confirmation, and risk management. A thoughtful application of this indicator, in combination with other analytical tools, can create valuable opportunities for profiting in financial markets.
Indicator

Indicator

On Balance Volume Heikin-Ashi Transformed
The OBV Heikin Ashi indicator is a modified version of the On-Balance Volume indicator that incorporates the Heikin Ashi transformation. This technical tool aims to provide traders with a smoother representation of volume dynamics and price trends.
The OBV Heikin Ashi indicator combines the principles of OBV and Heikin Ashi to offer insights into the volume and price behavior of an asset. Understanding OBV and Heikin Ashi individually will provide a foundation for comprehending the uniqueness and utility of this indicator.
On-Balance Volume:
OBV is a volume-based indicator that measures the cumulative buying and selling pressure in the market. It considers the relationship between volume and price movements to determine the overall strength and direction of a trend. Rising OBV values suggest bullish buying pressure, while falling values indicate bearish selling pressure.
Heikin Ashi:
Heikin Ashi is a Japanese candlestick charting technique that aims to filter out noise and provide a smoother representation of price trends. It calculates each candlestick based on the average of the previous candle's open, close, high, and low prices. Heikin Ashi candles can reveal the underlying trend more clearly by reducing market noise.
Methodology:
The 𝘖𝘉𝘝 𝘏-𝘈 indicator applies the Heikin Ashi transformation to the OBV values. Each OBV value is replaced with a Heikin Ashi equivalent, which is calculated based on the average of the previous Heikin Ashi candle's open and close prices. This transformation smooths out the OBV values and helps identify the overall trend with reduced noise. Additionaly, 2 optional EMAs are included for convergence-divergence analysis.
By applying the Heikin Ashi transformation to OBV, the indicator aims to enhance the readability of volume and trend information, providing traders with a clearer understanding of market dynamics.
Utility:
The 𝘖𝘉𝘝 𝘏-𝘈 indicator can be a valuable tool for traders and investors in analyzing volume and price trends. It offers a smoother representation of OBV values, allowing for easier identification of trend reversals, bullish or bearish market conditions, and potential trading opportunities. Traders can utilize the indicator to confirm price trends, validate support and resistance levels, and enhance their overall trading strategies.
It is worth noting that the effectiveness of the indicator may vary depending on the specific market and trading strategy. It is recommended to combine its analysis with other technical indicators and perform thorough backtesting before making trading decisions.
Key Features:
2 Adjustable EMAs
Normalized Oscillator Mode
Example Charts:
See Also:
Z-Score Heikin-Ashi Transformed
Indicator

On Balance Volume Scaled - OBV ScaledThe main idea of this oscillator is to place the OBV oscillator and its oscillation around the range of 0 and around -50 to +50 and for this scaling of the "On Balance Volume" oscillator, I have used Min-max normalization.
Since this oscillator does not have a specific minimum and maximum, just setting the maximum and minimum does not seem the best thing to do. As in this case, we will constantly observe sudden changes and we will have problems such as volatility. On the one hand, we will constantly deal with sudden changes and problems such as volatility. Also on the other hand, the continuous collisions of the high/low(+50 & -50) and index and returning from that is another thing that we are going to deal with.
Therefore, to solve these problems and create more flexible maximum and minimum ranges, another similar method has been used. Choosing the maximum of our normalization to the size of the moving average of 100 candles of the index maximum and choosing the minimum of normalization to the size of the moving average of 100 candles of the minimums of the OBV index, and then normalizing the OBV index with the Min-max method with those ranges, is the recommended method ,which has been used to eliminate problems. In this case, we will not have any problem hitting 50 and returning or hitting -50 and returning. Also, our scaled OBV index will have the ability to touch and cross 50 and -50 and can fluctuate without problems. Indicator

OBV Trend Indicator by Bruno MoscanOBV Trend is a modification I made in other scripts, so that after months of testing, I got a very accurate indicator as to the right moment to enter a high-yield trade.
The red line indicates the very short-term OBV variation, counting the last 3 candles.
The yellow line shows the short-term OBV variation, counting the last 9 candles.
The white line shows the medium-term OBV variation, counting the last 21 candles.
The trend is up (Bull Market) while the order of the lines on the chart is Red/Yellow/White.
The trend is Bear Market while the order of the lines on the chart is White/Yellow/Red.
If the Yellow line is in the first position, either from bottom to top, or from top to bottom, it is a sign that the trend is changing, reversing, wait for the lines to organize before entering the movement.
When the lines are so close together that it is difficult to understand the correct order of the lines, it means that you are facing the best possible entry point. Wait for the lines to separate, at the first perfect food signal as described above, enter the movement, at this point, your stoploss may be very short, positioned at the base of the last candlestick.
The indicator works best on H1, H2, H4 and D1. In the Weekly until the signal reversal occurs, you can lose several days, sometimes weeks. On minute charts, there are many reversals and you can be stopped many times.
Good trends.
*Translate by Google Tradutor*
*In Brazil, we speack Portuguese, not Spanish or English :p * Indicator

Indicator

Indicator

Indicator

On-Balance Volume Oscillator with Divergence and PivotsThis is On-Balance Volume recalculated to be an Oscillator, a Divergence hunter was added, also Pivot Points and Alerts.
On-Balance Volume, or OBV is considered a "leading indicator" - in contrast to a "lagging indicator" just as Moving Averages it does not show a confirmation what already happened, but it shows what can happen in the future. For example: The chart is climbing while the OBV oscillator is slowly declining, gets weaker and weaker, maybe even prints bearish divergences? That means that a reversal might be occurring soon. Leading indicators are best paired with Stop and Resistance Lines, general Trendlines, Fib Retracements etc...Your chart is approaching a very important Resistance Trendline but the OBV shows a very positive signal? That means there is a high probability that the Resistance is going to be pushed though and becomes Support in the future.
What are those circles?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those triangles?
- These are Pivots. They show when the OBV oscillator might reverse, this is important to know because many times the price action follows this move.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Strategy

Indicator

Indicator

Indicator
