BTC/USDT Volume-Based StrategyOverview
There is a distinct difference between the buying pressure exerted by individual investors and the buying pressure of institutional or "whale" traders. Monitoring volume data over a shorter period of time is crucial to distinguish these subtle differences. When whale investors or other significant market players signal price increases, volume often surges noticeably. Indeed, volume often acts as an important leading indicator in market dynamics.
Key Features
This metric, calibrated with a 5-minute Bitcoin spot chart, identifies a significant inflow of trading volume. For every K-plus surge in trading volume, those candles are shown in a green circle.
When a green circle appears, consider active long positions in subsequent declines and continue to accumulate long positions despite temporary price declines. Pay attention to the continuity of the increase in volume before locking in earnings even after the initial bullish wave.
Conversely, it may be wise to reevaluate the long position if the volume is not increasing in parallel and the price is rising. Under these conditions, starting a partial short position may be advantageous until a larger surge in volume reappears.
Volume
COIN/BTC Volume-Weighted DivergenceThe COIN/BTC Volume-Weighted Divergence indicator identifies buy and sell signals by analyzing deviations between Coinbase and Bitcoin prices relative to their respective VWAPs (Volume-Weighted Average Price). This method isolates points of potential trend reversals, overextensions, or relative mispricing based on volume-adjusted price benchmarks.
The indicator leverages Coinbase’s high beta relative to Bitcoin in bull markets. A buy signal occurs when Coinbase is below VWAP (indicating undervaluation) while Bitcoin is above VWAP (signaling strong broader momentum). A sell signal is generated when Coinbase trades above VWAP (indicating overvaluation) while Bitcoin moves below VWAP (indicating weakening momentum).
This divergence logic enables traders to identify misalignment between Bitcoin-driven market trends and Coinbase’s price behavior. The indicator effectively identifies undervalued entry points and signals exits before speculative extensions are correct. It provides a systematic approach to trading during trending conditions, aligning decisions with volume-weighted price dynamics and inter-asset relationships.
How It Works
1. VWAP:
“fair value” benchmark combining price and volume.
• Above VWAP: Bullish momentum.
• Below VWAP: Bearish momentum.
2. Divergence:
• Coinbase Divergence: close - coin_vwap (distance from COIN’s VWAP).
• Bitcoin Divergence: btc_price - btc_vwap (distance from BTC’s VWAP).
3. Signals:
• Buy: Coinbase is below VWAP (potentially oversold), and Bitcoin is above VWAP (broader bullish trend).
• Sell: Coinbase is above VWAP (potentially overbought), and Bitcoin is below VWAP (broader bearish trend).
4. Visualization:
• Green triangle: Buy signal.
• Red triangle: Sell signal.
Strengths
• Combines price and volume for reliable insights.
• Highlights potential trend reversals or overextensions.
• Exploits correlations between Coinbase and Bitcoin.
Limitations
• Struggles in sideways markets.
• Sensitive to volume spikes, which may distort VWAP.
• Ineffective in strong trends where divergence persists.
Improvements
1. Z-Scores: Use statistical thresholds (e.g., ±2 std dev) for stronger signals.
2. Volume Filter: Generate signals only during high-volume periods.
3. Momentum Confirmation: Combine with RSI or MACD for better reliability.
4. Multi-Timeframe VWAP: Use intraday, daily, and weekly VWAPs for deeper analysis.
Complementary Tools
• Momentum Indicators: RSI, MACD for trend validation.
• Volume-Based Metrics: OBV, cumulative delta volume.
• Support/Resistance Levels: Enhance reversal accuracy.
Strength of Divergence Across Multiple Indicators (+CMF&VWMACD)Modified Version of Strength of Divergence Across Multiple Indicators by reees
Purpose:
This Pine Script indicator is designed to identify and evaluate the strength of bullish and bearish divergences across multiple technical indicators. Divergences occur when the price of an asset is moving in one direction while a technical indicator is moving in the opposite direction, potentially signaling a trend reversal.
Key Features:
1. Multiple Indicator Support: The script now analyzes divergences for the following indicators:
* RSI (Relative Strength Index)
* OBV (On-Balance Volume)
* MACD (Moving Average Convergence/Divergence)
* STOCH (Stochastic Oscillator)
* CCI (Commodity Channel Index)
* MFI (Money Flow Index)
* AO (Awesome Oscillator)
* CMF (Chaikin Money Flow) - Newly added
* VWMACD (Volume-Weighted MACD) - Newly added
2. Customizable Divergence Parameters:
* Bullish/Bearish: Enable or disable the detection of bullish and bearish divergences independently.
* Regular/Hidden: Detect both regular and hidden divergences (hidden divergences can indicate trend continuation).
* Broken Trendline Exclusion: Optionally ignore divergences where the trendline connecting price pivots is broken by an intermediate pivot.
* Pivot Lookback Periods: Adjust the number of bars used to identify valid pivot highs and lows for divergence calculations.
* Weighting: Assign different weights to regular vs. hidden divergences and to the relative change in price vs. the indicator.
3. Indicator-Specific Settings:
* Weight: Each indicator can be assigned a weight, influencing its contribution to the overall divergence strength calculation.
* Extreme Value: Define a threshold above which an indicator's divergence is considered "extreme," giving it a higher strength rating.
4. Divergence Strength Calculation:
* For each indicator, the script calculates a divergence "degree" based on the magnitude of the divergence and the user-defined weightings.
* The total divergence strength is the sum of the individual indicator divergence degrees.
* Strength is categorized as "Extreme," "Very strong," "Strong," "Moderate," "Weak," or "Very weak."
5. Visualization:
* Divergence Lines: The script draws lines on the chart connecting the price and indicator pivots that form a divergence (optional, with customizable transparency).
* Labels: Labels display the total divergence strength and a breakdown of each indicator's contribution. The size and visibility of labels are based on the strength.
6. Alerts:
* The script can generate alerts when the total divergence strength exceeds a user-defined threshold.
New Indicators (CMF and VWMACD):
* Chaikin Money Flow (CMF):
* Purpose: Measures the buying and selling pressure by analyzing the relationship between price, volume, and the accumulation/distribution line.
* Divergence: A bullish CMF divergence occurs when the price makes a lower low, but the CMF makes a higher low (suggesting increasing buying pressure). A bearish divergence is the opposite.
* Volume-Weighted MACD (VWMACD):
* Purpose: Similar to the standard MACD but uses volume-weighted moving averages instead of simple moving averages, giving more weight to periods with higher volume.
* Divergence: Divergences are interpreted similarly to the standard MACD, but the VWMACD can be more sensitive to volume changes.
How It Works (Simplified):
1. Pivot Detection: The script identifies pivot highs and lows in both price and the selected indicators using the specified lookback periods.
2. Divergence Check: For each indicator:
* It checks if a series of pivots in price and the indicator are diverging (e.g., price makes a lower low, but the indicator makes a higher low for a bullish divergence).
* It calculates the divergence degree based on the difference in price and indicator values, weightings, and whether it's a regular or hidden divergence.
3. Strength Aggregation: The script sums up the divergence degrees of all enabled indicators to get the total divergence strength.
4. Visualization and Alerts: It draws lines and labels on the chart to visualize the divergences and generates alerts if the total strength exceeds the set threshold.
Benefits:
* Comprehensive Divergence Analysis: By considering multiple indicators, the script provides a more robust assessment of potential trend reversals.
* Customization: The many adjustable parameters allow traders to fine-tune the script to their specific trading style and preferences.
* Objective Strength Evaluation: The divergence strength calculation and categorization offer a more objective way to evaluate the significance of divergences.
* Early Warning System: Divergences can often precede significant price movements, making this script a valuable tool for anticipating potential trend changes.
* Volume Confirmation: The inclusion of CMF and VWMACD add volume-based confirmation to the divergence signals, potentially increasing their reliability.
Limitations:
* Lagging Indicators: Most of the indicators used are lagging, meaning they are based on past price data. Divergences may sometimes occur after a significant price move has already begun.
* False Signals: No indicator is perfect, and divergences can sometimes produce false signals, especially in choppy or ranging markets.
* Subjectivity: While the script aims for objectivity, some settings (like weightings and extreme values) still involve a degree of subjective judgment.
VWAP Trend with Standard Deviation & MidlinesThis indicator is a sophisticated VWAP (Volume Weighted Average Price) tool with multiple features:
Core Functionality:
1. Calculates a primary VWAP line that changes color based on trend direction (green when rising, red when falling)
2. Creates multiple standard deviation bands around the VWAP at customizable distances
3. Resets calculations at either:
- New York session start time (configurable, default 9:30 AM)
- Daily start time
- Can be hidden on daily/weekly/monthly timeframes if desired
Band Structure:
- Band 1 (innermost): ±1 standard deviation
- Band 2 (middle): ±2 standard deviations
- Band 3 (outermost): ±3 standard deviations
- Midlines at 0.5σ intervals between bands
- All bands can be individually enabled/disabled
Customization Options:
1. Band calculation modes:
- Standard Deviation based
- Percentage based
2. Visual settings:
- Customizable colors for all elements
- Adjustable line widths
- Optional labels with configurable size
- Optional extension lines
- Label position adjustment
3. Source data selection (default: HLC3 - High, Low, Close average)
Common Uses:
- Identifying potential support/resistance levels
- Measuring price volatility
- Spotting mean reversion opportunities
- Trading range analysis
- Trend direction confirmation
The indicator essentially creates a dynamic support/resistance structure that adapts to market volatility and volume, making it useful for both intraday and swing trading strategies.
Dollar Volume DivergenceOverview
The Dollar Volume Profile and Divergence Indicator is a comprehensive tool designed to analyze both standard volume and dollar volume activity in the market. It visualizes dollar volume (calculated as close * volume) and highlights divergences between dollar volume and standard volume, providing insights into underlying market dynamics that aren't immediately visible with traditional volume analysis.
Key Features
Dollar Volume Profile:
Plots dollar volume as a histogram.
Highlights high-dollar volume bars in green (indicating significant trading activity).
Includes an optional average dollar volume line to show trends over time.
Volume-Divergence Analysis:
Calculates the difference (divergence) between dollar volume and standard volume.
Displays positive divergence (dollar volume > standard volume) in green and negative divergence (dollar volume < standard volume) in red.
Supports both histogram and boolean point visualization for divergence, offering flexibility in how the data is displayed.
Customizable Visualization:
Users can toggle between a Histogram or Boolean Points for divergence visualization.
Option to enable or disable the dollar volume profile and its average line.
Adjustable length parameter to fine-tune sensitivity for averages and divergences.
Use Cases
Volume Confirmation: Analyze whether dollar volume aligns with standard volume to confirm strong price movements.
Divergence Detection: Identify areas where dollar volume and standard volume deviate, which may signal potential reversals or exhaustion in a trend.
Market Strength Analysis: Assess the intensity of trading activity at specific price levels to determine key areas of interest.
How It Works
Dollar Volume Calculation:
Dollar volume is derived by multiplying the close price by the volume for each bar.
A moving average of dollar volume is used to determine relative activity levels.
Divergence Calculation:
The script calculates the difference between dollar volume and standard volume.
Positive values indicate that dollar volume exceeds standard volume, suggesting institutional or larger-scale trades.
Negative values highlight areas of lower dollar volume compared to standard volume.
Visualization:
The Dollar Volume Profile is displayed as a histogram, with high-dollar volume bars highlighted.
Divergences are overlaid as either a histogram or triangle markers, depending on user preference.
Average lines (optional) provide smoother trends for both dollar volume and divergence.
Customization Options
Length: Adjusts the period for moving average calculations.
Plot Style: Choose between Histogram or Boolean Points for divergence visualization.
Toggle Visibility: Enable or disable the Dollar Volume Profile and its average line for a cleaner chart.
Why Use This Indicator?
This indicator bridges the gap between traditional volume analysis and dollar volume analysis, offering deeper insights into market behavior. By combining these metrics, traders can detect nuanced patterns, validate trends, and identify divergences that may signal market turning points or continuation.
Best Practices
Use this indicator in conjunction with price action and other technical indicators for confirmation.
Look for divergences in high-dollar volume areas to detect potential trend reversals.
Analyze the interaction between the dollar volume profile and divergence histogram for a comprehensive view of market activity.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.
squeeze candles with volume Function :
This indicator was designed to detect specific candles called “squeeze”. These candles are characterized by a relatively small body (the difference between the opening and closing price) and long shadows (the distance between the high and low prices), accompanied by significant volume. They often indicate a period of increased volatility or a potential trend reversal.
Use :
Visual detection:
Candles identified as "squeeze" are highlighted in red on the chart.
An “S” icon appears above each detected squeeze candle.
Alerts:
The indicator emits an audible and visual alert when a squeeze candle with high volume is detected (if alerts are enabled).
Market analysis:
This indicator is particularly useful for identifying trading opportunities during periods when the market is showing signs of compression or impending volatility.
Customizable settings:
Minimum volume: Defines the threshold at which the volume is considered high.
Maximum body/shadow ratio: Allows you to adjust the sensitivity to detect squeeze candles (the lower the ratio, the smaller the detected candles will have in relation to their shadows).
Benefits :
Provides accurate alerts on key market candles.
Helps anticipate large movements through analysis of volume and candle characteristics.
Adaptable to different strategies thanks to adjustable parameters.
Ideal for:
Traders who want to identify areas of potential volatility or reversal signals in the market, regardless of the asset or time frame used.
Rolling VWAP with Optional Kalman FilterThis script provides an advanced and customizable Rolling VWAP (Volume-Weighted Average Price) indicator, designed for traders who want to refine their trend analysis and improve decision-making. With a unique option to apply a Kalman Filter, you can smooth out VWAP values to reduce noise in volatile markets, making it easier to identify actionable trends.
Key Features:
Dynamic Rolling VWAP:
Choose the rolling window size (number of bars) to match your trading style, whether you’re an intraday scalper or a swing trader.
Kalman Filter Toggle:
Enable the Kalman filter to smooth VWAP values and eliminate market noise.
Adjustable Kalman Gain to control the level of smoothing, making it suitable for both fast and slow markets.
Price Source Flexibility:
Use the Typical Price ((H+L+C)/3) or the Close Price as the basis for VWAP calculation.
Visual Enhancements:
Background shading highlights whether the price is above (bullish) or below (bearish) the VWAP, helping traders make quick visual assessments.
A legend dynamically updates the current VWAP value.
Dual View Option:
Compare the raw Rolling VWAP and the Kalman-filtered VWAP when the filter is enabled, giving you deeper insight into market trends.
Use Cases:
Intraday Traders: Identify key price levels for re-entry or exits using a short rolling window and responsive filtering.
Swing Traders: Analyze broader trends with a longer rolling window and smoother VWAP output.
Volatile Markets: Use the Kalman filter to reduce noise and avoid false signals during high market volatility.
How to Use:
Adjust the Rolling Window to set the number of bars for VWAP calculation.
Toggle Kalman Filter on/off depending on your preference for raw or smoothed VWAP values.
Fine-tune the Kalman Gain for the desired level of smoothing.
Use the shading to quickly assess whether the price is trading above or below the VWAP for potential entry/exit signals.
[blackcat] L1 Abnormal Volume Monitor█ OVERVIEW
The script is an indicator designed to monitor abnormal volume patterns in the market. It calculates and plots moving average volumes, identifies triple volume bars, and detects potential large order entries based on specific conditions.
█ FEATURES
• Input Parameters: The script defines parameters M1, M2, and lbk which control the calculation of moving averages and the lookback period for detecting abnormal volume.
• Calculations: The script calculates two moving averages of volume (MAVOL1 and MAVOL2), a smoothed price level (mm), and identifies conditions for triple volume bars and large order entries.
• Plotting: The script plots volume histograms for up and down bars, moving average volumes, and highlights triple volume bars with and without large order entries.
• Conditional Statements: The script uses conditional statements to determine when to plot certain data points and labels based on the calculated conditions.
█ LOGICAL FRAMEWORK
• xfl(cond, lbk): This function checks if a condition (cond) has been true within a specified lookback period (lbk). It returns true if the condition has been met and false otherwise.
• Parameters: cond (condition to check), lbk (lookback period).
• Return Value: outb (boolean indicating if the condition was met within the lookback period).
• abnormal_vol_monitor(close, open, high, low, volume, M1, M2, lbk): This function calculates moving average volumes, identifies triple volume bars, and detects large order entries.
• Parameters: close, open, high, low, volume (price and volume data), M1, M2 (periods for moving averages), lbk (lookback period).
• Return Value: A tuple containing MAVOL1, MAVOL2, xa (large order entry condition), and tripleVolume (triple volume condition).
█ KEY POINTS AND TECHNIQUES
• Moving Averages: The script uses simple moving averages (sma) and exponential moving averages (ema) to smooth volume data.
• Volume Analysis: The script identifies triple volume bars and large order entries based on specific conditions, such as volume doubling and price increases.
• Lookback Period: The xfl function uses a lookback period to ensure the accuracy of the detected conditions.
• Plotting Techniques: The script uses different plot styles and colors to distinguish between up bars, down bars, moving averages, and abnormal volume patterns.
█ EXTENDED KNOWLEDGE AND APPLICATIONS
• Modifications: The script could be modified to include additional conditions for detecting other types of abnormal volume patterns or to adjust the sensitivity of the detection.
• Extensions: Similar techniques could be applied to other financial instruments or timeframes to identify unusual trading activity.
• Related Concepts: The script utilizes concepts such as moving averages, exponential moving averages, and conditional plotting, which are fundamental in Pine Script and technical analysis.
Volume-Weighted Delta Strategy[Kopottaja]Volume-Weighted Delta Strategy
The Volume-Weighted Delta Strategy combines price movement and trading volume to identify potential bullish and bearish market conditions. The strategy calculates a delta value that measures the difference between the close and open prices, weighted by volume over a specified period. This delta is compared against its moving average (SMA) to determine potential trend changes. Key features include:
Volume-Weighted Delta Calculation:
The delta is calculated by summing up the volume-weighted differences between close and open prices over the defined length (Delta Length).
Trend Identification:
If the delta value crosses above its SMA, the strategy interprets this as a bullish condition.
If the delta value crosses below its SMA, the strategy interprets this as a bearish condition.
EMA Integration:
A 20-period EMA is included as an additional trend indicator. The EMA line changes color based on whether the delta value is above or below its SMA:
Green: Bullish (delta > SMA)
Red: Bearish (delta < SMA)
Volume Filter:
A volume threshold can be applied to ensure trades are only executed when significant volume is present, helping to avoid false signals in low-volume conditions.
Entry Conditions:
Buy: When the delta crosses below its SMA (bearish signal).
Sell: When the delta crosses above its SMA (bullish signal).
Customizable Inputs:
Length for delta calculation (Delta Length)
Length for moving average (MA Length)
Volume threshold for trade activation
Optimal Timeframes:
This strategy works best on the 4-hour and 1-day timeframes, where volume and price trends are more stable, reducing noise from smaller timeframes.
How It Works:
This strategy is ideal for traders leveraging the relationship between price movement, volume, and trend indicators. Focusing on volume-weighted price action aims to provide a clearer picture of market sentiment, improving the accuracy of entry and exit signals.
OBV + Custom MA StrategyFor a long time, the use of the OBV indicator has been relatively monotonous, with its expression and content lacking diversity. Therefore, I'm considering trying new ways of representation.
This "OBV + Custom MA Strategy" indicator combines the On-Balance Volume (OBV) with customizable moving averages (SMA, EMA, or WMA) to provide advanced insights into market trends. The indicator calculates OBV manually and overlays two moving averages: a short-term and a long-term MA. Key features include:
OBV plotted alongside short-term and long-term moving averages for better trend visualization.
Signals generated when OBV crosses the short-term MA or when the short-term MA crosses the long-term MA.
Alerts for bullish and bearish crossovers to help identify potential buy or sell opportunities.
This indicator is suitable for traders looking to incorporate volume dynamics into their strategy while customizing their moving average type and periods.
中文说明
此“OBV + 自定义均线策略”指标结合了成交量指标OBV与可定制的移动均线(SMA、EMA或WMA),为市场趋势分析提供了更多的视角。该指标手动计算OBV,并叠加短期与长期均线,主要特点包括:
绘制OBV以及短期和长期均线,以更清晰地观察趋势。
当OBV上穿/下穿短期均线或短期均线上穿/下穿长期均线时,生成买卖信号。
提供多种看涨和看跌信号的警报,帮助识别潜在的买入或卖出机会。
此指标适合希望将成交量动态纳入策略的交易者,并支持自定义均线类型和周期以满足个性化需求。
Volume Spike DetectorVolume Spike Detector
This script is designed to identify significant spikes in trading volume and visually represent them on the chart. It calculates the 20-period simple moving average (SMA) of the trading volume and multiplies it by a user-defined threshold to determine the spike threshold. When the current volume exceeds this threshold, the script detects and highlights a volume spike.
Key Features:
Dynamic Spike Threshold:
The script calculates the spike threshold dynamically based on the average trading volume. Users can customize the threshold multiplier using an input setting.
Example: A threshold multiplier of 2.0 means the current volume must be twice the 20-period SMA to trigger a detection.
Visual Representation:
The current volume is plotted in blue bars.
The spike threshold is plotted as a red line, making it easy to visually identify when the volume crosses the threshold.
Alert Notification:
When a volume spike is detected, an alert is triggered to notify the user.
This feature is useful for real-time monitoring and spotting potential trading opportunities.
Use Case:
Traders can use this tool to identify sudden increases in trading activity, which may indicate a significant market move or event. It’s suitable for all markets, including cryptocurrencies, stocks, and forex.
Scatter PlotThe Price Volume Scatter Plot publication aims to provide intrabar detail as a Scatter Plot .
🔶 USAGE
A dot is drawn at every intrabar close price and its corresponding volume , as can seen in the following example:
Price is placed against the white y-axis, where volume is represented on the orange x-axis.
🔹 More detail
A Scatter Plot can be beneficial because it shows more detail compared with a Volume Profile (seen at the right of the Scatter Plot).
The Scatter Plot is accompanied by a "Line of Best Fit" (linear regression line) to help identify the underlying direction, which can be helpful in interpretation/evaluation.
It can be set as a screener by putting multiple layouts together.
🔹 Easier Interpretation
Instead of analysing the 1-minute chart together with volume, this can be visualised in the Scatter Plot, giving a straightforward and easy-to-interpret image of intrabar volume per price level.
One of the scatter plot's advantages is that volumes at the same price level are added to each other.
A dot on the scatter plot represents the cumulated amount of volume at that particular price level, regardless of whether the price closed one or more times at that price level.
Depending on the setting "Direction" , which sets the direction of the Volume-axis, users can hoover to see the corresponding price/volume.
🔹 Highest Intrabar Volume Values
Users can display up to 5 last maximum intrabar volume values, together with the intrabar timeframe (Res)
🔹 Practical Examples
When we divide the recent bar into three parts, the following can be noticed:
Price spends most of its time in the upper part, with relative medium-low volume, since the intrabar close prices are mostly situated in the upper left quadrant.
Price spends a shorter time in the middle part, with relative medium-low volume.
Price moved rarely below 61800 (the lowest part), but it was associated with high volume. None of the intrabar close prices reached the lowest area, and the price bounced back.
In the following example, the latest weekly candle shows a rejection of the 45.8 - 48.5K area, with the highest volume at the 45.8K level.
The next three successive candles show a declining maximum intrabar volume, after which the price broke through the 45.8K area.
🔹 Visual Options
There are many visual options available.
🔹 Change Direction
The Scatter Plot can be set in 4 different directions.
🔶 NOTES
🔹 Notes
The script uses the maximum available resources to draw the price/volume dots, which are 500 boxes and 500 labels. When the population size exceeds 1000, a warning is provided ( Not all data is shown ); otherwise, only the population size is displayed.
The Scatter Plot ideally needs a chart which contains at least 100 bars. When it contains less, a warning will be shown: bars < 100, not all data is shown
🔹 LTF Settings
When 'Auto' is enabled ( Settings , LTF ), the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3 minute LTF
1500 (default): 1 minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
🔶 SETTINGS
Direction: Direction of Volume-axis; Left, Right, Up or Down
🔹 LTF
LTF: LTF setting
Auto + multiple: Adjusts the initial set LTF
Premium: Enable when your TradingView plan is Premium or higher
🔹 Character
Character: Style of Price/Volume dot
Fade: Increasing this number fades dots at lower price/volume
Color
🔹 Linear Regression
Toggle (enable/disable), color, linestyle
Center Cross: Toggle, color
🔹 Background Color
Fade: Increasing this number fades the background color near lower values
Volume: Background color that intensifies as the volume value on the volume-axis increases
Price: Background color that intensifies as the price value on the price-axis increases
🔹 Labels
Size: Size of price/volume labels
Volume: Color for volume labels/axis
Price: Color for price labels/axis
Display Population Size: Show the population size + warning if it exceeds 1000
🔹 Dashboard
Location: Location of dashboard
Size: Text size
Display LTF: Display the intrabar Lower Timeframe used
Highest IB volume: Display up to 5 previous highest Intrabar Volume values
Ichimoku by FarmerBTCLegal Disclaimer
This strategy, "Ichimoku by FarmerBTC," is provided for educational and informational purposes only. It does not constitute financial advice and should not be relied upon as such. Trading and investing involve substantial risk, including the potential for losing more than your initial investment. Past performance is not indicative of future results. Always consult with a qualified financial advisor before making trading or investment decisions. The author of this strategy is not responsible for any financial losses incurred through its use.
Overview
The "Ichimoku by FarmerBTC" strategy is a trend-following system built on the Ichimoku Cloud indicator, enhanced with volume analysis and a high-timeframe Simple Moving Average (HTF SMA) condition. It is designed to identify long-only trade opportunities and performs optimally on higher timeframes, such as the daily chart or above.
Core Components
1. Ichimoku Cloud
The Ichimoku Cloud is a comprehensive trend-following indicator that helps identify the overall market direction and momentum. It consists of:
Conversion Line (Tenkan-Sen): Measures short-term momentum.
Base Line (Kijun-Sen): Filters medium-term trends.
Leading Span A: The average of the Conversion and Base Lines, forming one cloud boundary.
Leading Span B: The midpoint of the highest high and lowest low over a longer period, forming the other cloud boundary.
Key Ichimoku Rules Applied:
The strategy identifies bullish trends when:
The price is above the cloud.
The cloud is bullish (Leading Span A > Leading Span B).
2. High-Timeframe Simple Moving Average (HTF SMA)
This condition ensures alignment with the broader trend:
Default SMA Length: 13 periods.
Default Timeframe: 1 day.
HTF SMA Rule:
Trades are allowed only when the price is above the HTF SMA, ensuring alignment with the larger trend.
3. Volume Analysis
The strategy uses volume to validate trade setups:
Volume MA: A 20-period moving average of volume is calculated.
Trades are allowed only when the current volume is at least 1.5x the Volume MA, indicating strong market participation.
Entry and Exit Rules
Entry Condition (Long Only):
Price above the Ichimoku Cloud: Confirms a bullish trend.
Bullish Cloud: Leading Span A > Leading Span B indicates upward momentum.
Price above the HTF SMA: Ensures alignment with the broader trend.
Volume exceeds threshold: Confirms strong market participation.
Exit Condition:
The strategy exits the position when the price moves below the Ichimoku Cloud, signaling a potential trend reversal.
Best Timeframes
This strategy is optimized for daily (1D) or higher timeframes (e.g., weekly 1W). Using it on lower timeframes may produce false signals due to increased noise in price and volume data.
Default Settings
Ichimoku Settings:
Conversion Line Period: 10
Base Line Period: 30
Lagging Span Period: 53
Displacement: 26
HTF SMA Settings:
SMA Length: 13
Timeframe: 1 Day
Volume Settings:
Volume MA Length: 20
Volume Multiplier: 1.5x
Visualization
Ichimoku Cloud:
Dynamic cloud coloring (green for bullish, red for bearish) helps identify the current trend.
HTF SMA:
A purple line overlays the chart, providing a clear representation of the high-timeframe trend.
Volume Panel:
An optional panel displays volume (blue histogram) and the Volume Moving Average (orange line) to analyze market participation.
Advantages of This Strategy
High Accuracy on Higher Timeframes:
Filtering trades using the Ichimoku Cloud, HTF SMA, and volume ensures robust trend alignment, reducing false signals.
Volume Confirmation:
Incorporates volume as a validation metric to enter trades only during strong market participation.
Easy Customization:
Parameters like Ichimoku periods, SMA length, timeframe, and volume thresholds can be adjusted to suit different assets or trading styles.
Limitations
Not Suitable for Low Timeframes:
Lower timeframes can produce excessive noise, leading to false signals.
Long-Only:
The strategy is designed only for bullish markets and does not support short trades.
Lagging Nature of Indicators:
Both the Ichimoku Cloud and SMA are lagging indicators, meaning they react to past price movements.
Conclusion
The "Ichimoku by FarmerBTC" strategy is an excellent tool for trend-following on daily or higher timeframes. Its combination of Ichimoku Cloud, high-timeframe SMA, and volume ensures a robust framework for identifying high-probability long trades in trending markets. However, users are advised to test the strategy thoroughly and manage their risk appropriately. Always consult with a financial professional before making trading decisions.
Stablecoin Delta [SAKANE]Overview
Stablecoin Delta is an indicator designed to provide a detailed analysis of the market trends of major stablecoins (USDT and USDC). Stablecoins play a crucial role in supporting the liquidity of the cryptocurrency market, and fluctuations in their supply significantly impact the prices of Bitcoin and other cryptocurrencies.
This indicator leverages data from CryptoCap to visualize the daily changes in the market capitalization of stablecoins. Traders can use this tool to understand the effects of stablecoin supply fluctuations on the market in a timely manner, enabling more strategic investment decisions.
The key benefits include the ability to quickly monitor stablecoin supply changes, utilize this data as a supplementary tool for predicting Bitcoin price movements, and identify both short-term market movements and long-term trends. This indicator is valuable for traders of all levels, from beginners to seasoned professionals.
Features
- Support for USDT and USDC Market Cap
Monitor the market trends of these two major stablecoins using data from CryptoCap. Users can also choose to analyze only one of them.
- Daily Net Change Calculation
Calculates the daily change in market capitalization compared to the previous day, providing a clear view of trends.
- Flexible Smoothing Options
Apply either SMA or EMA smoothing for both the histogram and the line chart, based on user preference.
- Customizable Colors
Customize the colors for the histogram (positive/negative) and line chart for better visualization.
Visualization
- Histogram
Displays daily net changes as a histogram, with positive changes (green) and negative changes (red) clearly differentiated.
- Smoothed Line Chart
Provides a smoothed line chart to make trend identification easier.
Use Cases
- In-depth Analysis of the Cryptocurrency Market
The supply of stablecoins is a critical factor influencing the price of Bitcoin and other cryptocurrencies. This indicator helps traders understand overall market liquidity, enabling more effective investment decisions.
- Short-Term and Long-Term Strategy Development
Trends derived from stablecoin supply fluctuations are essential for traders to gauge short-term price movements and long-term market flows.
- Real-Time Market Adjustment
In times of sudden market shifts, this tool enables traders to quickly assess changes in stablecoin supply and adjust their positions accordingly.
Future Plans
- Additional stablecoins will be considered for inclusion if their market share grows significantly.
Disclaimer
- This indicator relies on data from CryptoCap. The results are subject to the accuracy and timeliness of the data and should be used as reference information only.
CVD OscillatorCVD Delta Oscillator
A momentum oscillator that measures buying and selling pressure through volume analysis, based on the principle that volume precedes price (cause and effect).
How It Works
Volume Analysis
Measures the force of buying and selling by analyzing how volume interacts with price movement within each bar
When price closes higher in a bar's range with strong volume, this indicates stronger buying pressure
When price closes lower in a bar's range with strong volume, this indicates stronger selling pressure
Momentum Measurement
Uses two EMAs (fast and slow) to smooth the volume delta
The difference between these EMAs creates an oscillator that shows:
Rising values = Buying pressure increasing
Falling values = Selling pressure increasing
Zero line crossovers = Potential shift in control between buyers and sellers
Signal Generation
Divergences
Bullish: Price falls to new lows while buying pressure increases (potential reversal up)
Bearish: Price rises to new highs while selling pressure increases (potential reversal down)
Zero-Line Crossovers
Bullish: Buying pressure overtakes selling pressure
Bearish: Selling pressure overtakes buying pressure
Practical Application
Reading the Indicator
Green columns above zero = Net buying pressure
Red columns below zero = Net selling pressure
Larger columns = Stronger pressure
Divergences and crossovers = Potential turning points
Trading Context
Helps identify when price movement has strong or weak volume support
Shows potential exhaustion points through divergences
Confirms trend changes through zero-line crossovers
Customization
Adjustable EMA periods for different trading styles
Toggle-able visual signals
Automatic alerts for all signals
Ask-Weighted Averages This indicator provides two price-based reference lines derived from volume dynamics within each bar. Specifically, it calculates a volume-weighted average price using only the portion of trading volume that occurred on the "ask" side, implying more aggressive buying activity. The logic behind this approach is to highlight potential support and resistance levels where buyers have shown greater conviction.
Key Features:
Ask-Weighted Average Prices:
Instead of using the entire trade volume, the lines focus on "ask volume" (volume associated with trades occurring at or near the ask price). This helps to spotlight areas where buyers have been dominant, potentially revealing more meaningful price levels for future market behavior.
Conditional vs. Continuous Lines:
Conditional Line: This line is only plotted if the dollar volume (a rough measure of trade value) exceeds a specified threshold, ensuring that the highlighted level is backed by substantial trading activity.
Continuous Line: A second line is always displayed, providing a running ask-weighted average price reference for additional context, regardless of dollar volume.
Supports Identifying Key Price Zones:
By focusing on where more motivated buyers have been active, the indicator helps traders identify potential inflection points in price, such as areas where the market might find support on pullbacks or resistance during rallies.
Overall, this indicator serves as a specialized tool for traders interested in volume-driven price analysis. It aims to refine the understanding of where buyers are most engaged and how that might shape future price movements.
Risks Associated with Trading:
No indicator can guarantee profitable trades or accurately predict future price movements. Market conditions are inherently unpredictable, and reliance on any single tool or combination of tools carries the risk of financial loss. Traders should practice sound risk management, including the use of stop losses and position sizing, and should not trade with funds they cannot afford to lose. Ultimately, decisions should be guided by a thorough trading plan and possibly supplemented with other forms of market analysis or professional advice.
Risks and Important Considerations:
• Not a Standalone Tool:
• This indicator should not be used in isolation. It is essential to incorporate additional technical analysis tools, fundamental analysis, and market context when making trading decisions.
• Relying solely on this indicator may lead to incomplete assessments of market conditions.
• Market Volatility and False Signals:
• Financial markets can be highly volatile, and indicators based on historical data may not accurately predict future movements.
• The indicator may produce false signals due to sudden market changes, low liquidity, or atypical trading activity.
• Risk Management:
• Always employ robust risk management strategies, including setting stop-loss orders, diversifying your portfolio, and not over-leveraging positions.
• Understand that no indicator guarantees success, and losses are a natural part of trading.
• Emotional Discipline:
• Avoid making impulsive decisions based on indicator signals alone.
• Emotional trading can lead to significant financial losses; maintain discipline and adhere to a well-thought-out trading plan.
• Continuous Learning and Adaptation:
• Stay informed about market news, economic indicators, and global events that may impact trading conditions.
• Continuously evaluate and adjust your trading strategies as market dynamics evolve.
• Consultation with Professionals:
• Consider seeking advice from financial advisors or professional traders to understand better how this indicator can fit into your overall trading strategy.
• Professional guidance can provide personalized insights based on your financial goals and risk tolerance.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.
BuySell%_ImtiazH_v2BuySell%_ImtiazH
This indicator includes two powerful volume metrics to complement your trading analysis:
30-Day Avg Vol (Blue Line): Tracks the average volume over the past 30 days, providing a baseline for typical trading activity.
Breakout Vol (White Line): Highlights the volume threshold needed for a potential breakout, calculated as a user-defined percentage above the 30-day average volume (default: 40%).
In addition to these enhancements, the indicator breaks down total trading volume into buying and selling components and calculates the percentage of buy volume for each bar.
🟥 Red Bars: Represent total volume.
🟩 Teal Bars: Show the buying volume within each candle.
🟨 Buy %: Displays the percentage of buy volume dynamically in the indicator panel, highlighted in yellow for quick visibility.
Use this tool to easily spot accumulation (buying pressure) or distribution (selling pressure) trends, customize breakout thresholds, and identify key breakout opportunities. Simple, clear, and effective for volume-based analysis!
How Are Buy Volume and Sell Volume Calculated?
This indicator uses a proportional approach to estimate buy and sell volumes based on price action:
Buy Volume: The portion of total volume where the price is moving upward, representing trades executed at the ask price.
Formula:
Buy Volume = (close - low) / (high - low) * volume
Sell Volume: The portion of total volume where the price is moving downward, representing trades executed at the bid price.
Formula:
Sell Volume = (high - close) / (high - low) * volume
If the high and low prices are the same (flat bar), both buy and sell volumes are set to 0.
Why This Matters
This calculation assumes the close price’s position within the high-to-low range reflects the balance of buying and selling activity:
Close near the high: Most volume is buy volume.
Close near the low: Most volume is sell volume.
Close in the middle: Volume is split between buying and selling.
By breaking down volume in this way, the indicator helps traders identify key trends like accumulation (buying pressure) and distribution (selling pressure), making it a powerful tool for volume-based analysis.
Volume Rate of Change (VROC)Volume Rate of Change (VROC) is an indicator that calculates the percentage change in trading volume over a specific period, helping analyze market momentum and activity. It is calculated as:
VROC = ((Current Volume - Past Volume) ÷ Past Volume) × 100
This indicator shows changes in market interest. Positive values indicate increasing volume, while negative values signal a decrease. High VROC values often suggest potential trend reversals or breakouts.
Applications:
Breakout Validation: VROC > 200% confirms strong breakouts; below this may signal false moves.
Market Stagnation: VROC < 0% suggests shrinking volume and range-bound markets.
Trend End Alert: A drop below 0% during trends may indicate weakening momentum.
Adjusting for Timeframes: Tailor VROC to timeframes.
Examples:
Daily: VROC(5) compares with last week's same day; VROC(20) with 1 month ago.
Monthly: VROC(12) compares with the same month last year; VROC(1) with last month.
Intraday: VROC(24) (hourly) and VROC(288) (5 minutes) for the same time yesterday.
Combined VolumeThis indicator displays the combined volume for all the exchanges listed in the settings menu.
For example, with the default settings, on BTCUSD the indicator will display the current market's volume AND the volume of all other major exchanges listed on TradingView.
The gray indicator value is the current exchange's volume, the colored volume is the combined volume of all other exchanges, allowing you to compare the current exchange's volume to the broad market to give you a better idea of local exchange activity versus broad market activity.
If you want to add more exchange tickers, turn "debug" mode on and a small label will appear in the top right telling you which market type & exchange ticker you're currently on. All exchange tickers must be separated by a comma.
The "Other Exchanges" input setting overrides all other lists allowing you to specify your own exchange list for assets not provided by the default settings (the indicator supports crypto, forex and stocks by default).
Volume Distribution Before/After Top
Description
This script visualizes the distribution of volume before and after a price peak within a specified time interval. The green area represents the volume accumulated before the peak, and the red area represents the volume accumulated after the peak. The script also calculates and displays the volume-weighted average price (VWAP) on each side of the peak with a dotted line and a label.
The key features include:
Volume Visualization: Transparent green and red bars indicate volume fractions before and after the peak.
VWAP Markers: Centered labels with VWAP values are plotted above the corresponding levels.
Interactive Inputs: Define the start and end points of the analysis interval using customizable anchor times.
This tool is ideal for traders who want to analyze how volume dynamics are distributed around key price levels. It can help identify potential zones of support and resistance and improve the understanding of market behavior in response to volume accumulation.
Instructions
Select the start and end anchor times using the input fields.
Observe the volume distribution and VWAP levels on the chart.
Use the visual data to make more informed trading decisions.
WVAD (Optimized Log Scaled)The WVAD (Optimized Log Scaled) indicator is a refined version of the classic Williams' Volume Accumulation/Distribution (WVAD). This version introduces logarithmic scaling for better visualization and usability, especially when dealing with large value ranges. It also includes EMA smoothing to highlight trends and reduce noise, providing traders with a more precise and clear representation of market dynamics.
Key Features:
1.Logarithmic Scaling:
Applies a log-based transformation to the WVAD values, ensuring extreme values are compressed while maintaining the overall structure of the data.
The log scaling allows better readability and interpretation, particularly for volatile or high-volume markets.
2.EMA Smoothing:
Uses an exponential moving average (EMA) to smooth the logarithmic WVAD values.
Helps reduce noise while preserving short-term trends, making it suitable for both trend-following and reversal strategies.
3.Customizable Parameters:
N (Lookback Period): Defines the accumulation period for calculating WVAD.
EMA Smoothing Period: Controls the sensitivity of the EMA applied to the logarithmic WVAD.
Decimal Places: Adjusts the precision of the displayed values for clearer visualization.
Line Colors: Fully customizable colors for both the raw WVAD line and the smoothed EMA.
4.Directional Preservation:
Keeps the positive and negative signs of WVAD to reflect accumulation (buying pressure) or distribution (selling pressure) in the market.
5.Zero Line Reference:
A horizontal zero line is plotted to help traders easily identify bullish (above 0) or bearish (below 0) market conditions.
How to Use:
Identify Trends: The smoothed WVAD line (EMA) can help detect trends or shifts in buying/selling pressure.
Crossovers: Use crossovers of the WVAD with the zero line as potential buy or sell signals.
Divergence: Spot divergences between price and the WVAD for early indications of reversals.
Applications:
Suitable for intraday, swing, or longer-term trading strategies.
Works across various asset classes, including stocks, commodities, and cryptocurrencies.
VIDYA Auto-Trading(Reversal Logic)
Purpose and Unique Features
This script leverages the Variable Index Dynamic Average (VIDYA) to implement a dynamic trend-following auto-trading strategy. By adapting to price volatility, it optimizes entry points and strengthens risk management. Key differentiators of this strategy include:
VIDYA Characteristics:
Quickly responds to price momentum changes through dynamic calculations.
Incorporates volatility adjustments for enhanced trend detection accuracy.
ATR Band Utilization:
Measures market volatility to set stop-loss levels and guide risk management.
Supports more calculated trade entries in volatile markets.
Visual Trend Representation:
Displays "green zones" for uptrends and "red zones" for downtrends.
Enables intuitive understanding of trend continuation and reversal.
Usage Instructions
Entry Conditions
Long Entry:
Enter when the price crosses above the upper band.
Close any previous short positions and initiate a new long position.
Short Entry:
Enter when the price crosses below the lower band.
Close any previous long positions and initiate a new short position.
Exit Conditions
Take Profit and Stop Loss:
Reverse Position Strategy or Position Reversal Strategy
Account Size: ¥100,0000
Commissions and Slippage: Assumed commission of 94 pips per trade and slippage of 1 pip.
Risk per Trade: 10% of account equity (adjustable based on risk tolerance).
Script Parameters
VIDYA Length: The period for calculating the trend (e.g., 14).
Momentum Period: The lookback period for calculating the Chande Momentum Oscillator (CMO).
ATR Band Distance: Adjustment coefficient for the band width (e.g., 1.5).
Price Source: Choose from close, open, high, or low prices for VIDYA calculation.
Trend Display Colors: Customize the colors for uptrend and downtrend zones.
Visualization Options: Toggle the display of trend lines, bands, and other elements on or off.
Strategy Features and Enhancements
Dynamic Momentum Adaptation:
Utilizes VIDYA's sensitivity to momentum changes for rapid trend detection.
Volatility-Aware Risk Management:
Employs ATR to dynamically adjust risk levels, ensuring resilience in volatile markets.
Enhanced Visual Indicators:
Clearly plots trend zones and entry points on the chart.
Simplifies analysis with intuitive visual cues.
Credits
This script is inspired by the innovative work of BigBeluga, whose indicators laid the foundation for this enhanced trend-following strategy. By leveraging BigBeluga’s insights, this script integrates VIDYA, ATR Bands, and other technical elements to create a more dynamic and intuitive trading tool.
We extend our gratitude to BigBeluga and the broader trading community for their invaluable contributions, which have enabled this advanced implementation.
Disclaimer:
This script is provided for educational purposes, and past performance does not guarantee future results. Always practice proper risk management in live trading scenarios.
By leveraging VIDYA, this strategy provides a precise and intuitive approach to trend-following. It is particularly effective in capturing market reversals and adapting to sudden price changes in volatile environments.
Total Volume for Custom PeriodIndicator Description: Total Volume for Custom Period
This indicator calculates the total trading volume for a specified time period and displays the result in the top-right corner of the chart. It is designed for traders and analysts who want to see the cumulative volume over a defined range of time without needing to calculate it manually.
Features:
Customizable Time Period:
Define the start and end times of the calculation using the easy-to-use settings panel.
The indicator dynamically updates as you adjust the dates.
Accurate Volume Calculation:
Calculates the total trading volume for all candlesticks between the selected start and end dates.
Works on all assets and timeframes supported by TradingView (stocks, crypto, forex, etc.).
Fixed Display:
The result is displayed in the top-right corner of the chart inside a clear and simple table.
The value remains visible regardless of chart movement or zoom level.
Real-time Updates:
Automatically recalculates the volume when new data is added or the selected time period changes.
Customizable Design:
Black text with a transparent background ensures the display is clear and non-intrusive.
Large text size for easy readability.
Use Cases:
Volume Analysis: Quickly assess the total trading activity over a specific time period.
Historical Data Analysis: Compare volume data across different time intervals.
Custom Strategies: Use the total volume metric as part of a broader trading strategy or analysis.
How It Works:
Open the settings panel of the indicator and input the desired Start Date and End Date.
The indicator calculates the total trading volume for all candles within the selected range.
The result is displayed in the top-right corner of the chart.
This indicator is a simple yet powerful tool for traders who rely on volume analysis to make informed decisions. It enhances your ability to study market behavior during specific periods and provides insights into trading activity with ease.