CVD Divergence
CVD Divergence highlights when price and Cumulative Volume Delta (CVD) disagree — a classic early warning that order-flow pressure is fading and a potential turning point may be forming.
How it works
The script builds a continuous CVD line by requesting lower-timeframe candles with request.security_lower_tf and summing their delta (up-volume minus down-volume) on every bar, without resetting per session. It then detects swing highs and lows (pivots) on the CVD line and compares each pivot to the previous one against the matching price pivot.
What it detects
- Regular Bullish — price makes a lower low while CVD makes a higher low (selling pressure fading).
- Regular Bearish — price makes a higher high while CVD makes a lower high (buying pressure fading).
- Hidden Bullish / Hidden Bearish — trend-continuation variants, off by default.
Each confirmed divergence is drawn as a line connecting the two CVD pivots, with a label (Bull / Bear / H Bull / H Bear). Four alert conditions are included so you can be notified automatically.
Settings
- Lower timeframe — resolution used to estimate delta (default 1 min).
- Pivot left / right length — swing sensitivity. Smaller values = more signals; larger = fewer but stronger.
- Min / Max pivot distance — allowed spacing between the two pivots being compared.
- Show Regular / Show Hidden — toggle each divergence family.
How to use
Treat divergences as context, not a standalone entry. They work best near support/resistance, prior highs/lows, or other confluence. Signals confirm only after the pivot's right-side bars complete, so they appear with an inherent delay and the latest swing may not be confirmed yet.
Notes & limitations
Standard chart data contains no true bid/ask tick information, so delta is approximated from lower-timeframe candle direction. Results are most reliable on liquid instruments with genuine volume (futures, crypto, major equities) and on intraday timeframes — on high timeframes the available lower-timeframe history is limited. For analysis and educational purposes only; not financial advice. Indicator

Indicator

Indicator

Indicator

Indicator

TRADER9999 OBOS MA Style + BB Reversal# MACD Support & Resistance Overlay
MACD Support & Resistance Overlay combines MACD crossover signals with automatically generated Support and Resistance levels directly on the price chart.
The indicator identifies bullish and bearish MACD crossovers, then locates nearby swing highs and swing lows to create dynamic Support and Resistance levels that adapt to current market conditions.
## Features
• Automatic Support levels generated from bullish MACD crossovers.
• Automatic Resistance levels generated from bearish MACD crossunders.
• Broken levels are automatically removed to keep the chart clean and relevant.
• Buy and Sell diamond signals displayed directly on the price chart.
• Real-time price labels for active Support and Resistance levels.
• Works on all timeframes.
• Especially useful for scalping, intraday trading, and swing trading.
## How It Works
### Buy Signal
A bullish MACD crossover creates a new Support level and plots a Buy signal on the chart.
### Sell Signal
A bearish MACD crossunder creates a new Resistance level and plots a Sell signal on the chart.
### Support Levels
Support levels remain active until price breaks below them.
### Resistance Levels
Resistance levels remain active until price breaks above them.
## Trading Ideas
• Use Support and Resistance levels as potential entry, exit, or target areas.
• Combine signals with price action confirmation for higher probability setups.
• Stronger levels are often formed when price reacts multiple times without breaking.
• Can be used together with Bollinger Bands, Moving Averages, Supply & Demand Zones, or market structure analysis.
## Best Timeframes
Recommended for:
* M1
* M5
* M15
* H1
Particularly effective for fast-moving instruments such as Gold (XAUUSD), major Forex pairs, and index CFDs.
## Disclaimer
This indicator is designed as a technical analysis tool and should not be considered financial advice. Always apply proper risk management and perform your own analysis before entering any trade.
Indicator

Attique Golden Pocket IndicatorWhat this indicator does
Swing Fib draws a swing-based Fibonacci retracement grid on the price chart after the script decides there is a completed impulse leg between two anchored pivots. It is not a manual Fib tool: the anchors, direction (bull vs bear leg), and whether anything is drawn are all rule-based from pivot logic and a volatility filter.
The overlay includes:
A dashed blue line between the two swing anchors (the impulse leg).
Horizontal levels for a fixed set of retracement ratios (see below).
Optional Golden Pocket (GP) zone: two gold boundary lines (defaults 61.8% and 78.6% between the same anchors) and optional shading between them.
Optional retention of the previous fib when a new valid leg appears (prior leg is dimmed rather than deleted immediately).
How the anchors and “impulse” are defined
Pivots
The script uses TradingView’s standard pivothigh / pivotlow with configurable left and right bar counts:
Chart timeframe = Fib pivot timeframe (see next section): pivots use liqLeft / liqRight on the chart series.
Fib pivot timeframe higher than chart: pivots are read from the higher timeframe via request.security using fibPivotL / fibPivotR.
A pivot is only confirmed after right bars have printed to the right of the swing. Until then, the pivot can change or disappear on history as new bars form. That is normal pivot behavior, not a bug.
Bull vs bear leg (which fib you get)
Bullish fib leg: the script uses the most recently confirmed swing high and swing low such that the high pivot occurs after the low pivot in time, and high price > low price. Conceptually this is a push up from the swing low toward the swing high; retracements are measured back down from the high toward the low.
Bearish fib leg: the low pivot occurs after the high pivot, still with high price > low price (the swing high is the structural high of the leg). Conceptually a push down from the swing high toward the swing low; retracements are measured back up from the low toward the high.
ATR minimum range filter
Even if pivot structure qualifies, the fib does not draw unless the impulse range (high minus low of the anchored leg) is at least:
fibMinRangeAtrCh × ATR(atrLen)
This suppresses tiny, noisy swings. If the chart looks “empty,” lower fibMinRangeAtrCh slightly; if it is too busy, raise it.
How Fib prices are computed (important for reading the levels)
For both directions the math is anchored as:
0% = impulse high price, 100% = impulse low price
So the same formula maps ratios into the range between the two swing prices, with 0% at the top of the leg and 100% at the bottom. The BULLISH FIB vs BEARISH FIB title tells you which time ordering of pivots was used; the numeric labels still refer to that high → low retracement scale.
Standard levels drawn (labels match these ratios)
Between the anchored high and low, the script plots (from the high toward the low):
0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 88.6%, then extension-style ratios −61.8%, −27.2%, −12.7%, and 100%.
You will also see two gold “GP” lines at the Golden Pocket inputs (defaults 61.8% and 78.6%). Because those defaults overlap the standard grid, you may see two lines near the same prices (one from the standard set, one from GP styling). That is intentional: GP is visually emphasized.
Chart timeframe vs higher-timeframe Fib
The script compares the chart period to fibAnchorTf using seconds, not fragile string matching.
Match (same duration as chart): anchors use xloc.bar_index (bar indices). The fib aligns exactly with how you see swings on that timeframe.
Higher fibAnchorTf than chart: anchors use higher-timeframe pivot prices and the pivot bar’s time on that HTF, and drawings use xloc.bar_time so the grid lines up in time on your lower chart.
Practical rule: If you want the fib to match what you see on the current chart swings, set fibAnchorTf = your chart timeframe. If you want a structure map from a slower TF (for example 15m or 1h swings on a 1m or 2m chart), set fibAnchorTf higher and accept that the leg definition is HTF pivot-based, not the same as every small chart swing.
Visual and UX options
Extend levels right: horizontal lines extend to the right by fibExtendBarsCh bars (and update as bar_index advances).
Level labels: optional text for each ratio; position Right, Left, or Middle along the span.
Prior fib: optional freeze + dim of the last fib when a new valid leg forms, useful for comparing previous vs current swing context.
Indicator

MARKET OS [Viprasol]MARKET OS — Cost-Aware Regime & Signal Engine
═══════════════════════════════════════════════════════════
THE IDEA IN ONE LINE
═══════════════════════════════════════════════════════════
Most indicators read one thing — trend, volume, or structure — and leave you
to guess the rest. MARKET OS reads the market across four independent
dimensions at once, fuses them into a single 0-100 Market Score, and grades
every signal A/B/C — including something no other signal engine on
TradingView shows: the estimated ROUND-TRIP TRADING COST of taking that
signal, stamped right on the label.
═══════════════════════════════════════════════════════════
THE FOUR DIMENSIONS
═══════════════════════════════════════════════════════════
1. DIRECTION — adaptive trend + market structure
A Kaufman Adaptive Moving Average (KAMA) baseline that hugs price in
trends and slows down in chop, combined with swing structure tracking
(BOS continuation counts and CHoCH reversals with a configurable
confirmation requirement). Direction scores highest when adaptive trend
and structure AGREE.
2. QUALITY — efficiency regime
The Kaufman Efficiency Ratio (0 = pure chop, 1 = perfect one-way move)
classifies the environment as TRENDING / TRANSITION / CHOPPY. A breakout
in a trending regime and the same breakout in chop are not the same trade
— this dimension prices that difference into the score.
3. PARTICIPATION — effort vs result (Wyckoff)
Relative volume (EFFORT) is compared against ATR-normalized price movement
(RESULT) on every bar:
• High effort + high result = CONVICTION (real participation)
• High effort + low result = ABSORPTION (volume swallowed — warning
crosses on the chart; a classic exhaustion footprint)
• Low effort + high result = THIN MOVE (prone to fade)
4. COST — EDGE effective spread (the genuinely new part)
The engine embeds the EDGE estimator from Ardia, Guidotti & Kroencke,
"Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close
Prices", Journal of Financial Economics 161 (2024) — an asymptotically
unbiased estimator of the effective bid-ask spread computed from nothing
but OHLC bars. The current spread is ranked against the symbol's own
history, so the engine knows when this market is CHEAP or EXPENSIVE to
trade. To my knowledge this is the first TradingView signal engine that
measures its own trading cost.
═══════════════════════════════════════════════════════════
THE FUSION: MARKET SCORE & STATE
═══════════════════════════════════════════════════════════
The four dimensions are combined into a weighted composite score
(Direction 30%, Quality 30%, Participation 25%, Cost 15%):
75-100 ◆ PRIME — everything aligned, cheap to trade
55-74 ◆ FAVORABLE — good conditions
35-54 ◆ MIXED — partial alignment
0-34 ◆ HOSTILE — choppy / absorbed / expensive (background shaded)
Candles are colored on a continuous gradient from neutral gray to full trend
color as the score rises — you can see environment quality at a glance,
without reading a single number.
═══════════════════════════════════════════════════════════
SIGNALS — GRADED AND COST-STAMPED
═══════════════════════════════════════════════════════════
Entries are structure reversals (CHoCH) confirmed by the adaptive trend,
gated by a minimum score, and stamped with:
▲ LONG
Score 82
Cost 4.2t / Tgt 38t (11.1%)
That last line is the engine's cost-awareness: estimated round-trip spread
cost in ticks, your ATR-based target in ticks, and the percentage of your
target the spread will consume. If the cost eats 25%+ of the target, an
alert can tell you the trade is structurally overpriced — BEFORE you take it.
C-grade signals (reversal fired, but the environment scored poorly) are
hidden by default. They look like signals and trade like donations.
═══════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════
1. Pick a Preset: Fast (1-15m), Default (15m-1H), Smooth (1H+).
2. Trade A-grade signals in PRIME/FAVORABLE states, in the signal direction.
3. Treat ABSORPTION crosses as early reversal warnings.
4. Check the Round-Trip Cost row before entering — if the spread eats a
large slice of your target, size down, widen the target, or skip.
5. Use HOSTILE shading as a stand-aside filter.
6. Raise "Minimum Score to Signal" for fewer, cleaner entries.
═══════════════════════════════════════════════════════════
SETTINGS
═══════════════════════════════════════════════════════════
Engine — preset, KAMA length, structure pivot width.
Quality — ER smoothing and trending/choppy thresholds.
Participation — effort and result thresholds.
Cost — EDGE window, cost-regime lookback, target size in ATR multiples.
Signals — minimum score, C-grade visibility, BOS-before-flip, cooldown.
Visuals — colors, adaptive cloud, structure levels, gradient candles,
hostile shading, absorption markers.
Dashboard — position and size.
Alerts (8): Long, Short, A-Grade Signal, Prime State, Hostile State,
Absorption, High Cost Regime, Cost Eats Edge (≥25% of target).
═══════════════════════════════════════════════════════════
HONEST LIMITATIONS
═══════════════════════════════════════════════════════════
• The EDGE estimator is asymptotic — short windows are noisy, and on very
illiquid symbols or synthetic OHLC feeds (some forex/CFD data) the cost
dimension degrades; the engine then treats cost as neutral rather than
fabricating a number.
• Volume-based participation requires reliable volume data.
• Structure detection depends on pivot settings and timeframe.
• The score weights encode a judgment (direction and quality matter most);
they are not optimized parameters and you should not treat the score as a
probability.
• This is an analytical decision-support tool, not a trading system. Past
performance does not guarantee future results. Not financial advice.
═══════════════════════════════════════════════════════════
CREDITS & ORIGINALITY
═══════════════════════════════════════════════════════════
The EDGE estimator methodology belongs to David Ardia, Emanuele Guidotti and
Tim A. Kroencke (Journal of Financial Economics 161, 2024, 103916,
doi 10.1016/j.jfineco.2024.103916). KAMA and the Efficiency Ratio are Perry
Kaufman's public concepts; Effort-vs-Result is a Wyckoff principle. All code
in this script — the Pine implementation of EDGE from the published formulas,
the four-dimension fusion model, the composite scoring and state machine, the
cost-stamped signal engine, and all visualization — is original Viprasol work
written from scratch for this indicator. No third-party Pine code is reused.
Indicator

Indicator

Indicator

Indicator

Indicator

Smart Market Dashboard PRO Gap Trader EditionA comprehensive intraday dashboard designed specifically for Borsa Istanbul (BIST) equity traders. This indicator focuses on opening gap analysis, combining volume, delta, and price action to help traders make informed decisions at market open.
Key Features:
Gap Detection & Classification – Automatically identifies and labels opening gaps (Full Gap Up/Down, Partial Gap Up/Down) with configurable minimum gap % threshold
Volume & Delta Analysis – Displays real-time cumulative delta, buy/sell volume ratio, and VWAP deviation
Multi-Timeframe Data – Fetches previous day’s OHLCV data to calculate gap reference levels accurately
Visual Dashboard – A clean on-chart table showing key metrics: gap size, volume trend, delta direction, and gap fill probability
Smart Alerts – Configurable alerts for gap setups, gap fill events, and volume anomalies
How It Works:
Gap levels are calculated using End-of-Day (previous session close) as the reference price
All calculations are based on confirmed bar data (barmerge.lookahead_off) to prevent repainting on historical bars
Recommended Usage:
Timeframe: 1–15 minute charts
Market: BIST stocks (optimized for Turkish market open at 10:00 AM)
Works best during the first 30–60 minutes of the trading session
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Always manage your risk accordingly.
Note: As with all intraday indicators, values may update within the current live bar until it closes Indicator

Delta Volume Profile ProDelta Volume Profile Pro is a volume profile indicator built upon the quadrant structure originally introduced by BigBeluga in the Quadro Volume Profile script. Full credit for the original concept and core logic goes to BigBeluga.
🔍 What it does
This indicator divides the visible price range into four quadrants relative to the current price and distributes volume across price bins, revealing where the most significant buying and selling activity has occurred above and below the market.
Each quadrant displays:
Upper Sell Quad — sell volume concentrated above the current price
Upper Buy Quad — buy volume concentrated above the current price
Lower Buy Quad — buy volume concentrated below the current price
Lower Sell Quad — sell volume concentrated below the current price
A Point of Control (PoC) dashed line marks the price bin with the highest volume in each quadrant.
Four percentage labels at the current price level show how total volume is distributed across all quadrants, allowing traders to quickly assess the balance between buying and selling pressure on both sides of the market.
⚙️ Original additions over BigBeluga's base
1. Proxy Volume Engine — works on any broker
Many brokers and CFD platforms do not provide usable native volume data. This indicator includes an internal map of 80+ symbols to their most liquid equivalents:
Forex pairs → (tick volume, CFD-compatible scale)
Metals (Gold, Silver, Platinum)
Crypto (BTC, ETH, etc.)
Oil, Gas →
Indices & Futures
The proxy is fetched automatically via request.security. You do not need to change any settings when switching between brokers — the indicator detects the symbol and loads the appropriate volume source.
2. Proxy-First Priority
Unlike a simple fallback system, this indicator uses the proxy as the primary volume source for all mapped symbols. This guarantees consistent, real volume data regardless of the broker you are charting on — whether EasyMarkets, FXCM, or any CFD provider. The native volume is only used if the proxy fails or if you explicitly enable "Force Native Volume" in settings.
3. Daily Session Mode
When enabled, the profile anchors to the start of the current daily session and resets automatically at each new day — useful for intraday traders who want to see only today's volume distribution.
4. Daily VWAP Anchor
An optional Volume Weighted Average Price line anchored to the daily session open, calculated using the same proxy volume logic as the profile for accuracy across all brokers.
📐 How to read the indicator
Profile bars (left and right of the vertical axis):
Left side bars = dominant directional volume per price bin
Right side bars = opposing volume per price bin
Deeper color = higher volume concentration at that price level
Longer bars = more activity at that price — key support/resistance zones
The four labels at current price:
SELL% | BUY%
SELL | BUY
──────────────────── ← current price
BUY% | BUY%
BUY | SELL
Upper left (SELL%) — percentage of total volume that was selling above current price
Upper right (BUY%) — percentage of total volume that was buying above current price
Lower left (BUY%) — percentage of total volume that was buying below current price
Lower right (SELL%) — percentage of total volume that was selling below current price
Point of Control (PoC) — dashed line:
Marks the single price level with the highest volume in each quadrant
Strong reference for support and resistance
📊 How to interpret the percentages
Example from chart — USDCAD 15M:
Upper: SELL 2.90% | BUY 3.75%
Lower: BUY 51.79% | SELL 41.57%
Reading:
51.79% of all volume below price was buying → strong buy accumulation below
41.57% of all volume below price was selling → significant sell pressure also present
Only 2.90% + 3.75% above price → very little activity above current price
Interpretation: price is near the top of the range with most activity below
General rules:
Large BUY% below + small SELL% above → bullish bias, buyers in control
Large SELL% above + small BUY% below → bearish bias, sellers in control
Balanced percentages on both sides → price in equilibrium, expect breakout
PoC line in lower quad with high BUY volume → strong support level
PoC line in upper quad with high SELL volume → strong resistance level
⚠️ Important notes
This indicator is a visual analysis tool. It does not generate buy or sell signals.
Past volume distribution does not guarantee future price behavior.
The proxy volume reflects tick volume from the mapped exchange, not actual traded notional value.
On weekends or when markets are closed, volume may be incomplete, affecting the profile.
⚙️ Settings reference
ParameterDefaultDescriptionUse Daily Session ModeOFFON: resets profile each day. OFF: fixed lookbackLookback Period200Bars used when Session Mode is OFFForce Native VolumeOFFON: uses chart's native volume instead of proxyPrice Bins60Number of horizontal price levelsProfile Offset60Distance from last bar (in bars)Upper/Lower QuadsONShow/hide each profile sectionPoCON/OFFShow/hide Point of Control per quadrantShow Daily VWAPONPlots the session VWAP lineBuy ColorGreenProfile buy side colorSell ColorRedProfile sell side colorVWAP ColorWhiteVWAP line color
🙏 Credits
Original quadrant volume profile concept and core structure:
BigBeluga — Quadro Volume Profile
www.tradingview.com
Released under Mozilla Public License 2.0
mozilla.org Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

EMA/SMA + Inside Bar + Liquidity Tag BY RAVIEMA/SMA + Inside Bar + Liquidity Tag
An all-in-one overlay that combines three tools traders usually run separately: a flexible moving-average suite, automatic inside-bar detection, and a live liquidity (traded-value) tag on the latest candle. Built for Pine Script v6.
What it does
1. Moving Averages (5, 10, 20, 50, 100, 200)
Six independent moving-average lines. Each line can be set to EMA or SMA on its own, so you can mix freely (for example, a 20 EMA alongside a 50 and 200 SMA). Every line has its own on/off toggle, colour, and width control (1 = thinnest, 4 = thickest). A single Source input controls which price all the lines are calculated from.
2. Inside Bar Highlighter
Automatically detects inside bars — candles whose entire range sits within the previous candle's range — and recolours the whole candle so they are easy to spot. The highlight colour is fully customizable. A Strict/Inclusive switch lets you choose between a true inside bar (current high below the previous high and current low above the previous low) or an inclusive version that also counts candles touching the previous high or low.
3. Liquidity Tag
Places a label above (or below) the most recent candle showing the stock's liquidity, formatted in crores by default (e.g. "405.98 Cr"). Three calculation methods are available:
20-Day Avg Liquidity (default): A 20-day volume-weighted average price multiplied by the 20-day average daily volume, which equals the average daily traded value. This is the most representative single gauge of how liquid a stock is, and because it is computed on daily data it reads the same on every chart timeframe.
Turnover (accurate): The current session's running sum of price × volume, built from 1-minute data so it tracks the broker's intraday turnover closely and stays consistent across timeframes.
Price × Day Volume (simple): Current price multiplied by the day's total volume — quick but drifts from true turnover as price moves.
The tag updates live on the latest candle, and its vertical position can be nudged above or below the candle using an ATR-based offset (positive places it above, negative below).
Inputs at a glance
Moving Averages: Source · per-line enable / EMA-SMA / colour / width
Inside Bar: enable highlight · highlight colour · strict vs inclusive
Liquidity Tag: enable · calculation method · averaging period (days) · value divisor (1 crore by default; set to 1 for raw value) · suffix · decimals · vertical offset · tag and text colour
Notes
The liquidity figure depends on the symbol having volume data. Cash equities have it; some indices and continuous-futures feeds do not, where the value may read 0.
Traded value is an estimate. TradingView provides one price per bar rather than every individual tick, so the turnover and 20-day methods are close approximations of exchange turnover rather than penny-perfect figures.
The crore (Cr) formatting suits Indian markets; change the divisor and suffix for other conventions.
This script is for chart analysis and educational use, not financial advice. Always validate signals with Indicator

Smart Market Structure ProDescription:
This indicator automatically detects and marks significant swing highs and swing lows using pivot-based market structure analysis.
Features:
Identifies Swing Highs and Swing Lows.
Labels market structure as:
HH (Higher High)
HL (Higher Low)
LH (Lower High)
LL (Lower Low)
Draws structure lines connecting consecutive highs and lows.
Helps traders visualize trend direction and market structure.
Suitable for Forex, Gold, Indices, Stocks, and Cryptocurrencies.
Works on all timeframes, including 1-minute charts.
How to Use:
A sequence of HH and HL indicates an uptrend.
A sequence of LH and LL indicates a downtrend.
Use market structure breaks as potential trend reversal signals.
Combine with support/resistance, moving averages, or supply and demand zones for better trade confirmation.
Recommended Settings:
Aggressive: Left Bars = 3, Right Bars = 3
Balanced: Left Bars = 5, Right Bars = 5
Conservative: Left Bars = 8, Right Bars = 8
Disclaimer:
This indicator is for educational and analytical purposes only and should not be considered financial advice. Always use proper risk management when trading. Indicator

Indicator
