VWAP Filtered with TrendThis indicator combines the classic **VWAP** with a trend EMA filtered by the TDFI oscillator to confirm market direction.
- VWAP is displayed in white as the fair value reference.
- The trend EMA dynamically changes color according to market condition: green (uptrend), red (downtrend), orange (range).
- Candles highlight in blue when a bullish VWAP crossover is confirmed, and in fuchsia when a bearish crossover is confirmed.
- Includes adjustable thresholds and a cooldown filter to reduce noise and improve reliability.
This approach allows traders to identify not only the relative position to VWAP but also the strength and clarity of the trend, enhancing decision-making across all timeframes.
市場センチメントを測るインジケーター
MATEOANUBISANTI BILLION SQUATMATEO-ANUBIS-SANTI
Dear traders, investors, and market enthusiasts,
We are excited to share our High-Low Indicator Range for on . This report aims to provide a clear and precise overview of the highest and lowest values recorded by during this specific hour, equipping our community with a valuable tool for making informed and strategic market decisions.
adaptive session Heatmap Volume PRO
Title: Adaptive Session Heatmap Volume PRO
Description:
1. Indicator Overview and Core Concept
This indicator is an advanced volume analysis tool designed to visualize volume flow and identify statistically significant volume spikes. It operates in a separate pane below the main chart and uses a statistical approach (either Z-Score or Percentile Rank) to normalize volume data, making it comparable across different market conditions and timeframes.
The core concept is to create a "heatmap" of volume activity, where colors instantly show the intensity of volume relative to its recent history. This allows traders to spot moments of institutional activity, potential exhaustion, or the start of a new move with greater clarity.
2. Core Calculation: Normalizing Volume
To make volume data meaningful, the indicator first normalizes it. The user can choose between two industry-standard statistical methods:
Z-Score Mode: This is the default mode. It measures how many standard deviations the current bar's volume is from the recent average volume.
A Simple Moving Average (MA Length) of the volume is calculated to establish a mean.
The Standard Deviation (Standard Deviation Length) of the volume is calculated to measure its dispersion (std).
The raw Z-Score for the current bar is calculated as: (volume - mean) / std.
This raw score is then smoothed with an EMA (Z-Score EMA Smoothing) to reduce noise and provide a more stable reading (stdbar).
Percentile Mode: This mode measures the rank of the current bar's volume relative to all other volume bars within a lookback period (Percentile Length). A value of 95% means the current volume is higher than 95% of the preceding bars.
3. Thresholds and Heatmap Levels
The indicator defines five levels of volume activity (Low, Normal, Medium, High, Extra High) based on user-defined thresholds. These thresholds are applied to the normalized value (either the Z-Score or the Percentile Rank) to classify the current volume's significance.
Adaptive Session Thresholds: A key feature is the ability to adapt these thresholds based on the market session (Asia, London, or New York). When Adaptive thresholds by session is enabled, the base thresholds are multiplied by a session-specific multiplier (Asia Multiplier, London Multiplier, NY Multiplier). This accounts for the natural ebb and flow of volume throughout the trading day, ensuring that a "high volume" spike during the quiet Asian session is evaluated differently than one during the active New York session.
4. Visual Elements and Color Modes
The indicator offers a rich set of visual tools to interpret the data:
Volume Bars: The primary plot, showing the volume for each bar.
Color Modes: The color of the volume bars can be configured in two ways:
Heatmap Mode: Colors the bars based on the volume's statistical level (e.g., red for Extra High, orange for High, etc.), regardless of the bar's direction. This is purely for identifying volume intensity.
Up/Down Mode: Colors the bars based on both the volume's level AND the direction of the price bar (up or down). For example, an Extra High volume on an up-bar will have a different color than an Extra High volume on a down-bar.
Background Heatmap Zones (Z-Score Only): When using Z-Score mode, the indicator can plot colored background zones. These zones correspond to the standard deviation levels, creating a comprehensive heatmap that visualizes the different levels of volume activity.
5. Advanced Features and Alerts
Higher Timeframe (HTF) Confirmation: The indicator can check if the volume on a higher timeframe (e.g., 15 minutes) also meets a minimum threshold (HTF spike multiplier). This acts as a powerful filter to confirm that the volume spike is significant on multiple timeframes.
Noise Filter: An ATR-based filter (Min % of ATR range) ensures that only bars with a minimum price range are considered, filtering out insignificant doji-like bars.
Cluster and Transition Analysis:
Volume Cluster: The indicator can detect a "cluster" of high-volume bars occurring within a specific window (Cluster window), alerting the user to sustained buying or selling pressure.
Transition Alert: It can generate a specific alert when the volume "jumps" from a lower level to a High or Extra High level, signaling a sudden change in market dynamics.
On-Chart Markers: Visual markers (🔔 for transitions, ⚡ for clusters) can be plotted on the main chart to draw attention to these key events.
Data Legend: A compact table on the chart displays key real-time values, including the current mode, Z-Score, Percentile Rank, session multiplier, and HTF confirmation status
(LES/SES) Compliment Net Volume(LES/SES) Compliment Net Volume
(LES/SES) Compliment Net Volume is a volume-based confirmation tool designed to show whether buyers or sellers are truly in control behind the candles. It acts as a compliment to the Long Elite Squeeze (LES) and Short Elite Squeeze (SES) frameworks, giving traders a clearer view of momentum strength.
Note! {Short Elite Squeeze (SES) Will be released in the Future}
-Designed to take shorts opposite of the long trades from LES
🔹 Core Logic
Net Volume Calculation – Positive volume when price closes higher, negative when price closes lower.
Cumulative Smoothing – Uses a rolling SMA of cumulative differences to remove noise.
Color Coding –
Green → Buyer dominance
Red → Seller dominance
Gray → Neutral pressure
🔹 How to Use
Above zero (green) → Buyers dominate → supports long setups (LES).
Below zero (red) → Sellers dominate → supports short setups (SES).
Flat/gray → No clear pressure → signals caution or chop.
This makes it easier to confirm when market participation aligns with a potential entry or exit.
🔹 Credit
The Compliment Net Volume was developed by Hunter Hammond (Elite x FineFir) as part of the LES/SES system.
The concept builds on classic Net Volume and cumulative volume analysis principles shared by the TradingView community, but has been uniquely adapted into the LES/SES framework.
⚠️ Disclaimer: This is a framework tool, not financial advice. Use with proper risk management.
AJForex Sessions + Killzones (Boxes)use timeline UTC -4 AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)AJForex Sessions + Killzones (Boxes)
YoY Gain till current yearYoy gains that helps you build your data base. You can see all the gains from the past 20 years and thus helps you analyze the stock movement and expected gain over the period of time, com bine this information with market cap of the stock and you can know its future potential combined with current and past earnings analysis.
Z-Score with Scaled RSICombination of a Zscore and a rsi. The goal is to measure the situation of the volatility byu a zscore confirmed with a rsi
Market Breadth (NIFTY50)This market breadth indicator good to indentified short term market sentiment.
Institutional Interest DisplayIndicator Overview:
This dashboard helps evaluate stocks quickly based on Market Cap, 52-week positioning, and liquidity metrics. It combines price strength with volume demand signals for breakout or institutional interest.
Logic Implemented:
1. Market Cap Classification:
- Market Cap = close × shares_outstanding (built-in value if available)
- Large-cap: ≥ ₹20,000 Cr
- Mid-cap: ₹5,000 – 20,000 Cr
- Small-cap: < ₹5,000 Cr
2. 52-Week Range (% from High/Low):
- 52W High = ta.highest(high, 252)
- 52W Low = ta.lowest(low, 252)
- % from 52W High = (Close ÷ 52W High – 1) × 100
- % from 52W Low = (Close ÷ 52W Low – 1) × 100
- CANSLIM logic → Prefer stocks near highs, avoid near lows
3. Average Daily Volume (ADV):
- ADV = ta.sma(volume, 50)
- Chosen 50D (more reliable than 20/30D, smooths anomalies)
4. Breakout Volume Confirmation:
- Volume Signal = Current Volume ÷ ADV
- Breakout Threshold = >1.5 × ADV
- Helps detect demand-driven price breakouts
5. % Change in Volume vs ADV:
- %Chg = ((Current Vol ÷ ADV) – 1) × 100
- Indicates abnormal activity vs typical trading
6. Up/Down Volume Ratio (U/D Ratio):
- Defined as: (Sum of volume on up days ÷ Sum of volume on down days)
- 50-day window
- U/D > 1 = net buying pressure
- U/D > 1.2 = stronger institutional demand
7. Up Days with Volume ≥ 1.5 × ADV:
- Counts number of up days (Close > Previous Close) in last 50 days where Volume ≥ 1.5 × ADV
8. Average Turnover:
- AvgTurnover = Avg Volume × Price
- Thresholds:
- Large-cap ≥ 1000M
- Mid-cap ≥ 200M
- Small-cap ≥ 50M
Table Layout:
- 4 Columns:
- Col 1 → Category, Market Cap, % from 52W Low, % from 52W High
- Col 2 → Values for above
- Col 3 → Avg Volume, Vol Today, %Chg Vol, U/D Ratio
- Col 4 → Values for above + Up Days >1.5 × ADV, Avg Turnover
Color Coding:
- Value cells have distinct background colors
- Labels = black text, grey background
- Green highlights signify thresholds met
Donchian Squeeze Oscillator# Donchian Squeeze Oscillator (DSO) - User Guide
## Overview
The Donchian Squeeze Oscillator is a technical indicator designed to identify periods of low volatility (squeeze) and high volatility (expansion) in financial markets by measuring the distance between Donchian Channel bands. The indicator normalizes this measurement to a 0-100 scale, making it easy to interpret across different timeframes and instruments.
## How It Works
The DSO calculates the width of Donchian Channels as a percentage of the middle line, smooths this data, and then normalizes it using historical highs and lows over a specified lookback period. The result is inverted so that:
- **High values (80+)** = Narrow channels = Low volatility = Squeeze
- **Low values (20-)** = Wide channels = High volatility = Expansion
## Key Parameters
### Core Settings
- **Donchian Channel Period (20)**: The number of bars used to calculate the highest high and lowest low for the Donchian Channels
- **Smoothing Period (5)**: Applies moving average smoothing to reduce noise in the oscillator
- **Normalization Lookback (200)**: Historical period used to normalize the oscillator between 0-100
### Threshold Levels
- **Over Squeeze (80)**: Values above this level indicate strong squeeze conditions
- **Over Expansion (20)**: Values below this level indicate strong expansion conditions
## Reading the Indicator
### Color Coding
- **Red Line**: Squeeze condition (above 80 threshold) - Markets are consolidating
- **Orange Line**: Neutral/trending condition with upward momentum
- **Green Line**: Expansion condition or downward momentum
### Visual Elements
- **Red Dashed Line (80)**: Squeeze threshold - potential breakout zone
- **Gray Dotted Line (50)**: Middle line - neutral zone
- **Green Dashed Line (20)**: Expansion threshold - high volatility zone
- **Red Background**: Highlights active squeeze periods
## Trading Applications
### 1. Breakout Trading
- **Setup**: Wait for DSO to reach 80+ (squeeze zone)
- **Entry**: Look for breakouts when DSO starts declining from squeeze levels
- **Logic**: Prolonged low volatility often precedes significant price movements
### 2. Volatility Cycle Trading
- **Squeeze Phase**: DSO > 80 - Prepare for potential breakout
- **Breakout Phase**: DSO declining from 80 - Trade the direction of breakout
- **Expansion Phase**: DSO < 20 - Expect trend continuation or reversal
### 3. Trend Confirmation
- **Orange Color**: Suggests bullish momentum during expansion
- **Green Color**: Suggests bearish momentum or consolidation
- Use in conjunction with price action for trend confirmation
## Best Practices
### Timeframe Selection
- **Higher Timeframes (Daily, 4H)**: More reliable signals, fewer false breakouts
- **Lower Timeframes (1H, 15M)**: More frequent signals but higher noise
- **Multi-timeframe Analysis**: Confirm squeeze on higher TF, enter on lower TF
### Parameter Optimization
- **Volatile Markets**: Increase Donchian period (25-30) and smoothing (7-10)
- **Range-bound Markets**: Decrease Donchian period (15-20) for more sensitivity
- **Trending Markets**: Use longer normalization lookback (300-400)
### Signal Confirmation
Always combine DSO signals with:
- **Price Action**: Support/resistance levels, chart patterns
- **Volume**: Confirm breakouts with increasing volume
- **Other Indicators**: RSI, MACD, or momentum oscillators
## Alert System
The indicator includes built-in alerts for:
- **Squeeze Started**: When DSO crosses above the squeeze threshold
- **Expansion Started**: When DSO crosses below the expansion threshold
## Common Pitfalls to Avoid
1. **False Breakouts**: Don't trade every squeeze - wait for confirmation
2. **Parameter Over-optimization**: Stick to default settings initially
3. **Ignoring Market Context**: Consider overall market conditions and news
4. **Single Indicator Reliance**: Always use additional confirmation tools
## Advanced Tips
- Monitor squeeze duration - longer squeezes often lead to bigger moves
- Look for squeeze patterns at key support/resistance levels
- Use DSO divergences with price for potential reversal signals
- Combine with Bollinger Band squeezes for enhanced accuracy
## Conclusion
The Donchian Squeeze Oscillator is a powerful tool for identifying volatility cycles and potential breakout opportunities. Like all technical indicators, it should be used as part of a comprehensive trading strategy rather than as a standalone signal generator. Practice with the indicator on historical data before implementing it in live trading to understand its behavior in different market conditions.
BreakTrend MatrixBreakTrend Matrix is a smart indicator designed to be easy to use yet powerful, suitable for traders of all levels, whether they are scalpers, breakout traders or swing traders. It supports analysis of multiple time frames in one.
YBL_LUXE — Squeeze Momentum (Panel + Pinta Velas) v1.0📌 Description of the indicator: YBL_LUXE — Squeeze Momentum Panel
The YBL_LUXE Squeeze Momentum Panel is an advanced tool that combines momentum analysis with a squeeze detector, giving traders a precise view of when the market is contracting and when it may explode into strong directional moves.
🔎 How it works
Momentum Histogram:
Green/Blue bars → Strong bullish pressure.
Red/Orange bars → Strong bearish pressure.
Fading colors → Weakening momentum.
Squeeze ON/OFF signals:
Black dots (ON) → Market is in compression (Bollinger Bands inside Keltner Channels).
Yellow dots (OFF) → Compression is released, possible breakout coming.
⚡ Key Benefits
Detects accumulation phases and breakout conditions.
Highlights true momentum and filters noise.
Clean and professional design, fully customizable.
Works on any asset or timeframe (stocks, indices, futures, forex, crypto).
🎯 Trading Tips
Watch for Squeeze ON (black dots) → the market is storing energy.
When dots switch to Squeeze OFF (yellow) → watch for a potential breakout.
Confirm direction with histogram colors:
Green/blue = bullish bias.
Red/orange = bearish bias.
🛠️ Settings & Customization
Adjustable histogram colors.
Squeeze dots ON/OFF colors.
Zero line visibility.
Histogram style customization.
👉 Ideal for scalping, day trading, and swing trading, this indicator gives you a powerful visual confirmation of market compression and expansion phases.
YBL_LUXE — Squeeze Momentum (Panel + Pinta Velas) v1.0📌 Description of the indicator: YBL_LUXE — Squeeze Panel v1.0
The YBL_LUXE Squeeze Panel combines momentum analysis with the detection of squeeze zones, offering a clear and visually powerful view of when the market is building up energy and when it releases it into directional moves.
🔎 How it works
The histogram shows price momentum:
Strong Green/Blue → Strong bullish momentum.
Strong Red/Orange → Strong bearish momentum.
Lighter colors → Gradual loss of strength.
The Squeeze ON/OFF system (dots):
Black (ON) → Market in compression (Bollinger Bands inside Keltner Channels).
Yellow (OFF) → Market has released compression and may start an explosive move.
⚡ Key advantages
Easily identifies accumulation moments and potential breakouts.
Highlights true momentum, filtering out market noise.
Clean and professional design, 100% customizable in colors and styles.
Works on any timeframe and asset (indices, futures, forex, crypto, stocks).
🎯 How to use
Wait for Squeeze ON (black dots) → market is compressing.
When it switches to Squeeze OFF (yellow dots) → market may release energy and move strongly.
Confirm the direction with the momentum histogram color:
Green/blue → higher probability of bullish breakout.
Red/orange → higher probability of bearish breakout.
🛠️ Customization
From the settings panel you can adjust:
Histogram colors.
Squeeze dots colors (ON/OFF).
Zero line visibility.
Histogram bar style.
👉 This indicator is ideal for scalping, day trading, and swing trading, as it helps detect consolidation zones and strong breakouts, combining compression + momentum.
YBL_LUXE — Squeeze Momentum (Panel + Pinta Velas) v1.0📌 Description of the indicator: YBL_LUXE — Squeeze Panel v1.0
The YBL_LUXE Squeeze Panel combines momentum analysis with the detection of squeeze zones, offering a clear and visually powerful view of when the market is building up energy and when it releases it into directional moves.
🔎 How it works
The histogram shows price momentum:
Strong Green/Blue → Strong bullish momentum.
Strong Red/Orange → Strong bearish momentum.
Lighter colors → Gradual loss of strength.
The Squeeze ON/OFF system (dots):
Black (ON) → Market in compression (Bollinger Bands inside Keltner Channels).
Yellow (OFF) → Market has released compression and may start an explosive move.
⚡ Key advantages
Easily identifies accumulation moments and potential breakouts.
Highlights true momentum, filtering out market noise.
Clean and professional design, 100% customizable in colors and styles.
Works on any timeframe and asset (indices, futures, forex, crypto, stocks).
🎯 How to use
Wait for Squeeze ON (black dots) → market is compressing.
When it switches to Squeeze OFF (yellow dots) → market may release energy and move strongly.
Confirm the direction with the momentum histogram color:
Green/blue → higher probability of bullish breakout.
Red/orange → higher probability of bearish breakout.
🛠️ Customization
From the settings panel you can adjust:
Histogram colors.
Squeeze dots colors (ON/OFF).
Zero line visibility.
Histogram bar style.
👉 This indicator is ideal for scalping, day trading, and swing trading, as it helps detect consolidation zones and strong breakouts, combining compression + momentum.
Precision AI Trading Pro🔹 Overview
EN:
Precision AI Trading Pro is an advanced indicator built for adaptability across Crypto, Gold, US Futures, and Forex. Instead of guessing tops and bottoms, it focuses on multi-layer confirmations: higher timeframe alignment, EMA trend structure, momentum filters, and risk-based scoring.
中文:
Precision AI Trading Pro 是一款專為多市場打造的進階版指標,適用於加密貨幣、黃金、美股期貨與外匯。它的重點並非預測轉折,而是透過多層濾網確認進場,結合高階時框共振、EMA 趨勢結構、動能濾網與風險星級評分。
🔹 11 Filter Systems / 11 種過濾系統
HTF Trend Alignment – Confirms higher timeframe direction for stronger bias.
高階時框趨勢共振 – 確認高階時框方向,提高進場可靠度。
Bright Zone (RSI extremes) – Avoids chasing in overbought/oversold extremes.
亮區 (極端 RSI) – 避免在超買/超賣區域追單。
LTF Trend Structure – Ensures local EMAs (3/8/21) align with price action.
低階時框趨勢結構 – 要求 EMA(3/8/21) 與價格方向一致。
MACD Filter – Uses MACD line & signal to confirm momentum strength.
MACD 濾網 – 透過 MACD 快慢線確認動能方向。
Volume Filter – Requires above-average volume to validate signals.
量能濾網 – 必須成交量高於平均,訊號才有效。
ADX Gate – Trades only when ADX shows trend strength, avoids chop.
ADX 閘 – 僅在 ADX 顯示趨勢強度時進場,避免盤整假訊號。
Structure Breakout – Needs breakout of recent swing high/low with buffer.
結構突破 – 需突破近期高低點(含 ATR 緩衝)才允許進場。
Pullback to EMA – Waits for EMA8/21 retest before entry.
回踩 EMA – 僅在回踩 EMA8/21 後才進場。
EMA Band Width – Filters out narrow EMA bands (no clear trend).
EMA 窄帶濾網 – 排除 EMA 過窄的盤整市況。
Peak Guard – Blocks signals during overheated moves, new highs, or surges.
Peak Guard 高位防護 – 避免過熱、新高或急漲時追單。
Trendline / EMA200 Confirmation – Requires EMA200 or pivot-line breakout.
趨勢線 / EMA200 確認 – 僅在突破 EMA200 或樞紐趨勢線後才有效。
(User can define how many filters must be passed, default = 7)
(用戶可自訂需通過幾項濾網才產生訊號,預設為 7 項)
🔹 Features / 功能特色
EN:
Multi-market presets (Crypto, Gold, Futures, Forex)
TP/SL auto-calculation and labels with dynamic R:R
Risk-based star rating system (0★ to 5★)
Optional Peak Guard (avoid chasing extended moves)
Signal modes: Conservative / Balanced / Aggressive
中文:
多市場預設(加密貨幣、黃金、期貨、外匯)
TP/SL 自動計算與標註(動態風報比)
基於風險的星級評分系統(0★ 至 5★)
可選 Peak Guard 功能,避免過度延伸追單
訊號模式:保守 / 平衡 / 積極
🔹 Usage / 操作說明
EN:
Choose your market preset (Crypto, Gold, US Futures, Forex).
Adjust the number of required filters (filterLayers) — default = 7.
TP/SL and risk parameters can be tuned per symbol & timeframe.
Star ratings (0★–5★) help visualize risk level and confluence strength.
Peak Guard and signal modes (Conservative/Balanced/Aggressive) can be toggled based on preference.
中文:
選擇市場預設(加密貨幣、黃金、美股期貨、外匯)。
可調整所需濾網通過數 (filterLayers),預設為 7。
TP/SL 與風險參數可依幣種與時框自行微調。
星級評分(0★–5★)用於直觀顯示風險程度與共振強度。
Peak Guard 以及訊號模式(保守 / 平衡 / 積極)可依需求開關。
⚠️ Disclaimer / 免責聲明
EN:
This indicator is for research and educational purposes only. It is not financial advice and should not be considered a guarantee of profits. Always test responsibly before using it on live markets.
中文:
本指標僅供研究與教育用途。這並非投資建議,也不保證獲利。請務必在實盤使用前,先行測試並謹慎評估風險。
ICT Silver Bullet Zones (All Sessions)This Pine Script v6 indicator highlights the ICT Silver Bullet windows (10:00–11:00 local time) for all major forex/trading sessions: London, New York AM, New York PM, and Asia.
✅ Features:
Clearly visualizes Silver Bullet zones for each session.
Labels are centered inside each zone for easy identification.
Fully compatible with Pine Script v6 and TradingView.
Adjustable opacity and label size for better chart visibility.
Works on any timeframe and keeps historical zones visible.
Use Case:
Perfect for ICT strategy traders who want to identify high-probability trading windows during major market sessions. Helps in planning entries and understanding liquidity timing without cluttering the chart.
Instructions:
Add the script to your TradingView chart.
Adjust opacity and label size to suit your chart style.
Observe the SB zones for all sessions and plan trades according to ICT methodology.
EMA 20–55 + SMMA50 (20↔55 Band, Alerts, Color Controls)This script plots a customizable EMA ribbon and a smoothed moving average (SMMA).
Key features:
EMA 20 (blue) and EMA 55 (yellow) highlighted with a green/red background ribbon depending on trend.
Optional middle EMAs (25, 30, 35, 40, 45, 50) can be shown or hidden.
SMMA (50) plotted in white as a trend smoother.
Customizable line colors, band colors, and transparency.
Alerts for EMA20/EMA55 bullish or bearish crossovers.
Optional candle bar coloring based on trend.
This is useful for quickly spotting medium-term trend shifts when EMA20 crosses EMA55, while still tracking the broader EMA ribbon context.
NSE: N50, BN, MIDCAP, FINNIFTY Gainers/Losers JitendraSummary of This Indicator
I Have Created This Gainers/Losers dashboard for selected NSE Indices
It is Divided in to symbol groups
1. Nifty Top 39 -High Weight Stocks
2. Nifty Rest 11-Remaining 11 Nifty stocks Low Weightage
3. Bank Nifty,
4. Financial Services,
5. Midcap Select
All Stock Used in Script is As per Latest Data Published by NSE, you can also check buy clicking below link
www.niftyindices.com
Main Features of Indicator
It Has Two Display Modes
Full Table → Shows each stock’s name and its daily % change, sorted from top gainer to top loser.
Compact Count Table → Shows just total number of gainers vs losers.
Customizable Inputs
Choose symbol list (High-weight Nifty, Bank Nifty, etc.).
Select table size (tiny → large).
Control table position (Top/Bottom/Middle, Left/Right/Center).
Customize gainer/loser colors.
Option to toggle full table or compact table on/off.
Data Handling
Fetches each stock’s close price vs previous day using request.security().
Calculates % change for all symbols.
Uses a bubble sort function to arrange stocks in descending order of % change.
Outputs
Full Gainers/Losers Table (sorted, detailed).
Compact Summary Table (just counts).
After Selecting Nifty Indices
Data Fetch Command Summary
Symbol Loop & Data Fetch
for i = 0 to array.size(symbolList)-1
sym = array.get(symbolList, i)
= request.security(sym, 'D', [close, close ])
chg = na(y) ? na : (c - y) / y * 100
if not na(chg)
array.push(chgList, chg) // store % change
array.push(nameList, sym) // store symbol name
gainers += chg > 0 ? 1 : 0
losers += chg < 0 ? 1 : 0
Sorting Function (Bubble Sort, Descending by % Change)
f_sortDesc(_a, _b) =>
len = array.size(_a)
if len > 1
for i = 0 to len - 2
for j = i + 1 to len - 1
if array.get(_a, j) > array.get(_a, i)
tempVal = array.get(_a, i)
tempSym = array.get(_b, i)
array.set(_a, i, array.get(_a, j))
array.set(_b, i, array.get(_b, j))
array.set(_a, j, tempVal)
array.set(_b, j, tempSym)
Thanks
Quantum Trading MatrixThe Quantum Trading Matrix is a sophisticated Pine Script indicator designed for TradingView that offers a comprehensive trading dashboard by combining multiple market analysis techniques in one interface. The indicator integrates price action, volume, momentum, trend detection, institutional activity, and technical oscillators to provide traders a unified perspective on the market.
At its core, the script uses fundamental market data like price (open, high, low, close) and volume to calculate various metrics. The VWAP (Volume Weighted Average Price) is a key element that helps traders understand if the price is trading above or below the average price weighted by volume, indicating market strength or weakness. The distance of the current price from the VWAP is computed as a percentage to signal how far the price has diverged from this benchmark.
Momentum is measured through a "Quantum Momentum Oscillator" derived from the difference between fast and slow exponential moving averages of price. Positive momentum signals bullish conditions while negative momentum signals bearish ones. Volume flow analysis breaks down buying versus selling pressure on each bar by observing where the close price lies within the daily range combined with volume, generating an order flow ratio. This aids in identifying if buyers or sellers dominate the market at a given time.
Trend detection involves calculating EMAs of different lengths (8, 21, and 50) and aggregating their relationships into a trend score. Scores range from strong uptrend to downtrend, providing a clear directional bias. Institutional activity is inferred by detecting volume spikes significantly above the average volume, suggesting large players might be active. A dark pool estimate provides an approximate volume figure representing hidden or off-exchange trading.
The script also identifies market structure by detecting pivot highs and lows which act as resistance and support levels, respectively. These levels offer valuable insight into potential price reversals or breakouts. The RSI (Relative Strength Index) is incorporated, including a basic divergence detection to suggest potential bull or bear reversals. Volatility is measured using the Average True Range (ATR), classifying the current volatility from low to extreme, helping traders gauge the risk environment.
All these metrics are combined into a scoring system that awards points for positive indications such as price above VWAP, positive order flow, bullish momentum, and an uptrend in EMAs. The overall score ranges from 0 to 100 and is interpreted visually with emojis: a rocket for strong bullish setups, a chart up emoji for positive bias, a balanced scale for neutral, and a chart down emoji for bearish conditions.
The indicator issues alerts based on the combination of these signals, including bullish and bearish setups when multiple criteria align favorably, volume spike alerts when abnormal volume events occur, and institutional activity alerts for high volume surges.
To use this indicator effectively, traders should first assess the trend direction indicated by the EMA-based scoring. Positive momentum and price trading above the VWAP confirm bullish bias, while the opposite suggests bearishness. Volume flow and institutional activity provide additional confirmation. Support and resistance levels derived from pivots help in planning entries and exits. The RSI and volatility readings inform traders of potential overbought or oversold conditions and market risk levels. Alerts provide timely notifications to act on significant setups.
The indicator is highly customizable, allowing users to adjust the dashboard's position, size, and color theme to suit personal preferences. Parameters such as the momentum period, volume profile bars, trend multiplier, and signal sensitivity can be fine-tuned to adapt to different markets and trading styles.
This tool requires foundational knowledge of key technical concepts such as EMAs, VWAP, ATR, RSI, and volume analysis for best utilization. For traders interested in expanding their understanding, recommended resources include the TradingView Pine Script manual, technical analysis books by John J. Murphy and Dr. Alexander Elder, and practical video tutorials focusing on volume spread analysis and institutional order flow.
Overall, the Quantum Trading Matrix™ serves as a powerful control panel for active traders, providing a multi-dimensional view of the market through combined technical indicators, helping to identify high probability trade setups and manage risk effectively.
________________________________________
⚠️ Warning:
• Trading financial markets involves substantial risk.
• You can lose more money than you invest.
• Past performance of indicators does not guarantee future results.
• This script must not be copied, resold, or republished without authorization from aiTrendview.
By using this material or the code, you agree to take full responsibility for your trading decisions and acknowledge that this is not financial advice.
________________________________________
⚠️ Disclaimer and Warning (From aiTrendview)
This Dynamic Trading Dashboard is created strictly for educational and research purposes on the TradingView platform. It does not provide financial advice, buy/sell recommendations, or guaranteed returns. Any use of this tool in live trading is completely at the user’s own risk. Markets are inherently risky; losses can exceed initial investment.
The intellectual property of this script and its methodology belongs to aiTrendview. Unauthorized reproduction, modification, or redistribution of this code is strictly prohibited. By using this study material or the script, you acknowledge personal responsibility for any trading outcomes. Always consult professional financial advisors before making investment decisions.
Pivot Matrix & Multi-Timeframe Support-Resistance Analytics________________________________________
📘 Study Material for Pivot Matrix & Multi Timeframe Support-Resistance Analytics
(By aiTrendview — Educational Use Only)
________________________________________
🎯 Introduction
The Pivot Matrix & Multi Timeframe Support-Resistance Analytics indicator is designed to help traders visualize pivot points, support/resistance levels, VWAP, and volume flow analytics all in one place. Rather than giving explicit buy/sell calls, the dashboard provides reference insights so a learner may understand how different technical levels interact in real time.
This document explains its functionality step by step with formulas and usage guides.
________________________________________
1️⃣ Pivot System Logic
Pivot points are classic tools for mapping market support and resistance levels.
✦ How Calculated?
Using the Traditional Method:
• Pivot Point (PP):
PP=Highprev+Lowprev+Closeprev3PP = \frac{High_{prev} + Low_{prev} + Close_{prev}}{3}PP=3Highprev+Lowprev+Closeprev
• First Support/Resistance:
R1=2×PP−Lowprev,S1=2×PP−HighprevR1 = 2 \times PP - Low_{prev}, \quad S1 = 2 \times PP - High_{prev}R1=2×PP−Lowprev,S1=2×PP−Highprev
• Second Support/Resistance:
R2=PP+(Highprev−Lowprev),S2=PP−(Highprev−Lowprev)R2 = PP + (High_{prev} - Low_{prev}), \quad S2 = PP - (High_{prev} - Low_{prev})R2=PP+(Highprev−Lowprev),S2=PP−(Highprev−Lowprev)
• Third Levels:
R3=Highprev+2×(PP−Lowprev),S3=Lowprev−2×(Highprev−PP)R3 = High_{prev} + 2 \times (PP - Low_{prev}), \quad S3 = Low_{prev} - 2 \times (High_{prev} - PP)R3=Highprev+2×(PP−Lowprev),S3=Lowprev−2×(Highprev−PP)
• Similarly, R4/R5 and S4/S5 are extrapolated from extended range multipliers.
✦ How Used?
• Price above PP → bullish control bias.
• Price below PP → bearish control bias.
• R1–R5 levels act as resistances; S1–S5 act as supports.
Learners should watch how candles behave when approaching R/S zones to spot breakout vs. rejection conditions.
________________________________________
2️⃣ Multi Timeframe Logic
The indicator allows using daily-based pivot values (via request.security). This ensures alignment with institutional daily levels, not just intraday recalculations.
✦ Teaching Value
Understanding MTF pivots shows how markets respect higher timeframe levels (daily > intraday, weekly > daily). This helps learners grasp nested support-resistance structures.
________________________________________
3️⃣ VWAP (Volume Weighted Average Price)
Formula:
VWAPt=∑(Pricei×Volumei)∑(Volumei),Pricei=High+Low+Close3VWAP_t = \frac{\sum (Price_i \times Volume_i)}{\sum (Volume_i)}, \quad Price_i = \frac{High + Low + Close}{3}VWAPt=∑(Volumei)∑(Pricei×Volumei),Pricei=3High+Low+Close
Usage:
• VWAP is used as an institutional benchmark of fair value.
• Above VWAP = bullish flow.
• Below VWAP = bearish flow.
Learners should check whether price respects VWAP as a magnet or uses it as support/resistance.
________________________________________
4️⃣ Volume Flow Analysis
The script classifies buy volume, sell volume, and neutral volume.
• Buy Volume = if close > open.
• Sell Volume = if close < open.
• Neutral Volume = if close = open.
For daily tracking:
Buy%=DayBuyVolDayTotalVol×100,Sell%=DaySellVolDayTotalVol×100Buy\% = \frac{DayBuyVol}{DayTotalVol} \times 100, \quad Sell\% = \frac{DaySellVol}{DayTotalVol} \times 100Buy%=DayTotalVolDayBuyVol×100,Sell%=DayTotalVolDaySellVol×100
Usage for Learners:
• Dominant Buy% → accumulation/ bullish pressure.
• Dominant Sell% → distribution/ bearish pressure.
• Balanced → sideways liquidity building.
This teaches observation of order flow bias rather than relying only on price.
________________________________________
5️⃣ Dashboard Progress Bars & Colors
The script uses visual progress bars and dynamic colors for clarity. For example:
• VWAP Backgrounds: Green shades when price strongly above VWAP, Red when below.
• Volume Bars: More green blocks mean buying dominance, red means selling pressure.
This visual design turns concepts into easy-to-digest cues, useful for training.
________________________________________
6️⃣ Market Status Summary
Finally, the dashboard synthesizes all data points:
• Price vs Pivot (above or below).
• Price vs VWAP (above or below).
• Volume Pressure (buy side vs sell side).
Status Rule:
• If all three align bullish → Status box turns green.
• If mixed → Neutral grey.
• If bearish dominance → weaker tone.
Why Important?
This teaches learners that market conditions should align in confluence across indicators before confidence arises.
________________________________________
⚠️ Strict Disclaimer (aiTrendview)
The Pivot Matrix & Multi Timeframe Support-Resistance Analytics tool is developed by aiTrendview for strictly educational and research purposes.
❌ It does NOT provide buy/sell recommendations.
❌ It does NOT guarantee profits.
❌ Unauthorized use, copying, or redistribution of this code is prohibited.
⚠️ Trading Risk Warning:
• Trading involves high risk of financial loss.
• You may lose more than your capital.
• Past levels and indicators do not predict future outcomes.
This tool must be viewed as a visual education aid to practice technical analysis skills, not as trading advice.
________________________________________
✅ Now you have a step by step study guide:
• Pivot calculations explained
• VWAP with logic
• Volume breakdown
• Visual analytics
• Status confluence logic
• Disclaimer for compliance
________________________________________
⚠️ Warning:
• Trading financial markets involves substantial risk.
• You can lose more money than you invest.
• Past performance of indicators does not guarantee future results.
• This script must not be copied, resold, or republished without authorization from aiTrendview.
By using this material or the code, you agree to take full responsibility for your trading decisions and acknowledge that this is not financial advice.
________________________________________
⚠️ Disclaimer and Warning (From aiTrendview)
This Dynamic Trading Dashboard is created strictly for educational and research purposes on the TradingView platform. It does not provide financial advice, buy/sell recommendations, or guaranteed returns. Any use of this tool in live trading is completely at the user’s own risk. Markets are inherently risky; losses can exceed initial investment.
The intellectual property of this script and its methodology belongs to aiTrendview. Unauthorized reproduction, modification, or redistribution of this code is strictly prohibited. By using this study material or the script, you acknowledge personal responsibility for any trading outcomes. Always consult professional financial advisors before making investment decisions.
DYNAMIC TRADING DASHBOARDStudy Material for the "Dynamic Trading Dashboard"
This Dynamic Trading Dashboard is designed as an educational tool within the TradingView environment. It compiles commonly used market indicators and analytical methods into one visual interface so that traders and learners can see relationships between indicators and price action. Understanding these indicators, step by step, can help traders develop discipline, improve technical analysis skills, and build strategies. Below is a detailed explanation of each module.
________________________________________
1. Price and Daily Reference Points
The dashboard displays the current price, along with percentage change compared to the day’s opening price. It also highlights whether the price is moving upward or downward using directional symbols. Alongside, it tracks daily high, low, open, and daily range.
For traders, daily levels provide valuable reference points. The daily high and low are considered intraday support and resistance, while the median price of the day often acts as a pivot level for mean reversion traders. Monitoring these helps learners see how price oscillates within daily ranges.
________________________________________
2. VWAP (Volume Weighted Average Price)
VWAP is calculated as a cumulative average price weighted by volume. The dashboard compares the current price with VWAP, showing whether the market is trading above or below it.
For traders, VWAP is often a guide for institutional order flow. Price trading above VWAP suggests bullish sentiment, while trading below VWAP indicates bearish sentiment. Learners can use VWAP as a training tool to recognize trend-following vs. mean reversion setups.
________________________________________
3. Volume Analysis
The system distinguishes between buy volume (when the closing price is higher than the open) and sell volume (when the closing price is lower than the open). A progress bar highlights the ratio of buying vs. selling activity in percentage.
This is useful because volume confirms price action. For instance, if prices rise but sell volume dominates, it can signal weakness. New traders learning with this tool should focus on how volume often precedes price reversals and trends.
________________________________________
4. RSI (Relative Strength Index)
RSI is a momentum oscillator that measures price strength on a scale from 0 to 100. The dashboard classifies RSI readings into overbought (>70), oversold (<30), or neutral zones and adds visual progress bars.
RSI helps learners understand momentum shifts. During training, one should notice how trending markets can keep RSI extended for longer periods (not immediate reversal signals), while range-bound markets react more sharply to RSI extremes. It is an excellent tool for practicing trend vs. range identification.
________________________________________
5. MACD (Moving Average Convergence Divergence)
The MACD indicator involves a fast EMA, slow EMA, and signal line, with focus on crossovers. The dashboard shows whether a “bullish cross” (MACD above signal line) or “bearish cross” (MACD below signal line) has occurred.
MACD teaches traders to identify trend momentum shifts and divergence. During practice, traders can explore how MACD signals align with VWAP trends or RSI levels, which helps in building a structured multi-indicator analysis.
________________________________________
6. Stochastic Oscillator
This indicator compares the current close relative to a range of highs and lows over a period. Displayed values oscillate between 0 and 100, marking zones of overbought (>80) and oversold (<20).
Stochastics are useful for students of trading to recognize short-term momentum changes. Unlike RSI, it reacts faster to price volatility, so false signals are common. Part of the training exercise can be to observe how stochastic “flips” can align with volume surges or daily range endpoints.
________________________________________
7. Trend & Momentum Classification
The dashboard adds simple labels for trend (uptrend, downtrend, neutral) based on RSI thresholds. Additionally, it provides quick momentum classification (“bullish hold”, “bearish hold”, or neutral).
This is beneficial for beginners as it introduces structured thinking: differentiating long-term market bias (trend) from short-term directional momentum. By combining both, traders can practice filtering signals instead of trading randomly.
________________________________________
8. Accumulation / Distribution Bias
Based on RSI levels, the script generates simplified tags such as “Accumulate Long”, “Accumulate Short”, or “Wait”.
This is purely an interpretive guide, helping learners think in terms of accumulation phases (when markets are low) and distribution phases (when markets are high). It reinforces the concept that trading is not only directional but also involves timing.
________________________________________
9. Overall Market Status and Score
Finally, the dashboard compiles multiple indicators (VWAP position, RSI, MACD, Stochastics, and price vs. median levels) into a Market Score expressed as a percentage. It also labels the market as Overbought, Oversold, or Normal.
This scoring system isn’t a recommendation but a learning framework. Students can analyze how combining different indicators improves decision-making. The key training focus here is confluence: not depending on one indicator but observing when several conditions align.
Extended Study Material with Formulas
________________________________________
1. Daily Reference Levels (High, Low, Open, Median, Range)
• Day High (H): Maximum price of the session.
DayHigh=max(Hightoday)DayHigh=max(Hightoday)
• Day Low (L): Minimum price of the session.
DayLow=min(Lowtoday)DayLow=min(Lowtoday)
• Day Open (O): Opening price of the session.
DayOpen=OpentodayDayOpen=Opentoday
• Day Range:
Range=DayHigh−DayLowRange=DayHigh−DayLow
• Median: Mid-point between high and low.
Median=DayHigh+DayLow2Median=2DayHigh+DayLow
These act as intraday guideposts for seeing how far the price has stretched from its key reference levels.
________________________________________
2. VWAP (Volume Weighted Average Price)
VWAP considers both price and volume for a weighted average:
VWAPt=∑i=1t(Pricei×Volumei)∑i=1tVolumeiVWAPt=∑i=1tVolumei∑i=1t(Pricei×Volumei)
Here, Price_i can be the average price (High + Low + Close) ÷ 3, also known as hlc3.
• Interpretation: Price above VWAP = bullish bias; Price below = bearish bias.
________________________________________
3. Volume Buy/Sell Analysis
The dashboard splits total volume into buy volume and sell volume based on candle type.
• Buy Volume:
BuyVol=Volumeif Close > Open, else 0BuyVol=Volumeif Close > Open, else 0
• Sell Volume:
SellVol=Volumeif Close < Open, else 0SellVol=Volumeif Close < Open, else 0
• Buy Ratio (%):
VolumeRatio=BuyVolBuyVol+SellVol×100VolumeRatio=BuyVol+SellVolBuyVol×100
This helps traders gauge who is in control during a session—buyers or sellers.
________________________________________
4. RSI (Relative Strength Index)
RSI measures strength of momentum by comparing gains vs. losses.
Step 1: Compute average gains (AG) and losses (AL).
AG=Average of Upward Closes over N periodsAG=Average of Upward Closes over N periodsAL=Average of Downward Closes over N periodsAL=Average of Downward Closes over N periods
Step 2: Calculate relative strength (RS).
RS=AGALRS=ALAG
Step 3: RSI formula.
RSI=100−1001+RSRSI=100−1+RS100
• Used to detect overbought (>70), oversold (<30), or neutral momentum zones.
________________________________________
5. MACD (Moving Average Convergence Divergence)
• Fast EMA:
EMAfast=EMA(Close,length=fast)EMAfast=EMA(Close,length=fast)
• Slow EMA:
EMAslow=EMA(Close,length=slow)EMAslow=EMA(Close,length=slow)
• MACD Line:
MACD=EMAfast−EMAslowMACD=EMAfast−EMAslow
• Signal Line:
Signal=EMA(MACD,length=signal)Signal=EMA(MACD,length=signal)
• Histogram:
Histogram=MACD−SignalHistogram=MACD−Signal
Crossovers between MACD and Signal are used in studying bullish/bearish phases.
________________________________________
6. Stochastic Oscillator
Stochastic compares the current close against a range of highs and lows.
%K=Close−LowestLowHighestHigh−LowestLow×100%K=HighestHigh−LowestLowClose−LowestLow×100
Where LowestLow and HighestHigh are the lowest and highest values over N periods.
The %D line is a smooth version of %K (using a moving average).
%D=SMA(%K,smooth)%D=SMA(%K,smooth)
• Values above 80 = overbought; below 20 = oversold.
________________________________________
7. Trend and Momentum Classification
This dashboard generates simplified trend/momentum logic using RSI.
• Trend:
• RSI < 40 → Downtrend
• RSI > 60 → Uptrend
• In Between → Neutral
• Momentum Bias:
• RSI > 70 → Bullish Hold
• RSI < 30 → Bearish Hold
• Otherwise Neutral
This is not predictive, only a classification framework for educational use.
________________________________________
8. Accumulation/Distribution Bias
Based on extreme RSI values:
• RSI < 25 → Accumulate Long Bias
• RSI > 80 → Accumulate Short Bias
• Else → Wait/No Action
This helps learners understand the idea of accumulation at lows (strength building) and distribution at highs (profit booking).
________________________________________
9. Overall Market Status and Score
The tool adds up 5 bullish conditions:
1. Price above VWAP
2. RSI > 50
3. MACD > Signal
4. Stochastic > 50
5. Price above Daily Median
BullishScore=ConditionsMet5×100BullishScore=5ConditionsMet×100
Then it categorizes the market:
• RSI > 70 or Stoch > 80 → Overbought
• RSI < 30 or Stoch < 20 → Oversold
• Else → Normal
This encourages learners to think in terms of probabilistic conditions instead of single-indicator signals.
________________________________________
⚠️ Warning:
• Trading financial markets involves substantial risk.
• You can lose more money than you invest.
• Past performance of indicators does not guarantee future results.
• This script must not be copied, resold, or republished without authorization from aiTrendview.
By using this material or the code, you agree to take full responsibility for your trading decisions and acknowledge that this is not financial advice.
________________________________________
⚠️ Disclaimer and Warning (From aiTrendview)
This Dynamic Trading Dashboard is created strictly for educational and research purposes on the TradingView platform. It does not provide financial advice, buy/sell recommendations, or guaranteed returns. Any use of this tool in live trading is completely at the user’s own risk. Markets are inherently risky; losses can exceed initial investment.
The intellectual property of this script and its methodology belongs to aiTrendview. Unauthorized reproduction, modification, or redistribution of this code is strictly prohibited. By using this study material or the script, you acknowledge personal responsibility for any trading outcomes. Always consult professional financial advisors before making investment decisions.