Description Usage Arguments Details Value Author(s) Examples
View source: R/down_function.R
Down trend line analysis of the down_function is to sort and analysis the stock data
1 | down_function(h,day,num)
|
h |
an stock data |
day |
the number of days to analysis the data |
num |
select pivot calculation method 1: UP1<-(2*center)-Lo(h). 2: UP2<-center+(UP1-DOWN1). |
down_function is to sort the stock data by the set number of days and to filter the data of rising trend
an analysis of stock data for down function
Chun-Yu Liu <john401528@gmail.com>
1 2 3 4 5 6 | ## Not run:
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
down_function(aapl,20,1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.