OPEN-SOURCE SCRIPT

Volume Insignts Analyzer

Atualizado
Description:

The Volume Insight Analyzer is an advanced Pine Script designed for traders who want a comprehensive view of volume dynamics on their charts. This script combines multiple volume-based indicators to help identify key trading opportunities, including significant volume days, volume dry-ups, and pocket pivots.

Key Features:

  1. VDU (Volume Dry-Up) Detection: Automatically identifies and marks days when the volume is significantly below its moving average, helping to spot potential breakout or breakdown points. Customizable volume thresholds allow for tailored analysis based on your trading strategy. The Volume Dry-Up label appears when the volume is substantially below its average level and the price is near a key moving average. This condition indicates a period of equilibrium between supply and demand, suggesting a potential low-risk entry point for traders.

  2. Pocket Pivot Analysis using 5 and 10 Length Pocket Pivots: Highlights days with exceptionally high volume compared to recent history, indicating potential pocket pivots. Visual markers on the chart and volume bars color-coded for 5 and 10-day lengths. Pocket pivot points are identified when the volume on a given day exceeds the maximum volume observed over the past several days. Specifically, a 5-day pocket pivot point is marked when today's volume surpasses the highest selling volume of the last 5 days. A cluster of 5-day pocket pivot points within a base is a strong indicator of stock strength. Similarly, a 10-day pocket pivot point following a Volume Dry-Up (VDU) suggests a potential entry opportunity. Moreover, a pre-existing cluster of 5-day pocket pivot points before a 10-day pocket pivot point provides greater conviction in the trade.

  3. Volume Moving Averages: Set different lengths for primary and secondary moving averages to track volume trends over daily, weekly, and monthly timeframes. Options to display moving average lines on the volume chart.

  4. Volume Visualization:
    a. Major and Minor Volume Bars: Option to display bars that are either above or below average volume levels. Adjustable settings to show or hide these bars based on user preference.
    b. Volume Bar Coloring: Volume bars are color-coded based on significant volume thresholds, including green for bullish signals, red for bearish signals, and orange for volume dry-ups.

  5. Volume Metrics Table: A customizable table that displays real-time volume metrics including Relative Volume (RVOL), Turnover, and the number of high volume days. The table can be oriented horizontally or vertically and styled according to your theme preferences.

  6. Visual Indicators:
    a) Volume Dry-Up (VDU) Labels: Clearly marked VDU events with textual annotations on the chart.
    b) Bullish and Bearish Arrows: Arrows indicating potential bullish or bearish closes based on volume analysis, enhancing decision-making.

  7. Customization Options:
    a) Dark and Light Theme Support: Toggle between dark and light themes to match your chart settings.
    b) Adjustable Parameters: Easily configure input settings such as volume thresholds, MA lengths, and table display options to fit your trading style.


How to Use:
  1. Set Parameters: Adjust the script settings such as volume thresholds, moving average lengths, and display preferences according to your analysis needs.
  2. Analyze Volume Patterns: Use the indicators and visual markers provided by the script to identify significant volume patterns and potential trading signals.
  3. Monitor Metrics: Refer to the volume metrics table for a quick overview of key volume-related statistics and trends.
  4. Make Informed Decisions: Utilize the visual cues and volume data provided by the script to enhance your trading strategy and make more informed decisions.


Disclaimer:
This script is for informational purposes only and should not be considered as trading advice. Use it in conjunction with other analysis tools and consult with a financial advisor if needed. Trading involves risk, and past performance does not guarantee future results.
Notas de Lançamento
Volume Chart Label Limitation:
The maximum number of labels on the volume chart is now capped at 50 to reduce clutter, especially when the chart is zoomed out.

Accumulation/Distribution Days in Volume Table:
The volume table now displays the count of recent accumulation and distribution days. An accumulation day occurs when the price closes in the top 75% of the range, with volume exceeding the average. Conversely, a distribution day is marked when the price closes in the bottom 25% of the range with above-average volume.

VDU and Pocket Pivot Limitations:
To avoid overcrowding, Volume Dry Up (VDU) labels are now restricted to the last 100 bars. Similarly, pocket pivot indicators (represented as circles on the chart) are limited to the last 300 bars. The absence of volume and pivot data beyond these bars does not hinder analysis, as the 10-period moving average (10MA) of the volume is still displayed. Significant increases in the 10MA alongside rising prices suggest strong buying, while sharp declines indicate volume dry up. This trend in the 10MA, coupled with price movement, allows for quick insights into stock accumulation and distribution.
Notas de Lançamento
Since this is a volume-based indicator, its format is set to "volume." This change will not cause any visible impact on the display.

The volume bars, when displayed, are not directly editable. Users can modify their properties through the input dialog box.

When volume bars are enabled, the corresponding volume labels will automatically appear above the bars.
Advance/Decline Volume LinepocketpivotpocketpivotvolumerelativevolumevolumeanalysisvolumepriceanalysisvolumesvolumespikeVolume

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal