f_slope: This function calculates the slope of a moving average

Description Usage Arguments Value

View source: R/f_indicator.R

Description

This function calculates the slope of a moving average

Usage

1

Arguments

data

data.table. data should be a obj an outcome from f_indicators to ensure MA is present in data.

n

Moving average based on n days

Value

The slope of the moving average


kristian-bak/kb.modelling documentation built on Dec. 21, 2021, 7:46 a.m.