down_function {lcyanalysis}R Documentation

down trend line down function

Description

Down trend line analysis of the down_function is to sort and analysis the stock data

Usage

down_function(h,day,num)

Arguments

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).

Details

down_function is to sort the stock data by the set number of days and to filter the data of rising trend

Value

an analysis of stock data for down function

Author(s)

Chun-Yu Liu <john401528@gmail.com>

Examples

## Not run: 
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
down_function(aapl,20,1)

## End(Not run)

[Package lcyanalysis version 1.0.4 Index]