Polarized Fractal Efficiency (PFE)
<< Click to Display Table of Contents >> Polarized Fractal Efficiency (PFE) 
The Polarized Fractal Efficiency indicator uses fractal geometry to determine how efficiently the price is moving. When the PFE is zigzagging around zero, then the price is congested and not trending. When the PFE is smooth and above/below zero, then the price is in an up/down trend. The higher/lower the PFE value, the stronger the trend is.
... Courtesy of FMLabs
PFE(int period, int smooth)
PFE(ISeries<double> input, int period, int smooth)
Returns default value
PFE(int period, int smooth)[int barsAgo]
PFE(ISeries<double> input, int period, int smooth)[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input 
Indicator source data (?) 
period 
Number of bars used in the calculation 
smooth 
The smoothing factor to be applied 

You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.