Variables
orderflow.buy
Returns the number of buy trades (market orders matched with the ask) within the current bar
Example
indicator("Buy Trades per Bar", overlay=false)
buyTrades = orderflow.buy
plot(buyTrades, title="Buy Trades", style=plotStyle.histogram, color=color.green)
Type
series int