Learn R Programming

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

TTR (version 0.24.3)

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

294,762

Version

0.24.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 12th, 2021

Functions in TTR (0.24.3)

DPO

De-Trended Price Oscillator
CTI

Ehler's Correlation Trend Indicator
CMO

Chande Momentum Oscillator
ADX

Welles Wilder's Directional Movement Index
CMF

Chaikin Money Flow
CLV

Close Location Value
CCI

Commodity Channel Index
DVI

DV Intermediate Oscillator
ATR

True Range / Average True Range
DonchianChannel

Donchian Channel
MFI

Money Flow Index
MACD

MACD Oscillator
KST

Know Sure Thing
SMA

Moving Averages
WPR

William's %R
VHF

Vertical Horizontal Filter
stockSymbols

Fetch Internet Data
SNR

Signal to Noise Ratio
SAR

Parabolic Stop-and-Reverse
ZigZag

Zig Zag
lags

Miscellaneous Tools
TTR

Functions to create Technical Trading Rules (TTR)
OBV

On Balance Volume (OBV)
PBands

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

Relative Strength Index
adjRatios

Split and dividend adjustment ratios
aroon

Aroon
keltnerChannels

Keltner Channels
rollSFM

Analysis of Running/Rolling/Moving Windows
EMV

Arms' Ease of Movement Value
ROC

Rate of Change / Momentum
GMMA

Guppy Multiple Moving Averages
chaikinVolatility

Chaikin Volatility
ultimateOscillator

The Ultimate Oscillator
chaikinAD

Chaikin Accumulation / Distribution
ttrc

Technical Trading Rule Composite data
BBands

Bollinger Bands
TDI

Trend Detection Index
runPercentRank

Percent Rank over a Moving Window
TRIX

Triple Smoothed Exponential Oscillator
stoch

Stochastic Oscillator / Stochastic Momentum Index
volatility

Volatility
williamsAD

Williams Accumulation / Distribution
runSum

Analysis of Running/Rolling/Moving Windows