Percentage Price Oscillator (PPO)
<< Click to Display Table of Contents >> Percentage Price Oscillator (PPO) |
The Percentage Price Oscillator shows the percentage difference between two exponential moving averages.
PPO(int fast, int slow, int smooth)
PPO(ISeries<double> input, int fast, int slow, int smooth)
Returns default value
PPO(int fast, int slow, int smooth)[int barsAgo]
PPO(ISeries<double> input, int fast, int slow, int smooth)[int barsAgo]
Returns smoothed value
PPO(int fast, int slow, int smooth).Smoothed[int barsAgo]
PPO(ISeries<double> input, int fast, int slow, int smooth).Smoothed[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
fast |
The number of bars to calculate the fast EMA |
input |
Indicator source data (?) |
slow |
The number of bars to calculate the slow EMA |
smooth |
The number of bars to calculate the EMA signal line |
// Prints the current value of a 20 period Percentage Price Oscillator |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.