Volume PercentileThis Pine Script indicator highlights bars where the current volume exceeds a configurable percentile threshold (e.g., 80th percentile) based on a rolling window of historical volume data.
🔍 Key Features:
Calculates a user-defined volume percentile (e.g., 75th, 80th, 90th) over a rolling window.
Marks candles where current volume is higher than the selected percentile.
Helps detect volume spikes, breakouts, or unusual activity.
Works directly on the main chart window for easier analysis.
🛠️ Inputs:
Window Length: Number of bars used to calculate the percentile (default = 20).
Percentile: The percentile threshold to trigger a high-volume signal (default = 80).
🖥️ Visualization:
Displays a red triangle marker below bars with volume above the selected percentile.
חפש סקריפטים עבור "Volume"
Volume Changes with Bollinger Bands & Signal/AlertJapanese below / 日本語説明は下記
---------------------------------------------
Hello traders,
This indicator shows volume changes in percentage over the past periods as well as Bollinger Bands of volume changes with +2σ band.
The formula to calculate volume changes is;
(Today’s volume / average volume of past n periods ) *100
** n is user input
Bar color changes to green if close >= open, else if red.(You can change colors.)
Bollinger band
The reason I included Bollinger band here is if volume changes crosses over +2σ bands, that would suggest strong buying or selling pressure behind which might contribute price surging or dropping.
The following chart is BTCUSD daily chart.
Some correlation between volume changes and price movement can be observed.
For example, when volume changes surpasses BB+2σ with green bar, bullish trend occurs while in case of red bar, bearish trend happened.
Signal/Alert
Signal can be shown when volume changes cross over BB +2σ or upper band.(% changes, user input) Alert condition is same.
——————————————
出来高変化率のインジケーターです。過去n期間の出来高平均と当日出来高を比較してオシレータとして表示するとともに、出来高変化率のボリンジャーバンド+2シグマバンドを表示します。
出来高変化率の計算式は以下の通りです。
(当日出来高 / 過去n期間の平均出来高) * 100
* nはユーザ指定
終値>=始値の場合は緑色のバーで、終値<始値の場合は赤色のバーで表示します。(色は変更可能)
ボリンジャーバンド
出来高変化率が、出来高変化率のボリンジャーバンド+2シグマを超えるということはそれだけ強い買い・売りの存在を示唆していることになるのではと考え表示可能なようにしています。
以下のチャートはビットコイン/米ドルの日足チャートです。
例えば出来高変化率がBB+2シグマを超えて陽線で引けた場合、以降上昇トレンドが発生していることが確認できます。同様に出来高変化率がBB+2シグマを超えて陰線で引けた場合は下降トレンドが発生していることが確認できます。
これらは裏に強い買い、売り圧力が存在していることを示唆していると読み取ることができます。
ボリンジャーバンドが不要な場合は、出来高変化率のアッパーバンド(%, ユーザ指定)を表示して、変化率の度合いを測ることが可能です。
シグナル/アラート
出来高変化率がボリンジャーバンド+2σを超えた場合、もしくはアッパーバンドを超えた場合にシグナル表示します。
同じ条件でアラート設定も可能です。
Volume ZonesThis a script that shows where price is trapped in the market based on the volume traded
The plots uses pixels. To correctly see the zones, adjust your zoom and set your level density appropriately
Volume Based Price Oscillator (buy and sell signal)This oscillator determines the buying and selling balance based on current price movements and volume.
Volume Supply and Demand ZonesDraws supply and demand zones of 3 types, based on 3 different volume threshold parameters.
The timeframe of the script is fixed (you can change it in the options), so for example it is possible to keep Daily S/D zones while looking at 1h chart.
VolumeS as stochv1just to show a concept . I use volume S to make it as stoch and add to it MTF function
B=buy
S=sell
D=down
if you do not like the MTF fuction just remove it from code or put the time frame of graph to be exact as MTF one
I did not add alert as it just a concept idea , to make it more complex it easy if you add more indicators to it and then compare the signals
have fun
Volume average for up bars and down bars separatelythis easy script describes what happens with down bars and up bars in volume.
Volume (D)EMAA simple yet configurable indicator that shows recent traffic volumes.
The time period is specified as weeks/days/hours/minutes, not as bars.
Set the volume period to non-zero if you want to use a generalized double EMA instead of plain.
The ratio option will show the size of the current volume compared to the volume in the specified time period (expect to see something very non-Gaussian, say goodby to trusting your ATR and stddev, and say hello to fat tails.) With the "together" option, it compares the current volume to the both sides together (buy+sell), otherwise it compares it to just its own.
Volume + RSI & MA Differential"Volume + RSI & MA Differential," integrates volume, RSI, and moving average differentials to generate trading signals. The script calculates a 14-period RSI to identify overbought or oversold conditions, with customizable thresholds for buy and sell signals. It also computes a 20-period SMA of the volume to smooth out trading activity data, helping to identify trends in market participation.
The script incorporates a fast (50-period) and a slow (200-period) SMA to analyze short-term and long-term trends, respectively. The differential between these moving averages, adjusted by the volume SMA, is used to identify potential trend changes or confirmations. Bars are colored yellow when the RSI is below the buy threshold and volume is high, indicating a potential buy signal. Conversely, bars turn red when the RSI is above the sell threshold and the fast MA is below the current close price, suggesting a potential sell signal. Neutral conditions result in grey bars.
Additionally, the script uses color-coding to plot the volume SMA and a line that changes color based on the moving average differential. A black line indicates a broadening MA cloud and a bullish trend, while a grey line suggests a narrowing MA cloud and a potential selloff. A yellow line signals the beginning of a buyback. This visual representation helps traders quickly identify potential trading opportunities and trend changes, making the script a valuable tool for technical analysis.
Volume Auto FitThis does nothing more than decreasing the size of (absolute) volume candles a bit, in order to allow showing candles with "Absolute" volume and Relative volume inside of the same panel - to save space.
I want to see both because:
Relative volume indicates higher activity than usual
Absolute volume helps with "Volume Price Analysis"
On the 5m you don't need "Volume Auto fit", but can just use usual "Volume" and it will look fine.
For the 1D I've created this one though, since RVol can be gigantic there sometimes.
Volume with High Volume SignalsIndicator Description for Promotional Post (in English)
Unlock Market Insights with the "Volume with High Volume Signals" Indicator!
Are you ready to take your trading to the next level? The Volume with High Volume Signals indicator is your ultimate tool for spotting critical market movements driven by volume surges. Designed for traders who want clarity and precision, this Pine Script indicator combines powerful volume analysis with customizable features to help you stay ahead of the game.
Why Choose This Indicator?
Dynamic Volume Visualization: Watch volume bars come to life with customizable coloring. Choose to color bars based on candle direction (green for bullish, red for bearish) or use a neutral gray for a clean look.
High Volume Detection: Instantly spot significant volume spikes with our advanced highlighting feature. When volume exceeds twice the Simple Moving Average (SMA), bars are highlighted in a bold, customizable color (default: yellow) to signal potential breakout or reversal opportunities.
Dual Moving Averages: Track volume trends with both Simple Moving Average (SMA) and Exponential Moving Average (EMA). Fully customizable periods, colors, and line thickness let you tailor the indicator to your trading style.
Visual Alerts for Key Moments: When volume surges above both SMA and EMA, a vibrant fuchsia triangle appears above the bar, giving you an immediate visual cue for high-impact market activity.
User-Friendly Customization: Adjust every aspect of the indicator—toggle SMA/EMA visibility, set periods, choose colors, and fine-tune line thickness to match your preferences.
Perfect For:
Day traders looking for high-volume breakouts.
Swing traders identifying trend reversals.
Any trader who wants to harness volume as a leading indicator.
Why It’s a Must-Have:
Volume is the heartbeat of the market, and this indicator transforms raw data into actionable insights. Whether you're scalping, swing trading, or analyzing long-term trends, the Volume with High Volume Signals indicator empowers you to make informed decisions with confidence.
Get Started Today!
Add the Volume with High Volume Signals indicator to your TradingView arsenal and start decoding market moves like a pro. Don’t miss out on the edge that top traders rely on—grab this indicator now and elevate your trading strategy!
Volumen Abreviado📌 Indicator Description:
Abbreviated Volume (K / M)
This indicator displays each candle’s volume in an abbreviated format (K for thousands, M for millions, B for billions), making it easier to read and avoiding overly large numbers on the chart.
Key Features:
Volume histogram colored by candle direction (green: bullish, red: bearish, gray: neutral).
Configurable volume average line.
Label showing the abbreviated volume on the latest bar.
Optimized Y-axis scale to display compact values.
Perfect for:
Traders who want to quickly read volume without being distracted by large numbers.
Charts with high trading volume where full numbers are hard to read.
Fast analysis in stocks, crypto, or futures markets.
How to Use:
Add the indicator to your chart.
Adjust the average period in the settings.
Toggle the last-bar label on or off based on your preference.
✅ Works with any time frame and market.
Volume Profile + VWAP + Long Wick StrategyVolume Profile + VWAP + Long Wick Strategy
This indicator combines Volume Profile (VP), VWAP (Volume Weighted Average Price) with deviation bands, and a long wick candle strategy to identify potential support/resistance zones and trading signals. It detects "power wicks" (long shadows with high volume near key levels like POC, VAH/VAL, or VWAP) as reversal setups, generating buy/sell alerts after confirmation wicks appear near these zones.
Key Features:
Volume Profile: Displays VP histogram over a lookback period, highlighting POC (Point of Control), VAH/VAL (Value Area High/Low) with customizable rows and thresholds.
VWAP & Bands: Plots VWAP with 1-3 std dev bands; filters signals based on trend and proximity to bands.
Long Wick Detection: Identifies strong ("power") and signal wicks based on wick/body ratios, ATR size, and volume multipliers. Supports Market Maker (MM) volume bonuses for liquidity zones.
Trading Signals: Generates BUY/SELL arrows when price retests wick levels with confirmation, limited by max signals per zone and min wait bars. Filtered by MTF (multi-timeframe) alignment (e.g., higher TF EMA trend and candle direction) and VWAP trend.
Sessions: Shows POC/VAH/VAL for Asian, London, and NY sessions with optional active-only display.
MTF Analysis: Scores bullish/bearish alignment across two higher timeframes for signal filtering.
Visuals: Liquidity sweep boxes, resistance/support lines, info table (levels, signals remaining, VWAP status), and MTF status box.
Customizable: Adjust wick ratios, volume thresholds, VP rows, MTF periods, and display options.
Ideal for intraday/scalping on forex/crypto/stocks. Use on lower TFs with MTF filters for confluence. Not financial advice—backtest thoroughly!
Volume FVG | Liquidity Gaps + (Z-Core Edition)📘 Indicator Description — Volume FVG Pro+
Volume FVG Pro+ is a technical analysis tool designed to automatically detect and visualize Fair Value Gaps (FVG) on the chart. It incorporates volume-based and ATR-based filtering to highlight only meaningful zones while reducing market noise.
⚙️ How It Works:
FVG Detection:
Identifies gaps between candles that may indicate institutional activity or imbalance.
Supports two types:
Regular FVG — all price gaps.
Volume FVG — gaps with abnormally high volume, calculated via Z-Score (relative to volume average).
ATR Filtering:
Filters out insignificant price gaps using Average True Range (ATR).
Helps show only zones with strong volatility behavior.
Mitigation Logic:
Zones are marked as mitigated (deactivated) when price retraces into them.
Mitigation can be detected by wick or close, with configurable depth percentage.
Zone Extension:
Active zones automatically extend forward until they are mitigated.
Display Options:
Fully customizable:
Bullish/Bearish coloring.
Opacity and box length.
Toggle labels and outlines.
🛠️ Settings Overview:
Z-Score Thresholds — for volume-based FVG detection.
ATR Multiplier — volatility sensitivity.
Mitigation Depth (%) — defines how deep price must retrace to deactivate a zone.
Display Options — full control over how zones appear on the chart.
📌 Why Use Volume FVG:
These gaps often represent footprints of large participants.
They are statistically more likely (15–20%) to hold price and act as reaction zones compared to regular FVGs (based on internal analysis).
Useful for identifying entry/exit areas and refining market structure analysis.
👤 Best For:
Smart Money / Order Flow / Liquidity-based traders.
Intraday and swing traders using price reaction and volume cues.
Anyone seeking clear and efficient FVG detection with filtering.
Volume-Confirmed Price Momentum# **Volume-Confirmed Price Momentum (VCPM) Indicator**
## **🔍 Overview**
Introducing the **Volume-Confirmed Price Momentum (VCPM)**, a sophisticated dual-metric indicator designed to identify high-probability momentum moves by analyzing the relationship between price action and volume dynamics. This indicator combines correlation analysis with volume strength validation to filter out weak signals and highlight institutional-backed movements.
---
## **⚙️ Core Mechanics**
**Price-Volume Correlation Engine:**
- Calculates real-time correlation between price movements and volume
- Configurable lookback period (default: 8 bars)
- Option to use price changes or absolute values
- Correlation range: -1.0 (perfect negative) to +1.0 (perfect positive)
**Volume Strength Analyzer:**
- Compares current volume against its moving average (default: 128 periods)
- Normalizes volume ratio to 0-1 scale for consistent interpretation
- Identifies when volume significantly exceeds historical norms
---
## **📊 Signal Generation**
### **🟢 Bullish Confirmation Signal**
**Trigger:** Positive correlation > 0.6 + Volume ratio > 0.5
- Price and volume moving in harmony upward
- Above-average volume confirms the move
- Indicates strong institutional buying interest
### **🔴 Bearish Confirmation Signal**
**Trigger:** Negative correlation < -0.6 + Volume ratio > 0.5
- Price declining with increasing volume
- Suggests distribution or institutional selling
- High-confidence bearish momentum
---
## **🎯 Trading Applications**
**Breakout Validation:**
Filter false breakouts by requiring volume confirmation before entering positions.
**Trend Continuation:**
Identify when existing trends have strong volume backing for continuation plays.
**Distribution Detection:**
Spot potential tops when price struggles despite high volume (negative correlation).
**Entry Timing:**
Built-in alert system notifies when both conditions align for optimal entry points.
---
## **🔧 Customization Features**
- **Correlation Period:** Adjust sensitivity (2-500 bars)
- **Volume Averaging:** Modify volume comparison timeframe
- **Alert Thresholds:** Fine-tune correlation and volume ratio triggers
- **Visual Options:** Toggle volume histogram display
- **Price Source:** Choose from OHLC or custom sources
---
## **💡 Why VCPM Works**
Traditional momentum indicators often generate false signals during low-volume periods. VCPM solves this by requiring **dual confirmation**: price momentum must be supported by corresponding volume activity. This approach:
- Reduces whipsaws and false breakouts
- Identifies institutional participation
- Provides higher conviction trade setups
- Works across all timeframes and markets
---
## **📈 Best Use Cases**
✅ **Crypto markets** (high volatility, volume-driven)
✅ **Stock breakouts** (earnings, news events)
✅ **Forex majors** (during high-impact news)
✅ **Futures trading** (momentum confirmation)
---
## **⚠️ Important Notes**
- Works best in liquid markets with consistent volume data
- Combine with support/resistance levels for enhanced accuracy
- Consider market context (trending vs. ranging conditions)
- Not recommended for extremely low-volume periods
---
## **🚀 Getting Started**
1. Add VCPM to your chart as a sub-panel indicator
2. Configure correlation threshold (start with 0.6)
3. Set volume ratio threshold (start with 0.5)
4. Enable alerts for automated signal detection
5. Backtest on your preferred timeframe and instrument
---
**Ready to enhance your momentum trading with volume confirmation? Try VCPM and experience the difference institutional-backed signals can make in your trading results.**
*Available in Pine Script v6 - Compatible with all TradingView accounts*
Volume Spike Filter### Volume Spike Detector with Alerts
**Overview:**
This indicator helps traders quickly identify unusual spikes in trading volume by comparing the current volume against a simple moving average (SMA) threshold. It's particularly useful for beginners seeking clear signals of increased market activity.
**Settings:**
* **SMA Length:** Defines the period for calculating the average volume (default = 20).
* **Multiplier:** Determines how much the volume must exceed the SMA to be considered a spike (default = 1.5).
* **Highlight Spikes:** Toggle to visually highlight spikes on the chart (default = enabled).
**Signals:**
* 🟩 **Highlighted Background:** Indicates a volume spike that surpasses the defined threshold.
* 🏷️ **"Vol Spike" Label:** Clearly marks the exact bar of the spike for quick reference.
**Usage:**
Use these clear volume spike alerts to identify potential trading opportunities, confirmations, or shifts in market momentum. Combine this with other technical indicators for enhanced analysis.
Volume EfficiencyThis indicator displays each candle's volume in an enhanced visual form, combining the amount of volume with the efficiency of the price movement.
Each volume bar changes its color intensity based on:
Higher efficiency (large price movement with low volume) → stronger color.
Lower efficiency (high volume with little price movement) → weaker color.
Additionally:
Green: Bullish candles (close > open).
Red: Bearish candles (close < open).
The color reflects not only the volume but also how "easily" the price moved.
The efficiency calculation is based on the actual body movement of the candle (abs(close - open)) divided by the total volume, dynamically adjusted to the maximum efficiency over the last N candles (configurable).
Interpretation:
Intensely green or red volume bars: clean and efficient movements (low resistance).
Pale bars: market absorption or indecision (high volume but little price movement).
Configurable parameter:
Efficiency period: number of candles used to normalise the maximum efficiency.
Volume Intelligence Suite (VIS) v2📊 Volume Intelligence Suite – Smart Volume, Smart Trading
The Volume Intelligence Suite is a powerful, all-in-one TradingView indicator designed to give traders deeper insight into market activity by visualizing volume behavior with price action context. Whether you're a scalper, day trader, or swing trader, this tool helps uncover hidden momentum, institutional activity, and potential reversals with precision.
🔍 Key Features:
Dynamic Volume Zones – Highlights high and low volume areas to spot accumulation/distribution ranges.
Volume Spikes Detector – Automatically marks abnormal volume bars signaling potential breakout or trap setups.
Smart Delta Highlighting – Compares bullish vs bearish volume in real time to reveal buyer/seller strength shifts.
Session-Based Volume Profiling – Breaks volume into key trading sessions (e.g., London, New York) for clearer context.
Volume Heatmap Overlay – Optional heatmap to show intensity and velocity of volume flow per candle.
Custom Alerts – Built-in alerts for volume surges, divergences, and exhaustion signals.
Optimized for Kill Zone Analysis – Pairs perfectly with ICT-style session strategies and Waqar Asim’s trading methods.
🧠 Why Use Volume Intelligence?
Most traders overlook the story behind each candle. Volume Intelligence Suite helps you "see the why behind the move" — exposing key areas of interest where smart money may be active. Instead of reacting late, this tool puts you in position to anticipate.
Use it to:
Validate breakouts
Detect fakeouts and liquidity grabs
Confirm bias during kill zones
Analyze volume divergence with price swings
⚙️ Fully Customizable:
From volume thresholds to visual styles and session timings, everything is user-adjustable to fit your market, timeframe, and strategy.
✅ Best For:
ICT/Smart Money Concepts (SMC) traders
Breakout & reversal traders
Kill zone session scalpers
Institutional footprint followers
Volume-Price Momentum IndicatorVolume-Price Momentum Indicator (VPMI)
Overview
The Volume-Price Momentum Indicator (VPMI), developed by Kevin Svenson , is a powerful technical analysis tool designed to identify strong bullish and bearish momentum in price movements, driven by volume dynamics. By analyzing price changes and volume surges over a user-defined lookback period, VPMI highlights potential trend shifts and continuation patterns through a smoothed histogram, optional labels, and background highlights. Ideal for traders seeking to capture momentum-driven opportunities, VPMI is suitable for various markets, including stocks, forex, and cryptocurrencies.
How It Works
VPMI calculates the difference between volume-weighted buying and selling pressure based on price changes over a specified lookback period. It amplifies signals during high-volume periods, applies smoothing to reduce noise, and uses momentum checks to detect sustained trends.
Indicator display:
A histogram that oscillates above (bullish) or below (bearish) a zero line, with brighter colors indicating stronger momentum and faded colors for weaker signals.
Optional labels ("Bullish" or "Bearish") to mark significant momentum shifts.
Optional background highlights to visually emphasize strong trend conditions.
Alerts to notify users when strong bullish or bearish momentum is detected.
Key Features
Customizable Settings:
Adjust the lookback period, volume threshold, momentum length, and smoothing to suit your trading style.
Volume Sensitivity:
Emphasizes price movements during high-volume surges, enhancing signal reliability.
Momentum Detection: Uses linear regression and momentum change to confirm sustained trends, reducing false signals.
Visual Clarity:
Offers a clear histogram with color-coded signals, plus optional labels and backgrounds for enhanced chart readability.
Alerts:
Configurable alerts for strong momentum signals, enabling timely trade decisions.
Inputs and Customization
Lookback Period (Default: 9):
Sets the number of bars to analyze price changes. Higher values smooth signals but may lag.
Volume Threshold (Default: 1.4):
Defines the volume level (relative to a 20-period SMA) that qualifies as a surge, amplifying signals.
High Volume Multiplier (Default: 1.5):
Boosts histogram values during high-volume periods for stronger signals.
Histogram Smoothing Length (Default: 4):
Controls the EMA smoothing applied to the histogram, reducing noise.
Momentum Check Length (Default: 4):
Sets the period for momentum trend analysis (recommended to be less than Lookback Period).
Momentum Threshold (Default: 6):
Defines the minimum momentum change required for strong signals.
Show Labels (Default: Off):
Toggle to display "Bullish" or "Bearish" labels on significant momentum shifts.
Show Backgrounds (Default: Off):
Toggle to highlight chart backgrounds during strong momentum periods.
Bullish/Bearish Colors:
Customize colors for bullish (default: green) and bearish (default: red) signals.
Faded Transparency (Default: 40):
Adjusts the transparency of weaker signals for visual distinction.
How to Use
Interpret Signals:
Above Zero (Green):
Indicates bullish momentum. Bright green suggests strong, sustained buying pressure.
Below Zero (Red):
Indicates bearish momentum. Bright red suggests strong, sustained selling pressure.
Faded Colors:
Weaker momentum, potentially signaling consolidation or trend exhaustion.
Enable Visuals:
Turn on "Show Labels" and "Show Backgrounds" in the settings for additional context on strong momentum signals.
Set Alerts:
Use the built-in alert conditions ("Strong Bullish Momentum" or "Strong Bearish Momentum") to receive notifications when significant trends emerge.
Combine with Other Tools:
Pair VPMI with support/resistance levels, trendlines, or other indicators (e.g., RSI, MACD) for confirmation.
Best Practices
Timeframe:
VPMI works on all timeframes, but shorter timeframes (e.g., 5m, 15m) may produce more signals, while longer timeframes (e.g., 1h, 4h, 1D) offer higher reliability.
Market Conditions:
Most effective in trending markets. In choppy or sideways markets, consider increasing the smoothing length or momentum threshold to filter noise.
Risk Management:
Always use VPMI signals in conjunction with a robust trading plan, including stop-losses and position sizing.
Limitations
Lagging Nature:
As a momentum indicator, VPMI may lag in fast-moving markets due to smoothing and lookback calculations.
False Signals:
In low-volume or ranging markets, signals may be less reliable. Adjust the volume threshold or momentum settings to improve accuracy.
Customization Required:
Optimal settings vary by asset and timeframe. Experiment with inputs to align with your trading strategy.
Why Use VPMI?
VPMI offers a unique blend of volume and price momentum analysis, making it a versatile tool for traders seeking to identify high-probability trend opportunities. Its customizable inputs, clear visuals, and alert capabilities empower users to tailor the indicator to their needs, whether for day trading, swing trading, or long-term analysis.
Get Started
Apply VPMI to your chart, tweak the settings to match your trading style, and start exploring momentum-driven opportunities. For questions or feedback, consult TradingView’s community forums or documentation. Happy trading!
Volume and Volatility Ratio Indicator-WODI该指标名为“交易量与波动率比例指标-WODI”,主要基于交易量和价格波动率构造一个复合指数,帮助识别市场内可能存在的异常或转折信号。具体实现如下:
用户自定义参数
用户可以设置交易量均线长度(vol_length)、指数的短期与长期均线长度(index_short_length、index_long_length)、均线敏感度(index_magnification)、阈值放大因子(index_threshold_magnification)以及检测K线形态的区间(lookback_bars)。这些参数为后续计算提供了灵活性,允许用户根据不同市场环境自定义指标的敏感度和响应速度。
交易量均线与百分比计算
首先通过 ta.sma 计算指定长度的交易量简单均线(vol_ma)。
接下来,将当前交易量与均线进行比较,计算出当前交易量占均线的百分比(vol_percent),这反映了短期内交易量的相对活跃程度。
波动率的衡量
使用当前K线的最高价和最低价计算振幅,再除以收盘价乘以100得到波动率(volatility),从而反映市场价格波动的幅度。
构建交易量/波动率指数
将交易量百分比与波动率相乘,形成了“交易量/波动率指数”(volatility_index)。该指数能够同时反映市场的交易活跃度和价格波动性,两者的联合作用帮助捕捉市场的“热度”。
计算指标均线与阈值
对交易量/波动率指数分别计算短期均线(index_short_ma)和长期均线(index_long_ma),并通过乘以一个敏感度参数(index_magnification)进行调整。
同时,依据长期均线计算一个阈值(index_threshold),起到过滤噪音的作用。当指数突破该阈值时,可能预示着市场的重要变化。
K线形态与反转模式检测
通过遍历最近几根K线(由lookback_bars控制),指标会检测是否符合一系列预定条件(涉及交易量、价格振幅、K线形态等),以判断是否存在反转模式。若符合条件,则标记为反转模式,从而为潜在的转折点提供提示。
图表展示
最终在独立窗口中绘制多个元素:
指数短均线与长均线:经过敏感度调整后显示,用于分析指数趋势。
交易量/波动率指数:采用阶梯线风格绘制,直观展示指数变化。
阈值线:作为参考水平,便于判断指数是否突破常规范围。
交易量柱状图:当当前交易量高于均线时,通过不同颜色显示;当检测到反转模式时,颜色会进一步强化,帮助用户迅速识别潜在信号。
English Description
This indicator, titled “Volume and Volatility Ratio Indicator - WODI”, is designed to construct a composite index based on trading volume and price volatility, aiding in the identification of abnormal market conditions or potential reversal signals. Its functionality is broken down as follows:
User-Defined Parameters
The indicator allows users to set parameters such as the moving average length for volume (vol_length), the short and long moving average lengths for the index (index_short_length and index_long_length), a sensitivity multiplier (index_magnification), a threshold magnification factor (index_threshold_magnification), and the number of bars for pattern detection (lookback_bars). These parameters provide flexibility to adjust the sensitivity and responsiveness of the indicator based on different market conditions.
Volume Moving Average and Percentage Calculation
A simple moving average (SMA) of volume is computed over the specified length (vol_ma) using the ta.sma function.
The current volume is then compared to its moving average to calculate the volume percentage (vol_percent), reflecting the relative trading intensity in the short term.
Measuring Volatility
Volatility is calculated based on the current bar’s high and low prices, normalized by the closing price and multiplied by 100, which provides a measure of the market’s price fluctuation magnitude.
Constructing the Volume/Volatility Index
The index (volatility_index) is derived by multiplying the volume percentage by the calculated volatility. This composite metric reflects both market activity and price movement, effectively capturing the overall “heat” of the market.
Calculating the Index Moving Averages and Threshold
Two moving averages for the volatility_index are computed: one short-term (index_short_ma) and one long-term (index_long_ma). These are then adjusted by the sensitivity multiplier (index_magnification).
A threshold level (index_threshold) is calculated based on the long-term moving average multiplied by the threshold magnification factor, serving to filter out market noise. When the index exceeds this threshold, it may signal significant market shifts.
Detection of Reversal Patterns
The indicator iterates through the recent bars (as determined by lookback_bars) to check whether a set of predetermined conditions (involving trends in the volatility_index, volume comparisons, price closes, and K-line patterns) are met. If these conditions are satisfied, it flags a reversal pattern, which may serve as a warning for a potential market turnaround.
Visualization on the Chart
The final display includes several elements plotted in a separate indicator window:
The short-term and long-term moving averages of the index (after sensitivity adjustment) which help visualize the trend of the composite index.
The volatility index itself is drawn using a step-line style for clarity.
A threshold line is plotted to provide a reference level against which index movements can be compared.
A volume histogram is also displayed, where bars are colored differently when the current volume exceeds the moving average; the color is further enhanced if a reversal pattern is detected, making it easy for users to quickly spot potential signals.
Volumen trend indicator 5MVOLUMEN TREND INDICATOR
Introduction
This indicator on TradingView provides a combination of technical analysis through a data table and visual elements on the chart. Its purpose is to provide a comprehensive view of the analyzed asset, facilitating decision-making.
How It Works
The indicator operates on two levels:
Data Table:
Displays key information about the asset's trend.
Includes metrics such as the current price, percentage change, volatility, and other relevant variables.
Can be customized to include additional indicators as needed.
Provides a quick analysis without the need to interpret complex charts.
Technical Elements on the Chart:
Incorporates dynamic support and resistance lines.
Can include moving averages, Bollinger Bands, RSI, or other custom indicators.
Offers visual alerts for significant changes in the asset's trend.
Facilitates detailed technical analysis through direct observation of patterns and signals.
Default Technical Indicators
The indicator comes with the following default pre-configured technical indicators:
Exponential Moving Average (EMA) 9:
This EMA responds more quickly to price movements, making it ideal for identifying short-term trends. It is generally used to detect crossovers with other EMAs or prices and is considered an entry or exit signal.
Exponential Moving Average (EMA) 21:
The 21-period EMA is used to identify medium-term trends. Its interaction with the 9 EMA is key to confirming buy or sell signals when both cross.
RSI (Relative Strength Index):
It is used to measure the magnitude of recent gains and losses of an asset, helping to identify overbought or oversold conditions.
Bollinger Bands:
These bands help identify volatility levels and potential reversal points. Price touching the upper or lower bands can be an important signal of trend change or continuation.
Customization
The user can modify several aspects of the indicator, such as:
Colors and styles of visual elements on the chart.
Types of indicators to include in the table.
Configuration of alerts and notifications.
Time interval for calculations and data updates.
EMA values (the periods can be changed if other configurations are desired).
Recommended Usage
To make the most of the indicator:
Use the data table to get an overview of the asset.
Analyze the technical elements on the chart to confirm trends.
Set alerts to avoid missing key opportunities.
Compare the information with other indicators and data sources before making decisions.
Precautions and Best Practices
Avoid relying solely on the indicator: Complement it with other technical and fundamental analysis.
Adjust the settings according to the asset's volatility: Not all strategies work the same across different markets.
Don’t overload the chart with too many elements: This can create visual noise and confusion in interpretation.
Test it on a demo account before trading live: To familiarize yourself with the indicator's functionality and adjustments.
----------------------------------------------
Remember that no system is perfect, keep these considerations in mind for this indicator:
Do not trade when a signal appears during an opposite trend:
Do not trade when the market is uncertain in its direction or within a parallel channel:
Volume Aggregated Spot & FuturesAggregated volume for cryptos using spot and perpetual contracts but only those that are based on normal volume and not on tick volume.
Provides more reliable volume than volume from one provider.
Thanks to HALDRO because it's his code and I simplified it to create this version.