NinjaScript > Language Reference > Indicator Methods >
The Price Oscillator is an indicator based on the difference between two moving averages, and is expressed as either a percentage or in absolute terms.
... Courtesy of StockCharts
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.