VolCandle_Start_End BarsThe “VolCandle_Start_End Bars” Pine Script is a custom TradingView indicator designed to calculate and display volume-based candle statistics between two user-defined time points. It visually summarizes trading activity across a specific date range by comparing up-candle and down-candle volumes.
Functionality
The script allows users to select a start and end bar (dates) using the input fields “Select starting Bar” and “Select ending Bar.” It then examines all candles within this range to calculate:
Total volume for up candles (candles where the close is higher than the previous candle).
Total volume for down candles (candles where the close is lower than the previous candle).
Difference and ratio between up and down volumes.
Count of up and down candles within the period.
Calculation Logic
A loop checks each bar's closing price and compares it with the previous one.
For every matching bar within the chosen time range:
If the close increases → its volume is added to up volume.
If the close decreases → its volume is added to down volume.
The process continues for up to 1000 historical bars, counting each bar type and accumulating total volumes.
Display and Labeling
The script calculates an appropriate label position using recent highs and lows, then dynamically creates a label on the chart showing:
Up_Candles volume
Down_Candles volume
Volume difference and ratio
Total bar count with up/down candle counts
The text is displayed in a soft pink tone using the label.new() function for visual clarity.
Utility
This indicator helps traders easily analyze buying vs. selling volume pressure across custom time intervals. It is particularly useful for comparing sentiment in specific trading phases (for example, before and after a consolidation or breakout).
All computations are done locally on the chart — the indicator does not place trades or alter candles.
In short, this script provides a compact visual and statistical summary of market volume distribution between rising and falling candles in a chosen date window, offering insight into the dominant market force during that time range.
Hacim
Khusan Pullback & Mean-Reversion (Manual ADX, Clean)Description
The indicator combines two logics in one tool:
Trend Pullback: Entries in the direction of the dominant trend after a short-term pullback to the EMA.
Return to the mean (Mean-Reversal): countertrend trades from external Bollinger bands with an RSI filter.
Key Features
Manual ADX (Wilder calculation): more precisely, it controls the strength of the trend without hidden smoothing.
There is a clear separation of market modes: the background of the chart highlights the condition: trend up/down or sideways (range).
Signal tags: Long TPB / Short TPB for pullbacks in the trend, Long MR / Short MR for a return to the average.
A minimum of “noise": neat colors, clear captions, without unnecessary graphics.
How to read signals
Trend Pullback
Long TPB — ADX ≥ threshold, price returns above fast EMA, RSI > 45.
Short TPB — ADX ≥ threshold, price goes below fast EMA, RSI < 55.
Mean-Reversion
Long MR — sideways (ADX < threshold), price below lower BB, RSI < 30, confirmation of reversal.
Short MR — sideways (ADX < threshold), price above upper BB, RSI > 70, reversal confirmation.
Parameters (Inputs)
EMA fast / EMA slow — fast and slow EMA (default 20/50).
ADX length / threshold — period and trend strength threshold.
BB length / mult — period and Bollinger Bands multiplier.
RSI length — RSI period.
Show labels/background — enable mode signatures and highlighting.
Recommendations for use
Timeframes: from M15 to H4. On lower TF, add a filter by the higher trend (e.g. H1/H4 EMA).
Instruments: XAUUSD, FX majors, indices, liquid futures and crypto pairs.
Risk management: for TPB, use SL behind the local swing extremum/below the EMA zone; for MR, use SL behind the external BB.
Filters: avoid entering against strong news; prioritize MR when volatility is low, and TPB when volatility is high.
Alerts
Create standard alerts based on the appearance of Long/Short TPB and Long/Short MR labels — the indicator provides clear conditions for auto-entry/notifications.
Important
The indicator is not
Quadruple AlphaTrendKivancOzbilgi's 'Alpha Trend' indicator has been developed as 'Quadruple Alpha Trend'.
It has been extended to AlphaTrend1,2,3,4, and each line allows users to freely choose colors.
Each of the AT1 to 2 and AT3 to 4 was again color-transformed at the crossing point, respectively.
We believe that the value of AT can compensate a lot for all the shortcomings of a regular moving average.
It can show the support and resistance of the low and high points at each horizontal section and
pressed neck point at the same time
Draw a horizontal line type.
These advantages make it easy to visually break through and collapse support and resistance on the monthly, weekly, and daily charts
It makes it possible to distinguish. I think it's an excellent indicator design by Kivanc Ozbilgi.
The most similar indicator to this one is the "UT BOT", which is close to the moving average in terms of support and resistance
Because it gives a euphemism, the value of "Alpha Trend" as an index that includes horizontal support and resistance
Very highly appreciated. If you have any issues or need to develop further, please leave a note.
IA FreeInitiative Analysis (IA) is a concept of visual market analysis based on the idea that every price move is formed by the interaction of two forces — buyers and sellers.
The method structures price movements into a clear system of initiatives and reactions, helping you act with logic.
IA helps you see who is taking initiative, where the key levels and interest zones of both sides are, and where the balance of power may shift.
💡 How the method works
IA focuses on known price ranges — the areas where buyer or seller activity has previously appeared.
These ranges show the balance of power: this is where moves started, reactions happened, and initiative shifted.
Within these ranges, the method makes a forecast — identifying which side is now taking control (buyers or sellers) and calculating the target area for the potential move.
The goal of the method is to simplify analysis while keeping the full context, so traders and investors can see the logic behind market movement.
The method works for both short-term trading and long-term investing.
________________________________________
IA Free — Visualization of the Initiative Analysis Method
IA Free forecasts initiative on the market: which side — buyers or sellers — will take control, and calculates the target price for the potential move.
Each initiative has a beginning and an end — both in time and in price.
The indicator defines the upper and lower boundaries of the initiative, which serve as key contextual reference points for further analysis.
Forecasted initiatives are displayed on the chart and remain visible even if the move does not play out.
This allows you to:
• see when conditions for an initiative shift appeared;
• define possible correction levels.
________________________________________
Main Visualization Elements
• Buyer and seller initiative zones — show who is in control and define the upper and lower boundaries of each initiative on the chart.
• Target levels — projected direction of movement.
• Key candles (KC, IC) — candles with the highest volume inside an initiative.
KC — candle with the highest volume inside a trending initiative. Determined only after the initiative is formed and remains unchanged thereafter.
IC — candle with the highest volume inside a sideways initiative. It may change within the initiative: each new candle with higher volume inside the same initiative becomes the new IC.
• Internal range levels — the inner structure of an initiative (five adjustable user-defined levels).
You can customize the elements:
• show or hide initiative zones and targets;
• change line thickness and background transparency;
• select colors for dark or light chart themes.
________________________________________
Highlighted Settings (focus points)
• Include sideways markets in the analysis — includes ranges in initiative analysis (enabled by default).
• Sideways market activation point — the number of points after which the market is recognized as sideways (default: 4; values 6–7 filter out minor consolidations).
• Color parameters — allow you to adjust visuals for your style and chart theme.
________________________________________
Market Structure in IA
IA helps visualize three key phases of the market:
• Trend — one side dominates. On the chart, consecutive initiatives of the same color represent a continuation of the same side’s control.
• Range — balance of power; on the chart, initiatives alternate within a limited price range that may gradually expand.
• Transitional — shift of initiative and the start of a new move. On the chart within one time interval, there are two initiatives: the buyer’s initiative appears above, and the seller’s initiative appears below.
________________________________________
5 Steps for Working with IA Free
1. Identify the initiative — buyers or sellers: who controls the market and where the move is heading.
2. Check the higher timeframe context — make sure the higher timeframe doesn’t contradict the initiative on the lower one.
3. Confirm initiative strength — look for wide candles with volume, absorptions, and protection of initiative edges.
4. Define your entry trigger — retest, false breakout, KC/IC reaction, candle pattern, or your own system signal.
5. Manage risks — When trading with leverage, a stop-loss is mandatory! Define stop-loss placement according to your system (for example, beyond the initiative’s border), take profits near the target, and manage the trade following market structure.
________________________________________
Practice and Testing
Test your ideas on historical data: observe how initiatives and targets played out, how initiative edges were defended (candle patterns), and how price reacted when returning to KC/IC candles.
This helps you develop a clear understanding of market logic and confidence in decision-making.
________________________________________
Limitations
• Displays initiatives and targets only on the selected chart timeframe.
• Some IA method elements — such as internal buyer/seller zones or false breakout pattern recognition — are not implemented.
• Platform functions for alerts and data output (for custom algo strategies) are not supported.
Volume Bubbles Delta Coloring Pro V1.0OVERVIEW
Bubbles Volume — Delta Pro extends the Classic concept with directional volume coloring and practical filters. It visualizes where volume concentrates inside each candle and which side (buyers or sellers) dominated. Ideal for intraday traders who want to see both intensity and direction of market activity.
HOW IT WORKS
Each bubble represents the candle’s volume normalized by volatility. Bubble size reflects relative volume; color reflects directional bias:
• Green = Buyer dominance (close > open)
• Red = Seller dominance (close < open)
• Yellow = Neutral (balanced candle)
A built-in delta proxy ((close – open) / range × volume) estimates directional strength — not true bid/ask delta, but a reliable approximation for chart volume.
FEATURES
• Delta coloring with adjustable Buy/Sell/Neutral colors
• Volume and delta thresholds to filter weak signals
• Session filter (e.g., 09:30–16:00) and lookback limit for speed
• Bubble position modes: HL2, Close, Body Mid, or High/Low by Delta
• Optional labels/lines for extreme volume
• Alerts for high-volume or strong delta spikes
USE CASES
Identify areas where aggressive buyers or sellers appeared, confirm breakouts with volume direction, or filter noise during low-activity periods. Combine with structure or VWAP for context.
NOTES
• Uses candle-based approximation, not orderflow.
• Visualization tool only; not a standalone signal.
• Original concept by BigBeluga, enhanced with delta logic and performance filters.
Licensed under CC BY-NC-SA 4.0.
Volume Bubbles Delta Coloring Classic V1.0OVERVIEW
Bubbles Volume — Classic plots volume bubbles directly on the price chart. Bubble size scales with normalized volume, helping to visualize where trading activity concentrates. Optional heatmap coloring and significant-volume levels are included.
HOW IT WORKS
• Normalizes volume by its standard deviation to highlight unusually high participation.
• Draws circles ("bubbles") whose size corresponds to the normalized volume.
• Optional heatmap gradient emphasizes different volume regimes.
• Optional significant levels display labels or horizontal lines at the highest-volume bars.
INPUTS
• Bubbles / Threshold — Enable bubbles and set volume sensitivity.
• HeatMap — Enable gradient coloring by volume intensity.
• Significant Levels — Display labels or lines for the strongest volume bars.
• Levels Qty — Limit the number of labels or lines to display.
USE CASES
• Identify bars with unusually high trading activity.
• Spot reaction zones where large participants may have acted.
• Complement to price structure and trend analysis.
NOTES
• Uses chart volume only — not bid/ask orderflow.
• Visualization and educational tool, not a signal generator.
• Reduce visible bars if performance slows down.
CREDITS
Original concept by BigBeluga. Published under CC BY-NC-SA 4.0 license.
This is the unmodified, reference version.
TRADER JUMBLO SIGNAL — Dip & Rally System“Buy from the roots, sell from the peaks.”
A precision-built smart trading system that detects market dips and rallies — allowing you to catch reversals right from the turning points, not halfway through the move.
🧠 How It Works (Concept Overview — no code)
The TRADER JUMBLO SIGNAL system combines trend-following and reversal-detection logic into one tool.
It analyses the last few bars (adjustable Lookback Period) to identify local extremes — the “roots” and “peaks” — and confirms entries using price structure and moving averages.
When conditions align:
-🟢 BUY Signal: Detected near the local lowest low within the lookback period during an uptrend.
-🔴 SELL Signal: Detected near the highest high during a downtrend.
-Each trade automatically sets a dynamic Stop Loss and Take Profit using the ATR (volatility-based).
-Intrabar or close-confirmed entries can be toggled for aggressive or conservative trading styles.
This system ensures you don’t chase candles — instead, it times entries at the core reversal points of the market structure.
⚙️ Key Features
-Dip & Rally Detection: Finds local highs/lows (roots and peaks) within an adjustable lookback window.
-Trend Filter: Only trades in the direction of the dominant moving-average trend.
-Intrabar Mode: Option to allow real-time entries before the candle closes.
-RSI Filter (optional): Filters out weak or overbought/oversold setups.
- ATR-based SL & TP: Automatic volatility-adjusted Stop Loss and Take Profit.
- Smart Table Display: Real-time info panel showing Entry, SL, TP, Lowest, Highest, Tolerance %, and Lookback bars.
-Customizable UI: Enable/disable labels, markers, and SL/TP lines.
Built-in Alerts:
✅ Buy (Dip) Trigger
❌ Sell (Rally) Trigger
🎯 TP Hit
🛑 SL Hit
📊 What Makes It Unique
Unlike basic crossover or RSI systems, this indicator focuses on price reaction around extremes — meaning you enter where reversals start, not after they’ve already moved.
It helps prevent:
Late entries after momentum is gone
Buying tops / selling bottoms
Random entries without market structure context
Instead, you’ll see:
Clean entries from the “roots” (local dips)
Exits or reversals from the “peaks” (local rallies)
Visual feedback for SL/TP hits — so you learn from each setup instantly.
📈 Visuals
🟢 Green markers = BUY entries near local lows.
🔴 Red markers = SELL entries near local highs.
✅ “TP Hit” or ❌ “SL Hit” labels appear on price touch.
🟦 Floating table on chart shows live trade info and state (LONG / SHORT / FLAT).
Project Pegasus SideMap • VRP Heatmap • Volume Node DetectionDescription CME_MINI:NQ1!
Project Pegasus – Volume SideMap V 1.0 builds a right-anchored horizontal volume heatmap silhouette, visualizing buy/sell participation per price level over any chosen lookback or visible range. It automatically detects Low-Volume Nodes (LVN), Medium-Volume Nodes (MVN), and High-Volume Nodes (HVN), while also marking Top Volume Peaks, POI Lines (Most-Touched Levels), and complete Value Area Levels (POC / VAH / VAL) including optional session highs/lows.
What’s Unique
Right-Fixed Rendering – All profile rows are anchored to the chart’s right edge, creating a consistent visual reference during live trading.
Gap-Free Silhouette – Each price row blends seamlessly with its neighbors, producing a clean and continuous volume shape.
Triple-Tier Node Detection (LVN / MVN / HVN) – Automatically highlights zones of rejection, transition, and acceptance based on relative volume strength.
Dynamic Binning System – Adapts to price range and lookback while preserving proportional per-row volume distribution.
POI Finder (Most Touches) – Highlights price rows that have been touched most frequently by bars (traffic clusters).
Top-N Peaks – Sorts and draws the strongest single-price clusters by total volume while respecting minimum spacing.
Integrated Value Area Metrics – Calculates and plots POC, VAH, and VAL with optional session High/Low markers.
Color Modes – Choose between heatmap intensity (volume-based) or buy/sell ratio blending for directional context.
Performance Optimized – Rebuilds only when structure changes, ensuring smooth operation even with large histories.
Technical Overview
1. Binning & Aggregation
The full price range is divided into a user-defined number of rows (bins) of equal height.
For each bar, traded volume is distributed across all intersecting bins proportionally to price overlap.
A buy/sell proxy is estimated based on candle close position, producing per-row Buy, Sell, and Total Volume arrays.
2. Silhouette Rendering
Each row’s strength = total volume ÷ maximum volume.
Two color modes:
• Volume Mode → intensity scales by relative volume (heatmap).
• Ratio Mode → blend between sell and buy base colors based on dominance (close position).
Weak or neutral rows can be faded or forced to minimum width via strength and ratio-deviation filters.
3. Node Detection (LVN / MVN / HVN)
Relative bands are defined by lower/upper % thresholds.
Consecutive rows meeting criteria are grouped into “bands.”
Optional gap-merge unifies nearby bands separated by small gaps (in ticks).
Quality filters:
• Min. Average in Band (%) → enforces minimum average participation.
• Min. Prominence vs. Neighbors (%) → compares contrast against adjacent volume peaks.
Enforces minimum center distance (in ticks) to prevent overlap.
Each valid band draws a Top/Bottom line pair and optional mid-label (LVN/MVN/HVN).
4. Volume Peaks
Ranks all rows by total volume (descending) and selects top N peaks with spacing filters.
Drawn as horizontal lines or labeled markers (P1, P2, etc.).
5. POI Lines (Most Touches)
During aggregation, each row counts how many bars overlap it.
The top X rows with highest touch counts are drawn as POI lines—often strong participation or mean-retest zones.
6. Value Area (POC / VAH / VAL)
POC = row with highest total volume.
Expands outward symmetrically until the configured Value Area % of total volume is covered.
VAH and VAL mark the acceptance range; optional High/Low lines outline total range boundaries.
7. Right-Fix Layout
All components are rendered relative to the chart’s rightmost bar.
Width dynamically scales with visible bars × % width setting, ensuring proportional scaling across zoom levels.
How to Use
Read market structure:
HVNs = high acceptance or balance areas → likely mean-reversion zones.
LVNs = thin participation → breakout or rejection points (“air pockets”).
MVNs = transition areas between acceptance and rejection.
Trade around POC / VAH / VAL:
These levels represent fair-value boundaries and rotational pivots.
POI & Peaks:
Use them as strong reference lines for responsive trading decisions.
Ratio-Color Mode:
Exposes directional imbalance and potential absorption zones visually.
Best practice:
Live trading → right-fix active, moderate row count.
Post-session analysis → higher granularity, LVN/HVN/MVN and peaks enabled with labels.
Key Settings
Core
Lookback length or visible-range mode
Row count (granularity)
Profile width (% of visible bars)
Right offset, minimum box width, transparency
Date Filter
Aggregate only bars from a defined start date onward.
Coloring
Buy/Sell ratio mode toggle
Base colors for buy and sell volume
Filters
Minimum ratio deviation (±) → ignore nearly balanced rows
Minimum volume strength (%) → fade weak rows
LVN / MVN / HVN Detection
Independent enable toggles
Lower/upper % thresholds
Minimum band height (rows)
Merge small gaps (ticks)
Minimum average in band (%)
Minimum prominence vs. neighbors (%)
Minimum distance between bands (ticks)
Line color, width, style, and label options
Peaks
Number of peaks (0–20)
Minimum distance between peaks (ticks)
Color, width, style, label placement
POI Lines
Enable toggle
POI count (1–5)
Minimum gap between POIs (rows)
Color, width, style, label offset
Value Levels (POC / VAH / VAL)
Show/hide Value Area Levels
Value Area % coverage
POC / VAH / VAL line styles, widths, colors
Optional Session High/Low lines
Notes & Limitations
Optimized for intraday and swing data; accuracy depends on chart volume granularity.
Large lookbacks with high row counts and all detection layers enabled may impact performance—adjust parameters for balance.
Buy/Sell ratio is a visual approximation based on candle structure, not actual order-book delta.
Designed as a contextual visualization tool, not a trade signal generator.
Disclaimer
For educational and informational purposes only.
Not financial advice.
Vector Candles - By BlockheadWhat this script does:
Vector Candles highlights moments of intense market participation by coloring “climax” candles — bars where trading activity surges beyond normal conditions. These colored candles make it easy to visualize bursts of liquidity, directional momentum, or exhaustion zones across any market.
⸻
How this script works:
The indicator scans each bar for abnormal behavior in volume and range expansion.
If volume exceeds 2× the 10-bar average or if volume × range reaches a short-term extreme, that candle is marked as a “climax” — lime for bullish momentum or red for bearish pressure.
This provides a clean, real-time visual of where institutional volume or aggressive participation enters the market.
⸻
How to use this script:
Apply Vector Candles to any chart to spot areas of heavy buying or selling interest.
Optionally, enable the “Override Chart Symbol” setting to pull data from a reference market (e.g., QQQ for tech stocks, DXY for gold, BTC index for altcoins).
This allows you to identify when a symbol’s move is part of a sector rotation, broader flow, or inverse correlation, rather than isolated price action.
⸻
What makes this script original:
Unlike traditional vector candle indicators, this version introduces a cross-symbol volume engine — letting you visualize climax activity from one market directly on another.
This unlocks a powerful new layer of contextual analysis, ideal for spotting rotations, correlation breaks, and macro-driven liquidity shifts in real time.
It’s not just about where momentum appears — it’s about where it originates.
QuantFlow ProQuantFlow Pro
QuantFlow Pro is an advanced institutional indicator designed to detect bias shifts, liquidity imbalances, and real-time flow transitions.
Built on an adaptive architecture, it combines institutional flow analysis, multi-timeframe liquidity levels, and structural reference points to provide a clear and precise view of market dynamics.
Unlike conventional indicators that repaint or produce noisy signals, QuantFlow Pro relies on robust calculations based on volume, delta imbalance, and the detection of structural dislocations.
⚙️ Optimized for Futures markets, QuantFlow Pro helps traders identify market turning points with institutional precision and consistent reliability over time.
Volume Pressure Oscillator (VPO)🔹 Core Logic
VPO Calculation:
The indicator measures price momentum weighted by volume, smoothed by EMA, and normalized within a dynamic range to highlight relative pressure extremes.
Signal Line:
A secondary EMA of VPO acts as a signal baseline for crossovers and trend confirmation.
Entry Triggers:
Zero-line Crossovers: Momentum shifts from bearish to bullish (or vice versa).
Signal Crossovers: Confirmation of sustained directional momentum.
Filters:
Volume Filter: Only trades when volume is above the moving average.
VWAP Slope Filter: Ensures trades align with intraday institutional flow.
Higher Timeframe VWAP: Confirms multi-timeframe directional bias.
RSI Filter: Avoids overextended entries.
Optional Divergence Confirmation: Adds precision in reversal environments.
Dollar Volume Ownership Gauge Dollar Volume Ownership Gauge (DVOG)
By: Mando4_27
Version: 1.0 — Pine Script® v6
Overview
The Dollar Volume Ownership Gauge (DVOG) is designed to measure the intensity of real money participation behind each price bar.
Instead of tracking raw share volume, this tool converts every bar’s trading activity into dollar volume (price × volume) and highlights the transition points where institutional capital begins to take control of a move.
DVOG’s mission is simple:
Show when the crowd is trading vs. when the institutions are buying control.
Core Concept
Most retail traders focus on share count (volume) — but institutions think in dollar exposure.
A small-cap printing a 1-million-share candle at $1 is very different from a 1-million-share candle at $10.
DVOG normalizes this by displaying total traded dollar value per bar, then color-codes and alerts when the volume of money crosses key thresholds.
This exposes the exact moments when ownership is shifting — often before major breakouts, reclaims, or exhaustion reversals.
How It Works
Dollar Volume Calculation
Each candle’s dollar volume is computed as close × volume.
Data is aggregated from the 5-minute timeframe regardless of your current chart, allowing consistent institutional-flow detection on any resolution.
Threshold Logic
Two customizable levels define interest zones:
$500K Threshold → Early or moderate institutional attention.
$1M Threshold → High-conviction or aggressive accumulation.
Both levels can be edited to fit different market caps or trading styles.
Bar Coloring Scheme
Red = Dollar Volume ≥ $1,000,000 → Significant institutional activity / control bar.
Green = Dollar Volume ≥ $500,000 and < $1,000,000 → Emerging accumulation / transition bar.
Black = Below $500,000 → Retail or low-interest zone.
(Colors are intentionally inverted from standard expectation: when volume intensity spikes, the bar turns hotter in tone.)
Plot Display
Histogram style plot displays 5-minute aggregated dollar volume per bar.
Dotted reference lines mark $500K and $1M levels, with live right-hand labels for quick reading.
Optional debug label shows current bar’s dollar value, closing price, and raw volume for transparency.
Alerts & Conditions
DVOG includes three alert triggers for hands-off monitoring:
Alert Name Trigger Message Purpose
Green Bar Alert – Dollar Volume ≥ $500K When dollar volume first crosses $500K “Institutional interest starting on ” Signals early money entering.
Dollar Volume ≥ $500K Same as above, configurable “Early institutional interest detected…” Broad alert option.
Dollar Volume ≥ $1M When dollar volume first crosses $1M “Significant money flow detected…” Indicates heavy institutional presence or ignition bar.
You can enable or disable alerts via checkbox inputs, allowing you to monitor just the levels that fit your style.
Interpretation & Use Cases
Identify Institutional “Ignition” Points:
Watch for sudden green or red DVOG bars after long low-volume consolidation — these often precede explosive continuation moves.
Confirm Breakouts & Reclaims:
If price reclaims a key level (HOD, neckline, or coil top) and DVOG flashes green/red, odds strongly favor follow-through.
Spot Trap Exhaustion:
After a flush or low-volume fade, the first strong green/red DVOG bar can mark the institutional reclaim — the moment retail control ends.
Filter Noise:
Ignore standard volume spikes. DVOG only reacts when dollar ownership materially changes hands, not when small traders churn shares.
Customization
Setting Default Description
$500K Threshold 500,000 Lower limit for “Green” institutional attention.
$1M Threshold 1,000,000 Upper limit for “Red” heavy institutional control.
Show Alerts ✅ Enable or disable global alerts.
Alert on Green Bars ✅ Toggle only the $500K crossover alerts.
Adjust thresholds to match the liquidity of your preferred tickers — for example, micro-caps may use $100K/$300K, while large-caps might use $5M/$20M.
Reading the Output
Black baseline = Noise / retail chop.
First Green bar = Smart money starts building position.
Red bar(s) = Ownership shift confirmed — institutions active.
Flat-to-rising pattern in DVOG = Sustained accumulation; often aligns with strong trend continuation.
Summary
DVOG transforms raw volume into actionable context — showing you when capital, not hype, is moving.
It’s particularly effective for:
Momentum and breakout traders
Liquidity trap reclaims (Kuiper-style setups)
Identifying early ignition bars before halts
Confirming frontside strength in micro-caps
Use DVOG as your ownership radar — the visual cue for when the market stops being retail and starts being real.
Live Volume TickerGives current real-time volume of tick movements denoted in the timeframe of the current candle.
Full Currency Strength Table Dashboard (8 Currencies)
# Full Currency Strength Table Dashboard (8 Currencies) 📊
This indicator provides a **simplified, visual representation of the current relative strengths of 8 major global currencies** (EUR, USD, GBP, JPY, AUD, NZD, CAD, CHF). It's designed as a minimalist dashboard that appears discreetly on your chart, giving traders a quick and clear picture of forex pair movements.
The indicator calculates the relative strength of each currency based on its movement against the other 7 currencies in the panel, providing insight into which currencies are currently the strongest and which are the weakest.
## Key Features 🌟
* **Simplified Visualization:** Instead of showing currency strength as a line on the chart, which can often be distracting, the indicator uses a **data table (dashboard)** positioned on the chart. This ensures **maximum chart visibility** and cleanliness.
* **8 Major Currencies:** All major currencies are included ($A$ - EUR, $B$ - USD, $C$ - GBP, $D$ - JPY, $E$ - AUD, $F$ - NZD, $G$ - CAD, $H$ - CHF), allowing strength calculation based on **28 base currency pairs**.
* **Strength Calculation:** Strength is calculated based on the average percentage change $\left(\frac{\text{Close} - \text{Open}}{\text{Open}} \times 100\right)$ of the currency relative to all 7 other currencies.
* **Timeframe Setting:** Users can select a **higher timeframe (TF)** (e.g., Daily - 'D') for the strength calculation. This allows analysis of longer-term currency strength momentum, independent of the chart's current timeframe.
* **Customizable Design:** You can adjust the table's position, text size, the colour of each currency, and the resolution (length) of the strength meter.
## How to Use the Indicator (Interpretation) 💡
1. **Select a Timeframe (TF):** It's recommended to use a higher TF (e.g., Daily - 'D' or 4h - '240') to get more stable currency strength signals.
2. **The Dashboard Table:** The table displays:
* The currency name (bottom, with its corresponding colour).
* The numerical strength value (top, expressed in points or average change).
* The **Strength Meter (bar)** visually represents the currency's relative strength compared to the other currencies on the panel (calculated based on the Min/Max values across all 8 currencies).
3. **Making Decisions:**
* **Buy:** Look for a currency pair where the **Base Currency** is significantly **strong** (high positive value, long meter) and the **Quote Currency** is significantly **weak** (high negative value, short meter).
* **Sell:** Look for a currency pair where the **Base Currency** is significantly **weak** and the **Quote Currency** is significantly **strong**.
* **Avoid Trading:** Avoid pairs where both currencies have roughly the same strength or are close to zero.
## Note on Calculation and Code 🛠️
* **Base Pairs:** The script calculates 28 base currency pairs (e.g., EURUSD, EURGBP... CADCHF) using the `request.security` function to retrieve data from the selected timeframe (`freq`).
* **Data Correction:** A correction was implemented in the code by adding ` ` after `request.security` to always use the **CLOSED bar values** from the higher TF. This **eliminates NaN (Not a Number) data** that would appear when using the current bar.
* **Accumulation:** Accumulation (`sumA, sumB...`) only occurs when the selected higher TF changes (`timeframe.change(freq)`), effectively tracking the currency's relative strength during the formation of **one closed bar** on that higher TF.
### License
This work is licensed under the **Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)** license.
The original concept and code are based on the work of the **LuxAlgo** team and finalized to fix syntax errors and handle NaN data for stable use with 8 currencies.
---
**Questions or suggestions?** I'd love to hear your feedback in the comments! Happy trading! 📈
Position Size calculatorOverview
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets .
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
SicariSicari
What is it?
Sicari is a trend-following trading system that identifies potential bullish or bearish trends. It blends EMA trend, OBV participation, and an Adaptive SuperTrend gate (machine-learning k-means over ATR bands) into a strict 2-of-3 confirmation model.
By default, it uses a clean two-colour scheme: 🟢 green = long bias and 🔴 red = short bias.
Optionally, a four-colour mode exposes hedge and early-risk conditions.
Sicari works across all asset classes and timeframes (recommended: 15-minute to monthly).
How it works
* Auto mode adapts by timeframe: ≤60m uses a Hard-Gate where SuperTrend must confirm to flip; >60m uses Majority mode where OBV carries more weight for faster reversals
* Voters are EMA, OBV, and Adaptive SuperTrend; a flip requires 2 of 3 agreement (Hard-Gate also needs ST)
* Optional four-colour candles highlight hedge state when voters disagree. The hedge direction is OBV-led (↑ / ↓ tint), helping you trim risk or wait for full confirmation.
* Multi-Timeframe Trend Bias panel (1H, 4H, 1D, 1W): left dot = live bias for that TF; Four dots on the right show = last four closed bars (newest on right). In 4-colour mode, the left/current dot follows 4-colour logic, history dots remain 2-colour for stability. Compact mode optionally shows only current dots per TF.
What you can plot
* Candles: two-colour by default (🟢 long / 🔴 short); optional 4-colour hedge mode (OBV-led ↑/↓ tint).
* Triangles: mark long/short flips.
* Multi-Timeframe Trend Bias panel: 1H / 4H / 1D / 1W
* VWAPs: Session + Weekly VWAP for fair-value anchoring.
* Moving Averages: Daily 20/50 (non-repainting) and Weekly 20/50/100 stair-step MAs for structure.
* Dynamic ATR Stops: step-line long/short stop bands for risk control and stopped-out detection.
* RSI Take-Profit markers: X-shaped markers on the chart TF (touch / re-entry logic)
* 4H RSI Diamonds: non-repainting diamonds confirming on 4H close
Combined Asset Volume (crypto-aware)
* One toggle aggregates spot volume across major venues
* Majors (BTC/ETH): Binance + Coinbase + Bitfinex + Kraken (USD/USDT/USDC)
* Alts: Binance + Bybit + KuCoin + Coinbase (lean, USDT/USD)
* CRYPTOCAP indexes, non-crypto or FX pairs automatically fall back to the chart’s own volume
* OBV has a unit-volume fallback when volume data is missing
Alerts (programmatic or traditional)
* Programmatic (recommended): Create one alert → “Any alert() function call”. This single alert respects your chosen settings (asset, timeframe, 2/four-colour mode, RSI levels, chop/flip cooldown, stops on/off, etc.) and fires for all enabled conditions once-per-bar-close. Long/short signals trigger only at flips, not every bar.
* Traditional: add specific alerts only for what you want (entries, exits, etc.)
Alert list (fires on bar close)
* 🚀🟢 LONG entry
* 🔻🔴 SHORT entry
* 🟡 HEDGE LONG (four-colour mode)
* 🟠 HEDGE SHORT (four-colour mode)
* 🎯 Take Profit Long (RSI-based)
* 🎯 Take Profit Short (RSI-based)
* 💥🔴 HTF Super SHORT (4H RSI diamond)
* 🚀🟢 HTF Super LONG (4H RSI diamond)
* 💀 Stopped Out of Short (dynamic ATR stop)
* 💀 Stopped Out of Long (dynamic ATR stop)
Programmatic alerts include tick-aware thousands separators and VWAP references on intraday charts for mobile readability
Setup & tips
* After adding Sicari: Click the three dots next to the script name → Visual order → Bring to front. This hides the original candles so Sicari’s candles are fully visible
* Keep Auto mode ON; enable 4-colour only if you want hedge awareness; toggle VWAPs and MAs as structure guides
* Works on crypto, indices, FX and equities - any symbol, ny timeframe
* Use standard candles (not Heikin Ashi)
* Colours optimised for dark backgrounds
Sicari distills trend, participation, and structure into one adaptive stream - delivering institutional-grade precision, clarity, and timing within the Sicari ecosystem.
Volume Imbalances & Gann's Square IndicatorVolume Imbalances & Gann's Square Indicator:
This script is a comprehensive trading toolkit designed to help intraday and swing traders identify high-probability trade setups by combining the strengths of Gann's Theory, price-volume analysis, and multi-indicator signal confirmation in one indicator.
Key Features and Their Roles:
Gann’s S/R Levels:
Calculates main and auxiliary support/resistance lines using Gann’s “odd square” approach based on the current price. Levels are projected historically and into the future to clearly visualize critical zones for potential reversals and breakouts.
Volume*Price (VP) Spike Table:
Detects and displays real-time buy and sell volume spikes above a configurable threshold, highlighting large market transactions. The on-chart table summarizes recent major spikes with time and price for context, resetting every session.
Multi-EMA & VWAP Logic:
Integrates three customizable EMAs, VWAP, and Supertrend. Users can toggle signals from EMA crossovers, price-VWAP positioning, or Supertrend direction to match their preferred trading style and filter signals for trend or mean-reversion strategies.
Buy/Sell Labels and Signal Source Control:
Clearly plots buy/sell marker labels with customizable text, color, and size, based on the chosen signal source (EMA cross, VWAP, Supertrend). Labels offset from candles for easy visibility.
First Candle Range & Session Tools:
Plots the initial range (high, low, and midpoint) of a user-defined session, helping visualize and trade session breakouts or range retests. Session logic ensures all statistical tables and levels reset at session start.
Automated Risk/Reward Table:
Instantly calculates capital allocation, stop-loss, potential quantity, and two profit targets for both long and short trades. Helps traders plan size and risk per trade in compliance with risk management principles.
Highest/Lowest VP Markers:
Highlights the day’s peak and trough volume*price values for context on institutional buying or selling pressure.
Previous Day Range Plotter:
Draws previous session’s high/low levels for reliable reference zones and potential trade targets.
Integration Rationale:
All components are thoughtfully integrated to provide a holistic decision-making workflow:
Volume/price spikes act as momentum or liquidity signals.
Gann levels define the “where” for reaction or breakout trades.
Signal logics (EMA/VWAP/Supertrend) answer the “when,” enabling higher-confidence entries only when multiple conditions align.
How to Use:
Select your preferred inputs for EMAs, VWAP, and risk settings in the panel.
Analyze the chart for signals where buy/sell labels align with fresh VP spikes near Gann or previous day support/resistance.
Use the risk/reward table for strict money management.
Reference spike tables and session range for contextual confirmation.
Visuals and Chart Guidance:
The script displays only essential tables, lines, and labels described above.
All chart elements are explained in this description—no external scripts needed for interpretation.
Each table and marker is linked to actionable trading logic, eliminating clutter.
Closed-source Explanation:
The indicator uses session-based calculations, real-time data arrays, and proprietary math to unify Gann theory logic, large transaction detection, and multi-indicator confirmation. All major trade conditions have alert signals for ready integration with TradingView’s alert system.
High Volume Arrow Signals (Ajustável)The High Volume Arrow Signals (Adjustable) indicator is a professional technical analysis tool designed to clearly pinpoint moments when trading volume significantly exceeds its recent average, signaling potential institutional pressure, strong conviction, or market exhaustion.
Its primary function is to overlay confirmation signals directly onto the price bars without altering the original candle colors.
Strategic Application
This indicator is most effective when used as a confluence tool to confirm moves initiated by price action or other indicators:
Breakout Confirmation: An arrow plotted during a price range breakout suggests the move has genuine volume conviction.
Reversal Identification: A Buy arrow appearing at a key support level (or a Sell arrow at resistance) indicates strong volume rejection and a potential turning point.
The adjustable multiplier ensures users can fine-tune the indicator to the specific volatility and volume characteristics of assets like BTC and ETH across different timeframes.
Squeeze Momentum MACDSqueeze Momentum MACD
🧠 Description
Squeeze Momentum MACD combines the concept of market volatility compression (the “squeeze”) from Bollinger Bands (BB) and Keltner Channels (KC) with a MACD-style momentum oscillator to reveal potential breakout phases.
The indicator first calculates:
BB Width = Upper Band − Lower Band
KC Width = Upper Band − Lower Band
Then it computes their difference:
Δ = BB Width − KC Width
When Δ > 0 → BB width is greater than KC width → volatility is expanding → potential momentum breakout.
When Δ < 0 → BB is inside KC → volatility is compressing → potential squeeze phase before expansion.
This Δ value is then processed through a MACD-style calculation:
MACD Line = EMA(fast) − EMA(slow)
Signal Line = EMA(MACD, signal length)
Histogram = MACD − Signal
The result is a visual momentum oscillator that behaves like MACD but measures volatility expansion instead of price direction.
🔹 Features:
Dynamic 4-color MACD & Signal lines (positive/negative + rising/falling)
Optional display of raw BB & KC widths
Fully adjustable parameters for BB, KC, and MACD
Works on all timeframes and instruments
🔹 Ideal For:
Detecting market squeezes and breakout momentum
Timing entries before volatility expansion
Integrating volatility and momentum into a single framework
Volume Biased CandlesVolume Biased Candles
This indicator visualizes the underlying volume polarity of price action by coloring candles based on directional volume bias over a rolling bucket of bars.
Instead of reading price alone, each candle reflects whether buying or selling pressure has dominated within its recent volume structure — giving a more intuitive picture of volume sentiment beneath price movement.
🔹 How it works
Bucket Size (n) → defines how many candles are aggregated to evaluate directional volume bias
For each bucket, total up-volume and down-volume are compared to determine overall market pressure
Volume Bias Score → a continuous ratio from -1 to +1, representing the relative dominance of buyers or sellers
Candles are colored according to the active bias — green for positive (buying), red for negative (selling)
🔹 Use cases
Visualize shifts in market control without needing divergence overlays
Combine with delta divergence or price structure tools to validate entries and exits
Simplify volume and price insights into an intuitive, single-chart visualization
✨ Volume Biased Candles transforms standard candles into a live sentiment gauge, revealing whether the dominant flow behind price movement is bullish or bearish.
High Volume AlertThis Pine Script monitors trading volume in real time and alerts you whenever current volume is unusually high — specifically, when it’s greater than a chosen multiple (for example, 1.5×) of the average volume over a recent period (for example, 20 bars).
It’s a quick way to detect volume spikes, which often precede breakouts or reversals.
AlphaFlow - Trend DetectorOVERVIEW
AlphaFlow identifies and tracks large volume moves by combining volume analysis, price impact measurement, and conviction scoring to separate significant institutional moves from normal trading activity. Rather than just flagging high volume, this indicator evaluates whether large trades actually moved the market and assigns conviction levels based on multiple confirmation factors.
WHAT MAKES THIS ORIGINAL
This is not simply a volume indicator or volume-weighted price tracker. The originality lies in the multi-factor conviction scoring system that evaluates whether large volume moves represent genuine institutional conviction or just noise.
Key Differentiators:
- Combines volume ratio AND price impact (volume alone doesn't mean conviction)
- Conviction scoring system that weighs trend alignment, follow-through, and volume persistence
- Cumulative flow tracking that shows persistent directional pressure over time
- Market regime detection (bullish/bearish/sideways) based on flow dynamics
- Tiered signal system (EXTREME/HIGH/MEDIUM conviction) rather than binary signals
This approach solves the problem of volume spikes that don't lead to meaningful price action, or price moves on low volume that don't persist.
HOW IT WORKS
1. Whale Detection Engine:
Volume Qualification: Compares current volume to a rolling average (default 50 bars). Whale activity requires volume to be at least 1.5x the average (adjustable).
Price Impact Requirement: Volume alone isn't enough. The bar must also show significant price movement (default 0.1% minimum). This filters out high-volume consolidation where no one is actually committed to direction.
Direction Identification: Bullish whale = close > open on high volume. Bearish whale = close < open on high volume.
2. Conviction Scoring System:
The indicator doesn't just flag whale activity - it evaluates conviction through multiple factors:
Base Conviction: Calculated from (volume_ratio × price_impact) / 10
This gives higher scores to moves with both exceptional volume AND large price swings.
Trend Alignment Bonus (1.5x multiplier): Whale moves aligned with the 20-period EMA trend receive higher conviction scores. Institutional money tends to accumulate with the trend, not against it.
Follow-Through Bonus (1.3x multiplier): After whale activity, does price continue in that direction over the next bars (default 3)? Genuine conviction shows persistence.
Volume Persistence (1.2x multiplier): Is elevated volume sustained over multiple bars, or is it a one-time spike? The 3-bar average volume ratio above 1.5x indicates sustained interest.
Conviction Levels:
- EXTREME: Score > 15 (large whale emoji labels, highest confidence)
- HIGH: Score > 8 (triangle signals, strong confidence)
- MEDIUM: Score > 3 (small triangles, moderate confidence)
- LOW: Score < 3 (not plotted to reduce noise)
3. Cumulative Flow Analysis:
Rather than treating each whale move in isolation, the indicator tracks cumulative flow using an EMA of whale activity. This reveals persistent directional pressure.
Flow Calculation: Each whale bar contributes (whale_strength × direction) to the flow. Strength is volume_ratio × price_impact_percent.
Flow Momentum: Rate of change in the cumulative flow (5-bar change)
Flow Acceleration: Second derivative (3-bar change of momentum)
These metrics reveal whether whale activity is accelerating, decelerating, or reversing.
4. Market Regime Detection:
Bullish Regime: Cumulative flow > 2 AND momentum positive
Bearish Regime: Cumulative flow < -2 AND momentum negative
Sideways Regime: Neither condition met
The background color reflects the current regime, helping traders understand the broader context.
5. Flow Strength Meter:
The main plot normalizes cumulative flow to a -100 to +100 scale based on the 100-bar range. This provides a consistent visual reference regardless of the asset or timeframe.
Extreme levels at ±50 indicate particularly strong directional flow where reversals or consolidation become more likely.
HOW TO USE IT
Settings Configuration:
Whale Detection Section:
- Volume Average Period (default 50): Shorter periods make detection more sensitive to recent volume changes. Longer periods require more exceptional volume to trigger.
- Whale Volume Multiplier (default 1.5): How much above average volume must be to qualify. Lower = more signals. Higher = only extreme moves.
- Minimum Price Impact (default 0.1%): Filters out high-volume bars that didn't actually move price. Adjust based on asset volatility.
Trend Analysis:
- Trend Strength Period (default 20): EMA period for trend alignment bonus
- Confirmation Bars (default 3): How many bars to check for follow-through
Visual Settings:
- Flow Strength Meter: Main plot showing normalized cumulative flow
- Conviction Labels: Detailed labels showing volume ratio and price impact on extreme/high conviction whales
- Trend Background: Color-coded regime indication
Signal Interpretation:
EXTREME Conviction (Whale Emoji Labels):
These are the highest confidence signals. Large volume with significant price impact, aligned with trend, showing follow-through. These often mark the beginning or continuation of strong moves.
HIGH Conviction (Large Triangles):
Strong signals meeting most criteria. Good for main entries or adding to positions.
MEDIUM Conviction (Small Triangles):
Whale activity present but with fewer confirmation factors. Use for partial positions or require additional confirmation.
Flow Strength Meter:
- Above zero and rising: Bullish flow building
- Below zero and falling: Bearish flow building
- Approaching ±50: Extreme readings, watch for exhaustion
- Crossing zero: Flow regime change
Dashboard Information:
The top-right table shows:
- Current regime (bullish/bearish/sideways)
- Flow strength value
- Last whale direction
- Conviction level of last whale
- Current volume ratio
- Flow momentum direction
- Indicator status
Trading Strategies:
Trend Following: Take EXTREME and HIGH conviction signals aligned with the flow meter direction. Enter when flow is positive and rising for bullish whales, negative and falling for bearish whales.
Regime-Based: Only trade in bullish/bearish regimes (colored backgrounds). Avoid trading in sideways regimes where whale moves tend to reverse quickly.
Flow Reversals: When flow meter crosses zero with EXTREME conviction whale in the new direction, this often marks regime changes.
Exhaustion Plays: When flow reaches ±50 extreme levels, watch for EXTREME conviction whales in the opposite direction as potential reversal signals.
TECHNICAL DETAILS
Volume Ratio = Current Volume / SMA(Volume, Period)
Price Impact % = ABS(Close - Open) / Open × 100
Whale Detected = (Volume Ratio >= Multiplier) AND (Price Impact >= Minimum)
Whale Direction = Close > Open ? 1 : -1
Base Conviction = (Volume Ratio × Price Impact %) / 10
Trend Alignment = Whale Direction == Trend Direction ? 1.5 : 1.0
Follow-Through = Price continues whale direction over N bars ? 1.3 : 1.0
Volume Persistence = SMA(Volume Ratio, 3) > 1.5 ? 1.2 : 1.0
Final Conviction = Base × Trend Alignment × Follow-Through × Volume Persistence
Whale Flow = Whale Detected ? (Volume Ratio × Price Impact × Direction) : 0
Cumulative Flow = EMA(Whale Flow, 20)
Flow Momentum = Change(Cumulative Flow, 5)
Flow Acceleration = Change(Momentum, 3)
Normalized Flow Strength = (Cumulative Flow / Highest(ABS(Cumulative Flow), 100)) × 100
WHAT THIS SOLVES
Common Volume Indicator Problems:
- Volume spikes that don't move price (consolidation noise)
- Price moves on low volume that quickly reverse
- No differentiation between strong and weak volume signals
- Treating all high-volume bars equally regardless of context
- No measure of whether volume represents conviction or panic
Whale Flow Solutions:
- Requires both volume AND price impact for signals
- Conviction scoring separates strong moves from weak ones
- Cumulative flow shows persistent pressure vs isolated spikes
- Trend alignment and follow-through filter low-quality signals
- Tiered system lets traders choose their confidence threshold
LIMITATIONS
- Cannot identify individual whales or attribute volume to specific entities
- High volume can come from many sources (whales, retail panic, algo activity)
- Works best on liquid assets with consistent volume patterns
- Less reliable on low-volume assets or during market closures
- Conviction scoring thresholds may need adjustment per asset/timeframe
- Does not predict future whale activity, only identifies it after bars close
- Flow can remain at extremes longer than expected during strong trends
- False signals can occur during news events or earnings
- Not a standalone trading system - requires risk management and other analysis
Best used in combination with price action, support/resistance, and broader market context.
EDUCATIONAL VALUE
For traders learning about:
- Volume analysis beyond simple volume indicators
- Multi-factor signal confirmation systems
- Market regime and flow concepts
- Conviction-based scoring methodologies
- Cumulative indicator design
- Normalized plotting for cross-asset comparison
- Pine Script table and dashboard creation
Not financial advice.






















