m_top {lcyanalysis}R Documentation

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

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

## Not run: 
library(quantmod)
aapl<-getSymbols("AAPL",src="yahoo",auto.assign=FALSE)
m_top(aapl,60,40,4,20)

## End(Not run)

[Package lcyanalysis version 1.0.4 Index]