Detrended Price Oscillator
DPO(close; period)
The 'close' argument is an array that contains the close values.
The 'period' parameter defines the period for the function and must be a constant greater or equal to 1.
The result is an array. The first 'period' elements of the result are marked as invalid.
The Detrended Price Oscillator compares the closing price (or any other price) to a prior moving average. This indicator attempts to eliminate the trend in prices. Detrended prices allow you to more easily identify cycles and overbought/oversold levels.
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators