p1 in length are minimized as to their effect on
the DO indicator. It is a momentum indicator.
The View title displays the name of the indicator and the SMA lookback period and
the EMA period.
The Titlebar Chart Code for this indicator is dpo or dvo for
a price oscillator or a volume oscillator. (see EAS Titlebar Chart Codes)
Inputs
p1 defines both the comparison SMA period and the difference
calculation lookback period. The difference calculation lookback is int(p1/2+1).
p0 is the lookback period for the EMA signal line.
Choices for color are: "blue", "red", "green", "black" and "purple". color
must be input as a character matrix. The DO color and signal line color are automatically
set by these inputs.
Output Data & Plotting
returnflag is set to "data" a (b-a+1)-row by 2-column matrix of data
will be returned. The output is only valid for data points beyond the
lookback period, p0, in time. The first column of the output is
the value of the DO at any given point in time and the second column is the value of the
EMA signal line.
Keep in mind that this indicator may only be valid for the
mmddyyref date matrix, since the data is normally filtered to match the by matching
the data matrices for the Current & Reference Tickers. If the input data for
each ticker was a match then no filtering was necessary and mmddyy could be used for
scaling the date. To be safe, however, any chart date scaling should occur using
mmddyyref as the input to datescale.
| Equis.com Detrended Price Oscillator |