powered by
Up trend line technical analysis function is to analyze the rising trend of stock data
uptrend(h,day,num)
an stock data
the number of days to analysis the data
select pivot calculation method 1: DOWN1<-(2*center)-Hi(h). 2: DOWN2<-center-(UP1-DOWN1).
an analysis of stock data for up trend technical analysis indicators
use the up_function analysis data to analysis the rising trend line
# NOT RUN { library(quantmod) aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE) uptrend(aapl,20,1) # }
Run the code above in your browser using DataLab