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!