Learn R Programming

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

TTR (version 0.24.0)

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.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Joshua Ulrich

Last Published

August 10th, 2020

Functions in TTR (0.24.0)

ATR

True Range / Average True Range
CMF

Chaikin Money Flow
CLV

Close Location Value
DPO

De-Trended Price Oscillator
DonchianChannel

Donchian Channel
DVI

DV Intermediate Oscillator
CTI

Ehler's Correlation Trend Indicator
CCI

Commodity Channel Index
OBV

On Balance Volume (OBV)
ADX

Welles Wilder's Directional Movement Index
CMO

Chande Momentum Oscillator
KST

Know Sure Thing
TTR

Functions to create Technical Trading Rules (TTR)
lags

Miscellaneous Tools
RSI

Relative Strength Index
TDI

Trend Detection Index
PBands

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

Arms' Ease of Movement Value
GMMA

Guppy Multiple Moving Averages
TRIX

Triple Smoothed Exponential Oscillator
MFI

Money Flow Index
runSum

Analysis of Running/Rolling/Moving Windows
MACD

MACD Oscillator
adjRatios

Split and dividend adjustment ratios
rollSFM

Analysis of Running/Rolling/Moving Windows
SMA

Moving Averages
runPercentRank

Percent Rank over a Moving Window
stockSymbols

Fetch Internet Data
ZigZag

Zig Zag
aroon

Aroon
ROC

Rate of Change / Momentum
chaikinVolatility

Chaikin Volatility
ultimateOscillator

The Ultimate Oscillator
BBands

Bollinger Bands
SAR

Parabolic Stop-and-Reverse
WPR

William's %R
SNR

Signal to Noise Ratio
stoch

Stochastic Oscillator / Stochastic Momentum Index
VHF

Vertical Horizontal Filter
ttrc

Technical Trading Rule Composite data
chaikinAD

Chaikin Accumulation / Distribution
williamsAD

Williams Accumulation / Distribution
volatility

Volatility