Description Usage Arguments Value Examples
Analyze a dataframe from getHistoricalQuote function and return a dataframe with VSA columns only
1 | getAnalysis(df, period = 15)
|
df |
The dataframe from getHistoricalQuote function. Or just with few columns - "High", "Low", "Close" and "Volume". But the data.frame must be sorted from oldest to newest. |
period |
Vector with number of observations for SMA calculation |
close.inside.bar |
The relative close of the bar inside the bar |
type.of.bar |
Type of bar |
relative.volume |
The relative volume of bar by period |
relative.height |
The relative height of bar by period |
close.between.extremums |
In which part between the maximum and minimum for the period is the closure |
relative.change.of.closes |
Relative change of closes by period |
relative.open.mean.deviation |
Relative deviations from the mean of open by period |
relative.close.mean.deviation |
Relative deviations from the mean of close by period |
1 2 3 | data(aapl)
head(getAnalysis(aapl))
summary(getAnalysis(aapl, period = c(8, 15)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.