technicalAnalysis {fSeries}R Documentation

Tools for the Technical Analysis

Description

A collection of functions for the technical analysis of stock markets. This collection provides a set of the most common technical indicators together with functions for open–high–close–low charts, and three functions for benchmark measurements.

The functions are:

1 emaTA Exponential Moving Average,
2 biasTA Bias Indicator,
3 medpriceTA Medium Price Indicator,
4 typicalpriceTA Typical Price Indicator,
5 wcloseTA Weighted Close Indicator,
6 rocTA Rate of Change,
7 oscTA Oscillator Indicator,
8 momTA Momentum Indicator,
9 macdTA MACD Indicator,
10 cdsTA MACD Signal Line,
11 cdoTA MACD Oscillator,
12 vohlTA High/Low Volatility,
13 vorTA Volatility Ratio,
14 fpkTA Fast Percent K,
15 fpdTA Fast Percent D,
16 spdTA Slow Percent D,
17 apdTA Averaged Percent D,
18 wprTA William's Percent R,
19 rsiTA Relative Strength Index.

Usage

emaTA(x, lambda, startup = 0)
biasTA(x, lag)
rocTA(x, lag)
oscTA(x, lag1, lag2)
momTA(x, lag)
macdTA(x, lag1, lag2)
cdsTA(x, lag1, lag2, lag3)
cdoTA(x, lag1, lag2, lag3)
vohlTA(high, low)
vorTA(high, low)
fpkTA(close, high, low, lag)
fpdTA(close, high, low, lag1, lag2)
spdTA(close, high, low, lag1, lag2, lag3)
apdTA(close, high, low, lag1, lag2, lag3, lag4)
wprTA(close, high, low, lag)
rsiTA(close, lag)

medpriceTA(high, low)
typicalpriceTA(high, low, close)
wcloseTA(high, low, close)

Arguments

lag, lag1, lag2, lag3, lag4 integer values, time lags.
lambda a numeric value, the decay length of the exponential moving average.
startup an integer value, the startup position of the exponential moving average, by default 0.
x, high, low, close a numeric vector of prices, either opening, closing, or high and low values. For ohlcPlot a multivariate time series object of class mts.

Value

*TA
The technical Indicators return the following numeric vectors:
emaTA returns the Exponential Moving Average, EMA
biasTA returns the EMA-Bias,
rocTA returns the Rate of Change Indicator,
oscTA returns the EMA Oscillator Indicator,
momTA returns the Momentum Oscillator,
macdTA returns the MACD Oscillator,
cdsTA returns the MACD Signal Line,
cdo returns the MACD Oscillator,
vohlTA returns the High/Low Volatility Oscillator,
vorTA returns Volatility Ratio Oscillator,
fpkTA returns the Fast Percent-K Stochastics Indicator,
fpdTA returns the Fast Percent-D Stochastics Indicator,
spdTA returns the Slow Percent-D Stochastics Indicator,
apdTA returns the Averaged Percent-D Stochastics Indicator,
wprTA returns the Williams Percent-R Stochastics Indicator,
rsiTA returns the Relative Strength Index Stochastics Indicator,
medpriceTA returns the Medium Price,
typicalpriceTA returns the Typical Price,
wcloseTA returns the Weighted Closing Price.

Author(s)

Diethelm Wuertz for this R-port.

Examples

## Currently no examples ...

[Package Contents]