Lipi Reference Lipi

Variables

orderflow.buy

How many buy trades the bar carried. This counts trades, not volume. `orderflow.buyvolume` measures the volume those trades moved, and the two are separate figures rather than two views of one.

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