PROTECTED SOURCE SCRIPT

Total Volume Percentage (intraday)

Mis à jour
This script tracks the percentage of up vs down volume intraday. The intention is to get an idea throughout the day on sentiment changes regardless of how many handles are traded. This indicator should paint a clear picture on trend days by displaying an area with the same color (green for bullish and red for bearish). Please note that the default value uses the ticker for NYSE volume and not the security displayed on your chart. In other words, if you plot this on a chart with Amazon (AMZN) or Crude Oil or BITCOIN, it will still track the market's behavior. You can change the input on the indicator.

The coloring, up/down, are based on a moving average, which is also customizable. If you are doing intraday and you plot this on a 3-minute chart, you may want to set this at a relatively small timeframe.

Enjoy!
Notes de version
A couple of changes:
- New Option to show the Percentage value (default) or to show the net value (in millions). See how I use it below.
- Changed to use high low/2 instead of close. When analyzing periods larger than 15 minutes this may have an impact on how data is calculated and hl2 presents a better picture of the trend.

How I use the net? I track the net by 30-minute increments. I have downloaded this data for over 10 years and have analyzed how this data behaves in trend and balancing days. So if I notice that by noon I see XXXX on the Net Volume, I can paint a picture of what to expect to happen around closing of the session.
Notes de version
Updating Chart for visual purposes
Notes de version
This new version includes:
  • update to version 4 of PineScript
  • gives you the option of showing a label with the total percentage and net volume
  • uses Exponential Moving Average instead of Simple Moving Average when calculating the color of area (red vs green)

Notes de version
fixed label
Notes de version
Changed the way coloring works from a Moving Average to a change in one percentage point from previous bar.
Volume Indicator

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité