M3EDGE™ Relative Volume (RVOL)Relative Volume (RVOL) compares the current volume to its historical average.
🎯 Goal: Spot abnormal flows and anticipate impulsive moves.
🔍 M3EDGE™ Key Reading:
• RVOL > 2.0 → Likely institutional activity.
• RVOL > 1.5 → Heightened surveillance: potential move building.
• Price falling + high RVOL → Stealth accumulation / sell-side absorption.
• Price rising + high RVOL → Confirmed breakout with real flows.
💡 In the M3EDGE™ method, RVOL filters out false signals and validates setups by aligning flow + structure + momentum.
Applied to ETFs or stocks, it reveals what price action alone won’t show
Volume
Adaptive Volume Bound Oscillator | QuantEdgeBAdaptive Volume Bound Oscillator | QuantEdgeB
🔍 What is the Adaptive Volume Bound Oscillator (AVBO)?
The AVBO is a volume-weighted momentum oscillator that dynamically adapts its overbought/oversold thresholds to current market volatility. By measuring price’s deviation from a Volume-Weighted Moving Average (VWMA) and surrounding that deviation with bands that expand and contract based on recent oscillator volatility, AVBO provides clear, actionable signals in any market regime.
💡 Think of it as a “volume-aware RSI” that automatically widens its bands in choppy conditions to avoid whipsaws, and tightens them in calm markets to capture even subtle shifts—delivering filtered momentum readings and trend triggers in a single indicator.
⚙️ Core Components
✅ Modular Source Filter
Choose whether AVBO runs on:
• Raw Price – no preprocessing
• Gaussian Filter – smooths noise with a bell-curve weighting
• Median (Percentile) Filter – robust to outliers
• DEMA – double-EMA for fast trend capture
This lets you dial AVBO’s responsiveness vs. smoothness to suit your style.
✅ Volume-Weighted Moving Average (VWMA)
Computes the average of the filtered source, weighted by volume over a lookback. Anchors AVBO in real trade flow.
✅ Raw Oscillator (% Deviation)
Expresses price’s distance from VWMA in percentage terms.
✅ Adaptive Thresholds
• Measure recent volatility of AVBO via its standard deviation
• Scale that volatility by separate up/down multipliers to form upper and lower bands.
Bands expand when AVBO is choppy, contract when it’s calm—automatically keeping signal sensitivity in sync with market conditions.
✅ Signal Logic & Coloring
• Long when AVBO > upper band
• Short when AVBO < lower band
• Neutral otherwise
Candles color-code accordingly, and optional “Long”/“Short” labels mark crossovers.
✅ Backtest & Strength Sensor
• Built-in backtest table (overlaid or standalone) tracks P&L since a user-defined start date.
• Strength Sensor table calculates a 0–100% conviction score combining distance-to-band and rate-of-change—displayed as a mini ASCII bar for quick read.
📊 Backtest Mode
AVBO includes an optional backtest table, enabling traders to assess its historical effectiveness before applying it in live trading conditions.
🔹 Backtest Metrics Displayed:
• Equity Max Drawdown → Largest historical loss from peak equity.
• Profit Factor → Ratio of total profits to total losses, measuring system efficiency.
• Sharpe Ratio → Assesses risk-adjusted return performance.
• Sortino Ratio → Focuses on downside risk-adjusted returns.
• Omega Ratio → Evaluates return consistency & performance asymmetry.
• Half Kelly → Optimal position sizing based on risk/reward analysis.
• Total Trades & Win Rate → Assess historical success rate.
BTC
ETH
SOL
SUI
📌 Disclaimer:
Backtest results are based on past performance and do not guarantee future success. Always incorporate real-time validation and risk management in live trading.
📊 Real-Time Performance Panel
When enabled, AVBO’s dashboard shows:
• Current AVBO Value and position relative to bands
• Trend Flag (+1 / 0 / –1)
• Strength Score (bull vs. bear)
• Filter Mode in use
All updated on each bar to keep you informed of momentum shifts at a glance.
💼 Ideal Use Cases
1️⃣ Trend Riding
• Capture sustained moves where volume confirms direction.
2️⃣ Volatility Breakouts
• Spot explosive moves when AVBO pierces its adaptive bands.
3️⃣ Mean-Reversion in Calm Markets
• Tight bands let you spot small, high-probability fades.
4️⃣ Multi-Asset Scan
• Apply AVBO across stocks, crypto, FX, and futures for unified momentum signals.
🧬 Default Configuration
• Source Filter: Price
• VWMA Length: 30
• Volatility Length: 27
• Up Multiplier: 1.8
• Down Multiplier: 0.8
• Adaptive Multiplier: 0.95
🎨 Visual Enhancements
• Candle Bar Sync — bars tint bullish, bearish, or neutral.
• Upper/Lower Band Steplines — highlight band breaches.
• Oscillator Fill — colored fills above/below zero reinforce signal.
🧬 In Summary
AVBO | QuantEdgeB blends volume weighting, adaptive volatility bands, and modular filtering into a single, all-in-one momentum oscillator. It evolves its own sensitivity to market noise, provides clear breakouts/mean-reversion cues, and packages built-in backtest and strength metrics right on your chart—empowering you to trade momentum with confidence, across any asset or timeframe.
🔹 Disclaimer: Past performance is not indicative of future results. Always backtest and align AVBO’s settings with your risk tolerance and market objectives before live trading.
🔹 Disclaimer: Past performance is not indicative of future results.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Relative Volume SpikeThis indicator lets you know when a wick has 2x (default value) more volume than the average.
Titan Cross System🧠 Indicator Description
This indicator is designed to detect key moments of distribution and accumulation in the price action of an asset (in this case, XAUUSD - Gold) using two exponential moving averages (EMAs):
EMA 8 (orange): Fast-reacting average, sensitive to price changes.
EMA 20 (blue): Slower average, provides a smoother trend overview.
It generates two types of signals:
🔻 Bearish Cross (EMA 8 crosses below EMA 20): Possible start of a distribution phase (sell signal).
🔺 Bullish Cross (EMA 8 crosses above EMA 20): Possible accumulation or end of distribution (buy signal).
📈 Performance Analysis (20 Trades per Timeframe)
Test Parameters:
Stop Loss: 50 pips
Take Profit: 150 pips
Asset: XAUUSD (Gold)
Entry Method: EMA Cross
Trading Sessions: Not specified (average behavior)
Timeframe Wins Losses Win Rate Total Return
2 min 14/20 6 70% +1800 pips
5 min 13/20 7 65% +1600 pips
15 min 15/20 5 75% +2000 pips
1 hour 15/20 5 75% +2000 pips
🔍 Timeframe Breakdown
2 Minutes: Strong for scalping with a 70% win rate. More frequent signals but higher noise.
5 Minutes: Solid performance, but slightly more false signals.
15 Minutes: Excellent balance between accuracy and signal clarity. Great for intraday trading.
1 Hour: Very stable for swing trading. Fewer signals but with higher precision and reliability.
🧠 Conclusion
This indicator performs best on 15-minute and 1-hour timeframes, reaching up to 75% accuracy and a strong positive return. For faster entries, 2-minute charts are also effective, though they require tighter risk management due to market noise.
Previous Day Liquidity ZonesThis indicator is designed for intraday liquidity-based trading strategies and helps traders identify high-probability reversal or breakout zones based on smart money concepts.
It automatically plots the:
🟥 Previous Day High Zone – potential buy-side liquidity trap
🟩 Previous Day Low Zone – potential sell-side liquidity trap
🟧 Previous Day Close Zone – potential rebalancing or indecision zone
These levels are critical areas where institutional stop-hunting, reversals, and fake breakouts often occur.
🎯 How to Use
Use this indicator on 1-minute or 5-minute charts for stocks, indices (like NIFTY, BANKNIFTY), or forex.
Watch for price entering these zones during live market hours.
Combine with price action confirmation:
Rejection wicks
Engulfing candles
Change of character (CHoCH) or BOS
Fair Value Gaps (FVG)
First 5-minute candle (9:15 AM in Indian market) is highlighted for breakout setups.
🧠 Smart Money Logic
These zones mimic the logic used by institutions to:
Trigger retail stop-losses
Reverse market direction near liquidity pools
Trap breakout traders around session extremes
⚙️ Features
Configurable zone width (%)
Visual fill zones with subtle shading
Support for all assets and timeframes
Highlights first candle of day to assist with pre-trade bias
✅ Ideal For:
Smart money traders
ICT / Wyckoff / SMC followers
Breakout trap or reversal strategy users
Anyone who trades key session levels
⚠️ Disclaimer
This is an informational tool. Always use confirmation and sound risk management before executing any trade.
Small Gap Down after Red Candle with Red-Middle Volumetric FillThis indicator highlights moments when price “gaps down” after a red candle — a sign that traders may have quickly lost confidence. It draws a colored box to mark the gap and keeps extending it until the price comes back up and “fills” the gap. The color of each box reflects how much trading activity happened during the red candle (more volume = brighter color). You can choose to hide filled gaps, show helpful labels, or keep your chart clean with just the most relevant info.
Gaps tend to act as magnets and could potentially serve as take-profit levels
Trend Strength Index [Alpha Extract]The Trend Strength Index leverages Volume Weighted Moving Average (VWMA) and Average True Range (ATR) to quantify trend intensity in cryptocurrency markets, particularly Bitcoin. The combination of VWMA and ATR is particularly powerful because VWMA provides a more accurate representation of the market's true average price by weighting periods of higher trading volume more heavily—capturing genuine momentum driven by increased participation rather than treating all price action equally, which is crucial in volatile assets like Bitcoin where volume spikes often signal institutional interest or market shifts.
Meanwhile, ATR normalizes this measurement for volatility, ensuring that trend strength readings remain comparable across different market conditions; without ATR's adjustment, raw price deviations from the mean could appear artificially inflated during high-volatility periods (like during news events or liquidations) or understated in low-volatility sideways markets, leading to misleading signals. Together, they create a volatility-adjusted, volume-sensitive metric that reliably distinguishes between meaningful trend developments and noise.
This indicator measures the normalized distance between price and its volume-weighted mean, providing a clear visualization of trend strength while accounting for market volatility. It helps traders identify periods of strong directional movement versus consolidation, with color-coded gradients for intuitive interpretation.
🔶 CALCULATION
The indicator processes price data through these analytical stages:
Volume Weighted Moving Average: Computes a smoothed average weighted by trading volume
Volatility Normalization: Uses ATR to account for market volatility
Distance Measurement: Calculates absolute deviation between current price and VWMA
Strength Normalization: Divides price deviation by ATR for a volatility-adjusted metric
Formula:
VWMA = Volume-Weighted Moving Average of Close over specified length
ATR = Average True Range over specified length
Price Distance = |Close - VWMA|
Trend Strength = Price Distance / ATR
🔶 DETAILS Visual Features:
VWMA Line: Blue line overlay on the price chart representing the volume-weighted mean
Trend Strength Area: Histogram-style area plot with dynamic color gradient (red for weak trends, transitioning through orange and yellow to green for strong trends)
Threshold Line: Horizontal red line at the customizable Trend Enter level
Background Highlight: Subtle green background when trend strength exceeds the enter threshold for strong trend visualization
Alert System: Triggers notifications for strong trend detection
Interpretation:
0-Weak (Red): Minimal trend strength, potential consolidation or ranging market
Mid-Range (Orange/Yellow): Building momentum, watch for breakout potential
At/Above Enter Threshold (Green): Strong trend conditions, potential for continued directional moves
Threshold Crossing: Trend strength crossing above the enter level signals increasing conviction in the current direction
Color Transitions: Gradual shifts from warm (red/orange) to cool (green) tones indicate strengthening trends
🔶 EXAMPLES
Strong Trend Entry: When trend strength crosses above the enter threshold (e.g., 1.2), it identifies the onset of a powerful move where price deviates significantly from the mean.
Example: During a rally, trend strength rising from yellow (around 1.0) to green (1.2+) often precedes sustained upward momentum, providing entry opportunities for trend followers.
Consolidation Detection: Low trend strength values in red shades (below 0.5) highlight periods of low volatility and mean reversion potential.
Example: After a sharp sell-off, persistent red values signal a likely sideways phase, allowing traders to avoid whipsaws and wait for orange/yellow transitions as a precursor to recovery.
Volatility-Adjusted Pullbacks: In volatile markets, the ATR component ensures trend strength remains accurate; a dip back to yellow from green during minor corrections can indicate healthy pullbacks within a strong trend.
Example: Trend strength briefly falling to yellow levels (e.g., 0.8-1.1) after hitting green provides profit-taking signals without invalidating the overall bullish bias if the VWMA holds as support.
Threshold Alert Integration: The alert condition combines strength value with the enter threshold for timely notifications.
Example: Receiving a "Strong Trend Detected" alert when the area plot turns green helps confirm Bitcoin's breakout from consolidation, aligning with increased volume for higher-probability trades.
🔶 SETTINGS
Customization Options:
Lengths: VWMA length (default 14), ATR length (default 14)
Thresholds: Trend enter (default 1.2, step 0.1), trend exit (default 1.15, for potential future signal enhancements)
Visuals: Automatic color scaling with red at 0, transitioning to green at/above enter threshold
Alert Conditions: Strong trend detection (when strength > enter)
The Trend Strength Index equips traders with a robust, easy-to-interpret tool for gauging trend intensity in volatile markets like Bitcoin. By normalizing price deviations against volatility, it delivers reliable signals for identifying high-momentum opportunities while the gradient coloring and alerts facilitate quick assessments in both trending and choppy conditions.
ICT Order Blocks HTFICT Order Blocks HTF (with Parent Swing Confirmation)
This indicator is a powerful tool designed to identify high-probability Higher-Timeframe (HTF) Order Blocks by confirming them with significant liquidity sweeps on your trading chart. It combines two core ICT (Inner Circle Trader) concepts to filter out noise and highlight only the most sensitive areas.
The Core Concept: A High-Probability Model
The most powerful trading setups often occur when a significant event on a lower timeframe happens at a key area on a higher timeframe. This indicator automates that analysis by looking for a specific confluence:
A Liquidity Sweep (LTF): First, it identifies a "Parent Swing" on your current chart. This is a significant swing high (BSL - Buy Side Liquidity) or swing low (SSL - Sell Side Liquidity) that has been validated by a market structure shift. These are the key liquidity pools the market targets.
An Order Block (HTF): Separately, it looks at a higher timeframe of your choice (e.g., 15m, 1H) to find institutional order blocks—the last up or down candle before a strong move.
The Confluence: The magic happens here. The indicator will only draw an HTF order block on your chart if it forms at the exact moment the price is interacting with one of the BSL or SSL liquidity pools from your current chart.
This dual confirmation provides a refined, high-probability signal, indicating that a major liquidity event is fueling a reaction from a significant HTF level.
What the Indicator Does
Identifies Parent Swings: In the background, it constantly tracks and identifies BSL (red lines) and SSL (green lines) on your chart.
Finds HTF Order Blocks: It looks for bullish (last down-candle) and bearish (last up-candle) order blocks on the higher timeframe you select.
Draws Confirmed Zones: It draws a Bullish OB (Blue Box) only when an HTF bullish order block forms at an SSL level. It draws a Bearish OB (Orange Box) only when an HTF bearish order block forms at a BSL level.
Marks Key Levels: Each order block is automatically drawn with dashed lines marking its high, low, and midpoint (50% level) for precise entry and risk management.
Real-Time Invalidation: The order blocks extend into the future and are tracked in real-time. If price closes through a block a specified number of times, the zone is considered invalid and will be dimmed, keeping your chart clean.
How to Use This Indicator
The primary use for this indicator is to identify high-probability entry zones.
When a Bullish Order Block (Blue) appears, it signals a potential area of demand where you might look for long entries.
When a Bearish Order Block (Orange) appears, it signals a potential area of supply where you might look for short entries.
The internal lines (high, low, midpoint) can be used for more precise entries or for setting stop-loss levels.
Settings
Higher Timeframe for Order Blocks: Choose the HTF you want the indicator to analyze for order blocks (e.g., 15m, 1H, 4H).
OB Invalidation Threshold: Set how many times price must close fully through an order block before it is considered invalid.
Parent Swing Settings: You can adjust the lookback periods and invalidation threshold for the BSL/SSL detection to match your trading style. A larger lookback will find more significant liquidity pools.
Disclaimer: This indicator is a tool to assist in technical analysis. It is not a standalone trading system and does not provide financial advice. Always use proper risk management and combine this tool with your own analysis and trading strategy.
Square-root Decay Volume ProfileThis indicator displays a custom price profile that mimics a volume profile using occurrence-based weighting rather than actual volume. It counts how often the selected price source (e.g., close) falls within each price bin over a lookback period. What makes it unique is the use of square-root time decay: more recent price occurrences are given greater importance, while older data is discounted proportionally to the inverse square root of its age.
Each bin's relative weight is visualized as a horizontal bar aligned to the right edge of the chart, showing where price has "spent time" more recently. This allows traders to identify areas of interest, balance zones, and potential support/resistance levels based on decayed price density.
Key Features:
Square-root decay weighting favors recent price action
Adjustable lookback period, bin count, and histogram width
Works with any price source (close, hl2, etc.)
Plots boxes directly on the chart for clear visualization
This tool is especially useful for discretionary traders seeking a price-centric alternative to traditional volume profiles, with an added emphasis on recency.
4 Anchored VWAPs This indicator shows 4 periods of Anchored VWAPs according to specific dates the user chose.
Volume Agregado Perp + Spot BTC only🔍 Aggregated Volume — Spot, Perpetual, or Both (with Bands & Alerts)
Overview:
This indicator aggregates volume data from multiple exchanges (Spot and Perpetual) into a single unified chart. It calculates the simple moving average (SMA) and standard deviation (STDEV) over the aggregated volume, and plots dynamic volume bands at customizable deviation levels.
Includes an option to display only Spot, only Perpetual, or both combined, and provides automatic alerts when volume breaks above or below each band level.
📊 How It Works
Fetches volume from top exchanges using request.security() (e.g., Binance, Bybit, Coinbase, OKX, Kraken, Bitget).
To avoid distortion caused by disproportionally large Perpetual contract volumes, perp data is normalized by dividing by 100. This brings it closer to Spot volume scale.
Computes SMA and STDEV of the aggregated volume, and plots upper/lower bands based on 1x, 2x, and 3x standard deviations.
Issues alerts when the current volume exceeds or drops below the defined thresholds.
🧠 Interpretation
Above Upper Bands (Lv1/Lv2/Lv3): Signals volume spikes, which can indicate breakouts, momentum ignition, or exhaustion moves depending on context. Higher levels (Lv3) suggest more extreme events.
Below Lower Bands: Indicates low activity, potential consolidation, or market pause.
Best used in combination with price structure, VWAP, order blocks, or volume delta/OI for deeper context.
⚙️ Parameters
SMA/STDEV Period – Default: 20 candles.
Band Levels (1/2/3 STDEV) – Fully configurable multipliers.
Volume Mode:
Spot – Only traditional spot exchange volume.
Perpetual – Only perpetual contracts (normalized).
Both – Combines both (default).
Win trades [Albassam]This script was inspired from my personal trading strategy for daily trades in 15 min frame.
main factor for trades in this indicator is:
Band : which indicates the range of movement
vwap : show momentum and type of the trend
how dose it work ?
please check the introduction video of the script
or whatsapp me : 0542228866
Zero Lag Moving AverageThis indicator is a trend detection tool that highlights significant momentum shifts with reduced lag. It uses two smoothed moving averages—fast and medium ZLEMAs—optionally enhanced with a Kalman filter to reduce noise. The indicator defines a bullish trend when the price is above both ZLEMAs, and bearish when it is below both. Rather than signaling every crossover, it focuses on trend changes, triggering buy or sell signals only when the trend flips (e.g., from bearish to bullish) and confirms those shifts with two filters: rising volume (above the 20-bar average) and a strong trend based on the ADX indicator. Visual features include optional candle coloring to reflect trend direction and signal markers (triangles) plotted only during a user-defined trading session. This setup helps traders act only on confirmed, high-quality momentum shifts, reducing false positives in low-volume or ranging markets.
SMC TimingThis indicator (“SMC Timing”) visually marks the exact moments when the market typically experiences large liquidity injections—moments that often trigger strong directional moves. By plotting dashed vertical lines and labels at key session boundaries and news events (Frankfurt open, London open, EU mid-session pause, Pre-US, US open, 14:30 U.S. news releases, 15:00 breakout window, and the London close), it draws your attention to the times when stop-runs and institutional orders tend to pile into the market.
Traders can use these timing zones to:
Anticipate liquidity sweeps where smart-money often liquidates weak positions or hunts stops.
Plan higher-probability entries just before or directly after these injections, reducing slippage and improving execution.
Improve win-rate consistency by aligning your trades with the natural ebb and flow of institutional flow rather than fading it.
With customizable session toggles, a “today-only” filter, and a small vertical offset to keep markers clear of price bars, this tool seamlessly integrates into any chart. Positioning yourself around these highlighted times helps you capture the bulk of intraday moves and avoids getting caught in low-liquidity chop.
Buy Sell Sniper Entry Background (based on EP Script by RedK)
Is this one of the most precise Buy Sell Indicators?
Only you can tell!
Based on the EP script by RedK EVEREX this indicator will color your background directly in your chart. Clean, easy, simple.
I did not alter any of their logic, nothing.
Looking for an even more precise entry option?
How about combining it with my first Background Indicator based on Williams Alligator.
The Candle coloring is based on this TUE ADX script
Happy Sniper Trading!
Adaptive Market Profile – Auto Detect & Dynamic Activity ZonesAdaptive Market Profile is an advanced indicator that automatically detects and displays the most relevant trend channel and market profile for any asset and timeframe. Unlike standard regression channel tools, this script uses a fully adaptive approach to identify the optimal period, providing you with the channel that best fits the current market dynamics. The calculation is based on maximizing the statistical significance of the trend using Pearson’s R coefficient, ensuring that the most relevant trend is always selected.
Within the selected channel, the indicator generates a dynamic market profile, breaking the price range into configurable zones and displaying the most active areas based on volume or the number of touches. This allows you to instantly identify high-activity price levels and potential support/resistance zones. The “most active lines” are plotted in real-time and always stay parallel to the channel, dynamically adapting to market structure.
Key features:
- Automatic detection of the optimal regression period: The script scans a wide range of lengths and selects the channel that statistically represents the strongest trend.
- Dynamic market profile: Visualizes the distribution of volume or price touches inside the trend channel, with customizable section count.
- Most active zones: Highlights the most traded or touched price levels as dynamic, parallel lines for precise support/resistance reading.
- Manual override: Optionally, users can select their own channel period for full control.
- Supports both linear and logarithmic charts: Simple toggle to match your chart scaling.
Use cases:
- Trend following and channel trading strategies.
- Quick identification of dynamic support/resistance and liquidity zones.
- Objective selection of the most statistically significant trend channel, without manual guesswork.
- Suitable for all assets and timeframes (crypto, stocks, forex, futures).
Originality:
This script goes beyond basic regression channels by integrating dynamic profile analysis and fully adaptive period detection, offering a comprehensive tool for modern technical analysts. The combination of trend detection, market profile, and activity zone mapping is unique and not available in TradingView built-ins.
Instructions:
Add Adaptive Market Profile to your chart. By default, the script automatically detects the optimal channel period and displays the corresponding regression channel with dynamic profile and activity zones. If you prefer manual control, disable “Auto trend channel period” and set your preferred period. Adjust profile settings as needed for your asset and timeframe.
For questions, suggestions, or further customization, contact Julien Eche (@Julien_Eche) directly on TradingView.
Previous VWAP Levels by Riotwolftrading The "Previous VWAP" indicator calculates and displays the previous session's Volume Weighted Average Price (VWAP) for five timeframes (Daily, Weekly, Monthly, Quarterly, Yearly).
Each VWAP is plotted as a horizontal line extending to the right edge of the chart, with customizable labels at the right to identify each level. The indicator is designed for traders who want to visualize key price levels from prior periods without cluttering the chart with current VWAPs or additional metrics like standard deviations.
**Functionality**:
- **Calculates Previous VWAPs**: Computes the VWAP for the previous session of each timeframe (Daily, Weekly, Monthly, Quarterly, Yearly) based on the input source (default: `hlc3`) and volume.
- **Visual Style** : Uses `line.new` to draw horizontal lines from five bars back to the current bar, ensuring the lines extend to the right edge of the chart. Labels are placed at the right edge using `label.new` for clear identification.
- **Customization** : Allows users to toggle visibility, adjust line styles, widths, colors, and label sizes, and choose between abbreviated or full label text.
- **Minimalist Design**: Focuses solely on previous VWAPs, omitting current VWAPs, rolling VWAPs, and standard deviation bands to keep the chart clean.
**Intended Use**: This indicator is useful for traders who rely on historical VWAP levels as support/resistance or reference points for trading decisions, particularly in strategies involving mean reversion or breakout trading.
---
### Rules and Features
*VWAP Calculation**:
- The VWAP is calculated as the cumulative sum of price (`src`) multiplied by volume (`sumSrcVol`) divided by the cumulative volume (`sumVol`) for each timeframe.
- The "previous VWAP" is the VWAP value from the prior session, captured when a new session begins (e.g., new day, week, month, etc.).
- The indicator uses the `hlc3` (average of high, low, close) as the default source, but users can modify this in the settings.
**Timeframes**:
- **Daily**: Previous day's VWAP.
- **Weekly**: Previous week's VWAP.
- **Monthly**: Previous month's VWAP.
- **Quarterly**: Previous quarter's VWAP (3 months).
- **Yearly**: Previous year's VWAP (12 months).
- New sessions are detected using `ta.change(time(period))` for each timeframe.
**Line Drawing**:
- Lines are drawn using `line.new` from `time ` (five bars back) to the current bar (`time`), ensuring they extend to the right edge of the chart.
- Lines are updated only on the last confirmed bar (`barstate.islast`) to optimize performance and avoid repainting.
- Previous lines are deleted (`line.delete`) to prevent overlapping or clutter.
**Labels**:
- Labels are drawn at the right edge (`x=time`, `xloc=xloc.bar_time`) with `label.new`.
- Users can choose between abbreviated labels (e.g., "pvD" for Previous Daily VWAP) or full labels (e.g., "Prev Daily VWAP").
- Label sizes are customizable (`tiny`, `small`, `normal`, `large`, `huge`).
- Labels are deleted (`label.delete`) on each update to maintain a clean chart.
5. **Customization Options**:
- **Visibility**: Toggle each VWAP (Daily, Weekly, Monthly, Quarterly, Yearly) on or off.
- **Colors**: Individual color settings for each VWAP line and label (default colors: Daily=#E12D7B, Weekly=#F67B52, Monthly=#EDCD3B, Quarterly=#3BBC54, Yearly=#2665BD).
- **Line Style**: Choose from `solid`, `dotted`, or `dashed` lines.
- **Line Width**: Adjustable from 1 to 4 pixels.
- **Label Settings**: Enable/disable labels, abbreviate text, and select label size.
- **Source**: Customize the price source (default: `hlc3`).
**Performance Optimization**:
- The indicator only updates lines and labels on the last confirmed bar to minimize computational overhead.
- Uses `var` to initialize variables and avoid unnecessary recalculations.
- Deletes previous lines and labels to prevent chart clutter.
---
### Usage Instructions
1. **Add to Chart**:
- In TradingView, go to the Pine Editor, paste the script, and click "Add to Chart."
- The indicator will overlay on the price chart, showing previous VWAP lines and labels.
2. **Configure Settings**:
- Open the indicator settings to customize:
- Toggle visibility of each VWAP timeframe.
- Adjust colors, line style, and width.
- Enable/disable labels, choose abbreviation, and set label size.
- Modify the source if needed (e.g., use `close` instead of `hlc3`).
3. **Interpretation**:
- **Previous VWAPs**: Act as dynamic support/resistance levels based on the prior session's volume-weighted price.
- **Timeframes**: Use shorter timeframes (Daily, Weekly) for intraday/swing trading, and longer timeframes (Monthly, Quarterly, Yearly) for positional trading.
- **Labels**: Identify each VWAP level at the right edge of the chart for quick reference.
4. **Best Practices**:
- Use on charts with sufficient volume data, as VWAP relies on volume (a warning is triggered if no volume data is available).
- Combine with other indicators (e.g., moving averages, RSI) for confirmation in trading strategies.
- Adjust line styles and colors to avoid visual overlap with other chart elements.
---
### Example Use Case
A trader using a 1-hour chart can add the "Previous VWAP" indicator to identify key levels from the prior day, week, or month. For example:
- The Previous Daily VWAP might act as a support level for a bullish trend.
- The Previous Weekly VWAP could serve as a target for a swing trade.
- Labels at the right edge make it easy to identify these levels without cluttering the chart.
This indicator provides a clean, customizable way to visualize previous VWAPs, making it ideal for traders who want historical price context with minimal chart noise. For the complete Pine Script code, refer to the artifact provided in the previous response.
Buy Volume Spike AlertBuy Volume Spike Alert multi timeframe volume sahaja Buy Volume Spike Alert multi timeframe volume sahaja Buy Volume Spike Alert multi timeframe volume sahaja Buy Volume Spike Alert multi timeframe volume sahaja Buy Volume Spike Alert multi timeframe volume sahaja
Order Block Finder - yzeen ayoubCore Concept
Order blocks represent areas where large institutional traders (banks, hedge funds) have placed significant orders, creating zones of potential support or resistance. The script identifies these zones by looking for specific candlestick patterns.
How It Detects Order Blocks
Bullish Order Blocks
Formation: Starts with a single bearish candle (close < open)
Confirmation: Followed by a sequence of consecutive bullish candles
Displacement: Price must move up by a minimum percentage from the formation candle
Bearish Order Blocks
Formation: Starts with a single bullish candle (close > open)
Confirmation: Followed by a sequence of consecutive bearish candles
Displacement: Price must move down by a minimum percentage from the formation candle
Key Features
Visual Elements
Rectangles: Draw the actual order block zones using the high/low of formation candles
Equilibrium Lines: Show the middle point of each order block
Risk/Reward Lines: Display stop loss (SL), 2R, and 3R take profit levels
Color Themes: Bright or dark color schemes
Customizable Parameters
Confirmation Candles: How many consecutive candles needed (default: 5)
Display Count: Maximum order blocks to show (default: 20)
Minimum Displacement: Required percentage move after formation (default: 0.2%)
Visual Options: Toggle equilibrium lines, risk/reward levels, signature
Smart Features
Array Management: Automatically removes old order blocks to keep chart clean
Alert System: Notifies when price enters an order block zone
Performance Optimized: Uses efficient counting functions instead of complex loops
Trading Logic
The script assumes that:
Institutional Imbalance: The formation candle represents institutional order flow
Retail Response: The confirmation sequence shows retail traders responding
Future Reaction: When price returns to these zones, it may find support/resistance
Practical Use
Traders use this to:
Identify high-probability entry zones
Set stop losses below/above order blocks
Target 2R and 3R profit levels
Get alerts when price approaches these critical zones
The script essentially automates the process of finding these institutional footprints that many smart money traders look for manually.
ASK Indicator by AshpreetThe ASK Indicator is a custom-built breakout and trend continuation system designed for swing traders seeking high-probability entries with strong risk-reward ratios. Built using a combination of moving averages, momentum filters, volume confirmation, and price structure, this indicator helps identify stocks poised for explosive moves.
It uses three key moving averages: the 44-period SMA (medium trend), 20-period DEMA (short-term strength, custom-coded), and 50-period WEMA (institutional trendline). Trades are only triggered when the price is above 50 WEMA, and the 20 DEMA is above the 44 SMA.
Momentum is confirmed using RSI(14) within a healthy zone of 40–60, ensuring the stock is not overbought or oversold. To focus on breakout candidates, the stock must be trading within 10% of its 52-week high, and the weekly candle range must be under 10%, signaling compression before expansion.
A valid ASK Signal occurs when these conditions are met along with a breakout above the previous day’s high and volume exceeding 1.5× the 20-day average. Once triggered, the indicator auto-plots the stop-loss (1× ATR) and two profit targets: 1:2 (TP1) and 1:4 (TP2).
Additionally, the system detects a narrow range setup, where the last 3 daily candles are inside the previous 3-day range — a powerful consolidation signal. Alerts for both ASK entries and narrow ranges are included.
This system is ideal for positional and short-term swing traders who want to combine structure, momentum, and volume in one powerful tool.
Crypto Volume Data (VAH,POC,VAL)Crypto Volume Data (VAH, POC, VAL) — Multi-Exchange Aggregated Volume Zones
This indicator delivers a high-precision volume profile for crypto assets by aggregating real traded volume across Binance, Bybit, Coinbase, Kraken, OKX, and MEXC. It auto-detects multiple quote pairs (USD, USDT, USDC, FDUSD, USDT.P, USDC.P) and merges the live volume distribution respecting each exchange’s volume for that symbol to calculate institutional-grade VAH, POC, and VAL levels.
No matter which symbol or pair from which exchange is open on the chart, the script dynamically detects the base asset and fetches volume from all matching pairs on supported exchanges. For example, whether you load BTC/USDT, ETH/USDT.P, or SOL/FDUSD, the system identifies the symbol and aggregates volume from all relevant pairs of that symbol across all mentioned exchanges, weighting them based on real volume. This leads to significantly more accurate value areas — especially compared to single-source or single-pair profiles that miss fragmented liquidity and the real volume of each exchange.
This script is fully plug-and-play. There’s no need to select lookback windows or configure pairs — it's already optimized with pre-set internal parameters for common trading timeframes. (Still, you can adjust for your needs in the settings, but keep in mind more lookback is not necessarily a good thing — it might affect the accuracy of your output depending on the timeframe.)
Key Features:
Live aggregation of volume across 5 exchanges
Supports most listed altcoins with reliable quote pair coverage
Dynamic auto symbol/quote detection and normalization
Automatically adapts to any crypto chart without user setup
Real institutional zones — not synthetic, not heuristic
Why It Matters:
In fragmented crypto markets, liquidity isn’t centralized. Volume for a coin like ETH may be split between USDT on Binance, USD on Kraken, or USDC on MEXC. Most indicators ignore that. This tool doesn’t. It brings that volume together to provide the most contextually accurate VAH/POC/VAL levels possible, tailored to the charted asset and timeframe.
This isn't just another volume indicator. It’s built from the ground up to capture where the real trades happen — not just where price moved — and shows you the zones that institutions and large players respect.
Disclaimer:
This tool is for educational and informational purposes only. It does not constitute financial advice or an invitation to trade. Always do your own research and manage risk responsibly.
Credits:
Volume unification logic, cross-pair normalization, and exchange weighting system developed by me. No third-party libraries or reused scripts involved. Original architecture built from scratch for high-resolution crypto volume profile analysis.
Note:
Script designed to respect TradingView limits for both free and paid accounts, with a smart fallback system in case of hitting the limit. If you find any bug, error, or issue, kindly comment below. I will address and fix them ASAP.
Enjoy and cheers.
Market Energy – Trend vs Retest (with Saturation %)Market Energy – Trend vs Retest Indicator
This indicator measures the bullish and bearish energy in the market based on volume-weighted price changes.
It calculates two smoothed energy waves — bullish energy and bearish energy — using exponential moving averages of volume-adjusted price movements.
The indicator detects trend changes and retests by comparing the relative strength of these waves.
A saturation percentage quantifies the intensity of the current dominant side (bulls or bears) relative to recent highs.
- High saturation (>70%) indicates strong momentum and dominance by bulls or bears.
- Low saturation (<30%) suggests weak momentum and possible market indecision or consolidation.
The background color highlights the current control: green for bulls, red for bears, with transparency indicating the saturation level.
A label shows which side is currently in control along with the saturation percentage for quick interpretation.
Use this tool to identify strong trends, possible retests, and momentum strength to support your trading decisions.
MP Master VWAP [BackQuant]MP Master VWAP
Overview
MP Master VWAP is an, volume-weighted average price suite. It re-anchors automatically to any time partition you select—Day, Week, Month, Quarter or Year—and builds an adaptive standard-deviation envelope, optional pivot clusters and context-aware candle colouring so you can read balance, imbalance and auction edges in a single glance. We use private methods on calculating key levels, making them adaptive and more responsive. This is not just a plain VWAP.
Key Components
• Anchored VWAP core – The engine resets VWAP the instant a new session for the chosen anchor begins. Separator lines and a live high–low box make those rotations obvious.
• Dynamic sigma bands – Three upper and three lower bands, scaled by real-time standard deviation. 1-σ filters noise, 2-σ marks momentum, 3-σ flags exhaustion.
• Previous-period memory – The prior session’s VWAP and bands stay on-screen in a muted style so you can trade retests of last month’s value without clutter.
• High-precision price labels – VWAP and every active band print their prices on the hard right edge; labels vanish if you want a cleaner chart.
• Pivot package – Choose Traditional, Fibonacci or Camarilla calculations on a Daily, Weekly or Monthly look-back. Levels plot as subtle circles that complement, not compete with, the VWAP map.
• Context candles – Bars tint relative to their location: vivid red above U2, soft red between U1-U2, neutral grey inside value, soft green between L2-L1, vivid green below L2.
Customisation Highlights
Period section
• Anchor reset drop-down
• Toggles for separator lines and period high/low
Band section
• Independent visibility for L1/U1, L2/U2, L3/U3
• Individual multipliers to fit any volatility profile
• Optional real-time price labels
Pivot section
• Three formula choices
• Independent timeframe—mix a Monthly VWAP with Weekly Camarilla for confluence
Visual section
• Separate switches for current vs previous envelopes
• Candle-colour toggle for traders who prefer raw price bars
Colour section
• Full palette selectors to match dark or light themes instantly
Some Potential Ways it can be used:
Mean-reversion fade – Price spikes into U2 or U3 and stalls (especially at a pivot). Fade back toward VWAP; scale out at U1 and VWAP.
Trend continuation – Close above U1 on rising volume; trail a stop behind U1. Mirror setup for shorts under L1.
Breakout validation – Session gaps below previous VWAP but quickly reclaims it. Use the cross-above alert to automate entry and target U1 / U2.
Overnight inventory flush – Globex extremes that tag L2 / U2 often reverse at the cash open; scalp rotations back to VWAP.
Risk framing – Let the gap between VWAP and L2 / U2 dictate position size, keeping reward-to-risk consistent across assets.
Alerts Included
• Cross above / below current VWAP
• Cross first sigma bands (U1 / L1)
• Break above second sigma bands (U2) or below L2
• Touch of third sigma bands (U3 / L3)
• Cross of previous-period VWAP
• New period high or low
Best Practices
• Tighten sigma multipliers on thin-liquidity symbols; widen them on index futures or high-cap crypto.
• Pair the envelope with order-flow or footprint tools to confirm participation at band edges.
• On intraday charts, anchor a higher-timeframe VWAP (e.g., Monthly on a 15-minute) to reveal institutional accumulation.
• Treat the previous period’s VWAP as yesterday’s fair value—gaps that never revisit it often morph into trend days.
Final Notes
MP Master VWAP condenses auction-market theory into one readable overlay: automatic period resets, adaptive deviation bands, historical memory, multi-style pivots and self-explanatory colour coding. You can deploy it on equities, futures, crypto or FX—wherever volume meets time, VWAP remains the benchmark of true price discovery.