PROTECTED SOURCE SCRIPT
Volume Matrix

Volume Matrix (VM) is a comprehensive volume and position-sizing toolkit designed to help traders interpret market participation and manage trade risk efficiently.
It combines volume analytics, risk-adjusted position sizing, and stock-specific financial data — all in a clear, visual, and automated format directly on TradingView charts.
The indicator integrates capital management, episodic volume spikes, and market capitalization data into a single, intuitive framework, giving traders an edge in both decision-making and discipline.
⚙️ Core Components & Features
🧩 1. Position Sizing & Risk Management
A dynamic risk table helps traders determine how much to trade and how much to risk per position, adapting automatically based on user inputs:
- Capital (CP): Total account size (₹ or $).
- Risk Mode (R): Choose between Percentage of capital or fixed Currency value.
- Lot Size Mode: Optional toggle to align quantities with F&O lot sizes (India-based).
- Standard Stop-Loss (SSL): Displays position quantities for three custom stop-loss levels (e.g., 0.75%, 1%, 1.25%).
- % Distance Metrics: D: Distance from day’s low/high (helps assess stop distance). DH: Distance from mid-body (useful for candle risk assessment). Auto-adjusts based on whether the trader is in Long, Short, or Both mode.
📈 Helps answer:
“How much quantity should I trade at my desired risk level?”
🔶 2. Volume Visualization
- Plots volume bars with default up/down coloring.
- Green for bullish bars.
- Red for bearish bars.
- Designed for quick visual differentiation of buying/selling pressure.
🚀 3. Episodic Pivot (EP) Detector
Identifies high-volume breakout or capitulation days, often marking significant turning points or trend initiations.
- Highlights bars where volume exceeds a custom threshold (in millions).
- Marks them visually with an orange triangle under the candle.
-Best used on daily charts to spot institutional footprints.
📊 Helps answer:
“Is today’s volume large enough to signal major institutional activity?”
🧾 4. Data Metrics Table
Displays fundamental and contextual data about the asset:
- Market Capitalization (MC): Auto-calculated using outstanding shares × price.
- Free Float (FF): Value of tradable shares in currency or Cr (INR).
- Industry × Sector × F&O Status: Shows the company’s industry and sector classification. Displays FC (Futures Contract) or NFC (Non-F&O stock).
- Customizable appearance: Choose between text/value display, text color, and background color. Flexible positioning and size control to suit any chart layout.
📚 Helps answer:
“What type of stock is this, how big is it, and does it trade in futures?”
🪄 5. User Interface Customization
- Modular UI grouped by functionality (Risk, Direction, Metrics, Volume, etc.).
- Flexible table position & size (Top/Bottom/Middle & Tiny–Huge).
- All elements are toggleable, giving full control over displayed data.
- Built to ensure visual clarity on any chart background.
| Trading Goal | How Volume Matrix Supports It |
| ------------------------------ | -------------------------------------------------------------- |
| **Risk Management** | Calculates optimal trade size and risk exposure automatically. |
| **Position Sizing Discipline** | Enforces consistent sizing across trades using SSL levels. |
| **Volume Confirmation** | Highlights institutional participation via Episodic Pivots. |
| **Stock Context Awareness** | Shows market cap, sector, and float value instantly. |
| **Efficiency** | Reduces manual work — no need for calculators or spreadsheets. |
💡 In Short
Volume Matrix simplifies trade planning, brings transparency to risk, and connects volume with context — all in one elegant visual tool.
Perfect for:
- Discretionary traders refining entries and sizing.
- Swing traders watching for volume-based pivots.
- Analysts who want price-volume fundamentals at a glance.
It combines volume analytics, risk-adjusted position sizing, and stock-specific financial data — all in a clear, visual, and automated format directly on TradingView charts.
The indicator integrates capital management, episodic volume spikes, and market capitalization data into a single, intuitive framework, giving traders an edge in both decision-making and discipline.
⚙️ Core Components & Features
🧩 1. Position Sizing & Risk Management
A dynamic risk table helps traders determine how much to trade and how much to risk per position, adapting automatically based on user inputs:
- Capital (CP): Total account size (₹ or $).
- Risk Mode (R): Choose between Percentage of capital or fixed Currency value.
- Lot Size Mode: Optional toggle to align quantities with F&O lot sizes (India-based).
- Standard Stop-Loss (SSL): Displays position quantities for three custom stop-loss levels (e.g., 0.75%, 1%, 1.25%).
- % Distance Metrics: D: Distance from day’s low/high (helps assess stop distance). DH: Distance from mid-body (useful for candle risk assessment). Auto-adjusts based on whether the trader is in Long, Short, or Both mode.
📈 Helps answer:
“How much quantity should I trade at my desired risk level?”
🔶 2. Volume Visualization
- Plots volume bars with default up/down coloring.
- Green for bullish bars.
- Red for bearish bars.
- Designed for quick visual differentiation of buying/selling pressure.
🚀 3. Episodic Pivot (EP) Detector
Identifies high-volume breakout or capitulation days, often marking significant turning points or trend initiations.
- Highlights bars where volume exceeds a custom threshold (in millions).
- Marks them visually with an orange triangle under the candle.
-Best used on daily charts to spot institutional footprints.
📊 Helps answer:
“Is today’s volume large enough to signal major institutional activity?”
🧾 4. Data Metrics Table
Displays fundamental and contextual data about the asset:
- Market Capitalization (MC): Auto-calculated using outstanding shares × price.
- Free Float (FF): Value of tradable shares in currency or Cr (INR).
- Industry × Sector × F&O Status: Shows the company’s industry and sector classification. Displays FC (Futures Contract) or NFC (Non-F&O stock).
- Customizable appearance: Choose between text/value display, text color, and background color. Flexible positioning and size control to suit any chart layout.
📚 Helps answer:
“What type of stock is this, how big is it, and does it trade in futures?”
🪄 5. User Interface Customization
- Modular UI grouped by functionality (Risk, Direction, Metrics, Volume, etc.).
- Flexible table position & size (Top/Bottom/Middle & Tiny–Huge).
- All elements are toggleable, giving full control over displayed data.
- Built to ensure visual clarity on any chart background.
| Trading Goal | How Volume Matrix Supports It |
| ------------------------------ | -------------------------------------------------------------- |
| **Risk Management** | Calculates optimal trade size and risk exposure automatically. |
| **Position Sizing Discipline** | Enforces consistent sizing across trades using SSL levels. |
| **Volume Confirmation** | Highlights institutional participation via Episodic Pivots. |
| **Stock Context Awareness** | Shows market cap, sector, and float value instantly. |
| **Efficiency** | Reduces manual work — no need for calculators or spreadsheets. |
💡 In Short
Volume Matrix simplifies trade planning, brings transparency to risk, and connects volume with context — all in one elegant visual tool.
Perfect for:
- Discretionary traders refining entries and sizing.
- Swing traders watching for volume-based pivots.
- Analysts who want price-volume fundamentals at a glance.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.