This script is calculating difference between buy and sell orders, realtime when the candle is build, using the accessible data.
Since we do not know how many stocks every single trade is executing, It only can use number of trades, showing how many trades resulting in price raising or lowering.
But it seems to be pretty god anyway.
The script is supposed to be a fine tuning when a trade is running, and early signals is needed.
When the green candle is larger than the red, price is supposed to rice, and the other way around when the red candle is larger the the green.
It calculate ONLY realtime. When starting the script there is no data, until candlesticks is builded.