bearpower: bear power technical analysis function

Description Usage Arguments Details Value Author(s) Examples

View source: R/bearpower.R

Description

bear power technical analysis function is to analyze the reversal pattern conform to the downward trend and bear market of stock data

Usage

1
bearpower(h,down,day)

Arguments

h

an stock data

down

an rsi down horizon value

day

Days of data shown

Details

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

Value

an analysis of stock data for bear power technical analysis indicators

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)
bearpower(aapl,40,5)

## End(Not run)

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