NinjaScript > Language Reference > Indicator Methods >
The BuySellPressure indicator displays both the current bar's buying and selling pressure as percentage values based on the categorization of trades as buy or sell trades. Trades are categorized in real-time as a buy (at the ask or above) or as a sell (at the bid or below).... Trades in between the market are ignored. This is a real-time indicator only. It functions only on real-time data and therefore does not plot any values on historical data. If you change any property, interval or instrument on a chart, this indicator will restart and any accumulated real-time data plots will be lost.
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
You can view this indicator method source code by selecting the menu Tools > Edit NinjaScript > Indicator within the NinjaTrader Control Center window.