Learn R Programming

lcyanalysis (version 1.0.4)

m_top: m top technical analysis function

Description

m top technical analysis function is to analyze the reversal pattern conform to the downward trend of stock data

Usage

m_top(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

Value

an analysis of stock data for m top technical analysis indicators

Details

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

Examples

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

Run the code above in your browser using DataLab