signal.obj.slope: Signal Objective Function

Description Usage Arguments Details Value Author(s) See Also

View source: R/signals.R

Description

Simple example of objective function that can can be used to measure the effectiveness of various parameter combinations.

Usage

1

Arguments

x

Return matrix, each row represents price deltas for a single signal, each column represents periods

Details

Calculates the slope of the Cumulative Equity line. Higher the better.

It is important to note that all objective functions are called within signal.generate.statistics. What gets passed in to it as parameter is an matrix of post signal price changes or cumulative equity for each signal. The matrix is of N-by-M dimensions. N being the row representing the Nth signal. M being the column representing Mth period.

Value

Single Objective Value

Author(s)

Michael Guan

See Also

apply.paramset.signal.analysis


cloudcell/quantstrat documentation built on May 13, 2019, 8:03 p.m.