5.1 TTR package

Technical trading rule (TTR) package is loaded when we load quantmod package.

If you want to use it separately, then just load the package as usual:

install.packages("TTR")
library(TTR)

This packages covers quite a few common technical indicators but some of them are not. Hence, it is best to learn how to calculate an indicator from the scratch.