OPEN-SOURCE SCRIPT

Gross and Net LTF Volume + Trailing Percentile Sessions CVOL

Actualizado
Hi Traders !

Gross volume, net lower time frame (LTF) volume and trailing session percentile Cumulative session volume:

The code calculates and plots the following volume indicators:
  1. Volume (Gross Volume): The total volume for the current bar.
  2. Net lower time frame volume: The difference between the buy and sell volumes of the lower time frame.
  3. Cumulative daily session volume: The cumulative sum of the volume for the current day.
  4. Percentile Cumulative daily session volume: The percentile of the cumulative daily session volume (calculated on a rolling basis).


The above indicators may be plotted exclusively or exclusively.

Why is Volume important:

Volume is the number of shares or contracts traded (of a financial asset) during a given time period (timeframe). It is a crucial indicator in technical analysis and quantitative trading, as volume helps in identifying

  1. Price Confirmation: Volume confirms price movements by indicating the level of interest and participation in the market. When prices move significantly, accompanied by strong volume, it suggests that the movement is likely to be sustained. Conversely, if prices move without significant volume, it suggests that the movement may be temporary or lacking conviction.
  2. Trend Strength: Volume can help identify the strength and direction of a trend. During an uptrend, increasing volume alongside price increases indicates that the upward momentum is gaining traction. Conversely, decreasing volume during an uptrend suggests that the upward momentum may be weakening.
  3. Reversal Points: Sharp volume spikes in the opposite direction of the prevailing trend can signal a potential reversal point. This is because large volume indicates a significant shift in trader sentiment, suggesting that the trend may be changing direction.
  4. Liquidity: High volume indicates that a security is liquid, meaning that it can be easily bought and sold without significant price impact. Liquidity is important for traders who want to execute large orders without significantly affecting the market price.


For example, suppose we want to identify positive price confirmation and positive trend strength, in this case we may use the CVOL (with trailing percentile).

imagen

The above image showcases price expansion conditional on high positive volume (increasing CVOL), The price expansion also exhibits Volume confluences (the colored bars).

  1. Positive Confluence: Increase in positive total volume and an increase in positive lower time frame volume in relative and absolute terms.
  2. Negative Confluence: Increase in negative total volume and an increase in negative lower time frame volume in relative and absolute terms.


Also note how the percentile color does not change, this means that the new volume bars are > than the highest percentile (80%) of volume values from the beginning of the session.





Notas de prensa
Updates:

  1. UI / settings inputs update
  2. CVOL label update


Below is a picture of the CVOL wit the updated percentile label plot (with defualt settings. Note "Plot Session Cumulative Volume" has been set to true and "Gross Volume", "LTf Buy Volume" and "LTf Sell Volume" have been set to false).

imagen





cumulativevolumeCVOLlowertimeframevolumepercentilepercentilevolumeVolatilityVolume IndicatorVolume

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad