Learn R Programming

lcyanalysis (version 1.0.4)

bearpower: bear power technical analysis function

Description

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

Usage

bearpower(h,down,day)

Arguments

h

an stock data

down

an rsi down horizon value

day

Days of data shown

Value

an analysis of stock data for bear power technical analysis indicators

Details

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

Examples

Run this code
# NOT RUN {
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
bearpower(aapl,40,5)
# }

Run the code above in your browser using DataLab