w_bottom: w bottom technical analysis function

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/w_bottom.R

Description

w bottom technical analysis function is to analyze the reversal pattern conform to the rising trend of stock data

Usage

1
w_bottom(h,top,down,month,day)

Arguments

h

an stock data

top

an rsi rise horizon value

down

an rsi down horizon value

month

set the length between the start and end points. Unit:month

day

check the correctness of the end point, set the length between the end and check points. Unit:day

Details

use RSI analysis of the strength of the stock market trend, analyze trends conform to w bottom, and RSI function need library 'TTR'

Value

an analysis of stock data for w bottom technical analysis indicators

Note

the month value must be more than one month

Author(s)

Chun-Yu Liu <john401528@gmail.com>

Examples

1
2
3
4
5
6
## Not run: 
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
w_bottom(aapl,60,40,2,20)

## End(Not run)

lcyanalysis documentation built on Feb. 7, 2020, 5:08 p.m.