f_indicator: This function calculates common indicators such as moving...

Description Usage Arguments Value

View source: R/f_indicator.R

Description

This function calculates common indicators such as moving averages and RSI

Usage

1
f_indicator(data, n = 10, m = 5)

Arguments

data

a data.table obtained from f_load

n

number of days used to calculate the slope of moving average. Default is 10

m

number of days used to calculate moving average. Default is 5

Value

A data.table


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