Variables
orderflow.trades
The bar's overall trade count. It is read from the bar's own footprint totals, not worked out by adding the buy and sell counts together.
Example
indicator("Total Trades per Bar", overlay=false)
totalTrades = orderflow.trades
plot(totalTrades, title="Total Trades", style=plotStyle.histogram, color=color.gray)
Type
series int