Function: Price Oscillator [oscp()]
SYNTAX
oscp( PERIODS, PERIODS,
MA_METHOD, DIFF_METHOD )
FUNCTION
Calculates the
PERIODS/PERIODS predefined Price Oscillator indicator calculated using the
MA_METHOD moving average method expressed in DIFF_METHOD.
Valid MA_METHODs are
SIMPLE, EXPONENTIAL, WEIGHTED, TIMESERIES, TRIANGULAR, and VARIABLE (these can
be abbreviated as S, E, W, T, TRI, VAR).
Valid DIFF_METHODs are
PERCENT and POINTS (these can be abbreviated as % and $).
EXAMPLE
The formula "oscp(1, 25, E,
$) " returns a 1-period/25-period exponential price oscillator expressed
in points.
同樣係計算移動平均數值, 並且係以第1個參數除以第2個參數後移動平均數值, "$" 位係可選用 "%" , 即由價位轉為以 百份比顯示數值~
|