View source: R/ultimateOscillator.R
ultimateOscillator | R Documentation |
The Ultimate Oscillator is a momentum oscillator designed to capture momentum across three different time frames.
ultimateOscillator(HLC, n = c(7, 14, 28), wts = c(4, 2, 1))
HLC |
Object that is coercible to xts or matrix and contains High-Low-Close prices. |
n |
A vector of the number of periods to use for each average calculation. |
wts |
The weights applied to each average. |
Created by Larry Williams in 1976.
Ivan Popivanov
The following site(s) were used to code/document this
indicator:
https://school.stockcharts.com/doku.php?id=technical_indicators:ultimate_oscillator
data(ttrc)
ult.osc <- ultimateOscillator(ttrc[,c("High","Low","Close")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.