m_top: m top technical analysis function

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/m_top.R

Description

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

Usage

1
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

Details

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

Value

an analysis of stock data for m top 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)
m_top(aapl,60,40,4,20)

## End(Not run)

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