uptrend {lcyanalysis} | R Documentation |
uptrend technical analysis function
Description
Up trend line technical analysis function is to analyze the rising trend of stock data
Usage
uptrend(h,day,num)
Arguments
h |
an stock data |
day |
the number of days to analysis the data |
num |
select pivot calculation method 1: DOWN1<-(2*center)-Hi(h). 2: DOWN2<-center-(UP1-DOWN1). |
Details
use the up_function analysis data to analysis the rising trend line
Value
an analysis of stock data for up trend technical analysis indicators
Author(s)
Chun-Yu Liu <john401528@gmail.com>
Examples
## Not run:
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
uptrend(aapl,20,1)
## End(Not run)
[Package lcyanalysis version 1.0.4 Index]