Learn R Programming

⚠️There's a newer version (0.24.4) of this package.Take me there.

TTR (version 0.24.2)

Technical Trading Rules

Description

A collection of over 50 technical indicators for creating technical trading rules. The package also provides fast implementations of common rolling-window functions, and several volatility calculations.

Copy Link

Version

Install

install.packages('TTR')

Monthly Downloads

287,361

Version

0.24.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Joshua Ulrich

Last Published

September 1st, 2020

Functions in TTR (0.24.2)

CTI

Ehler's Correlation Trend Indicator
CLV

Close Location Value
DonchianChannel

Donchian Channel
CCI

Commodity Channel Index
CMF

Chaikin Money Flow
DPO

De-Trended Price Oscillator
ADX

Welles Wilder's Directional Movement Index
DVI

DV Intermediate Oscillator
ATR

True Range / Average True Range
OBV

On Balance Volume (OBV)
MFI

Money Flow Index
SAR

Parabolic Stop-and-Reverse
GMMA

Guppy Multiple Moving Averages
EMV

Arms' Ease of Movement Value
CMO

Chande Momentum Oscillator
SNR

Signal to Noise Ratio
stoch

Stochastic Oscillator / Stochastic Momentum Index
BBands

Bollinger Bands
stockSymbols

Fetch Internet Data
RSI

Relative Strength Index
ZigZag

Zig Zag
ttrc

Technical Trading Rule Composite data
aroon

Aroon
adjRatios

Split and dividend adjustment ratios
chaikinAD

Chaikin Accumulation / Distribution
VHF

Vertical Horizontal Filter
SMA

Moving Averages
ROC

Rate of Change / Momentum
chaikinVolatility

Chaikin Volatility
williamsAD

Williams Accumulation / Distribution
PBands

Construct (optionally further smoothed and centered ) volatility bands around prices
TRIX

Triple Smoothed Exponential Oscillator
KST

Know Sure Thing
TDI

Trend Detection Index
rollSFM

Analysis of Running/Rolling/Moving Windows
WPR

William's %R
MACD

MACD Oscillator
runSum

Analysis of Running/Rolling/Moving Windows
TTR

Functions to create Technical Trading Rules (TTR)
lags

Miscellaneous Tools
volatility

Volatility
ultimateOscillator

The Ultimate Oscillator
runPercentRank

Percent Rank over a Moving Window