Lipi Reference Lipi

Variables

orderflow.trades

Returns the total number of trades in the current bar — including both buy trades and sell trades.

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