A script using 1m small candle size (configurable) to compute the volume of buy (up) vs sell (down) candles (instead of actual market buy vs sell orders which are not available in pine script).
It then plots the buy vs sell ratio as an oscillator below the cart. This gives traders an idea of current order flow in the market.
To compute the small candles this script uses the "Smart Volume" script which can be found here: