OPEN-SOURCE SCRIPT
已更新 Gross and Net LTF Volume + Trailing Percentile Sessions CVOL

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:
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
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).

The above image showcases price expansion conditional on high positive volume (increasing CVOL), The price expansion also exhibits Volume confluences (the colored bars).
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.
Gross volume, net lower time frame (LTF) volume and trailing session percentile Cumulative session volume:
The code calculates and plots the following volume indicators:
- Volume (Gross Volume): The total volume for the current bar.
- Net lower time frame volume: The difference between the buy and sell volumes of the lower time frame.
- Cumulative daily session volume: The cumulative sum of the volume for the current day.
- 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
- 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.
- 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.
- 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.
- 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).
The above image showcases price expansion conditional on high positive volume (increasing CVOL), The price expansion also exhibits Volume confluences (the colored bars).
- Positive Confluence: Increase in positive total volume and an increase in positive lower time frame volume in relative and absolute terms.
- 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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。