llow

Syntax

llv = llow(data)
llv = llow(data, nperiods, dim)
llvts = llow(tsobj, nperiods)
llvts = llow(tsobj, nperiods, ParameterName, ParameterValue)

Arguments

data

Data series matrix.

nperiods

(Optional) Number of periods. Default = 14.

dim

Dimension.

tsobj

Financial time series object.

ParameterName

The valid parameter name is:

  • LowName: low prices series name

ParameterValue

The parameter value is a string that represents the valid parameter name.

Description

llv = llow(data) generates a vector of lowest low values for the past 14 periods from the matrix data.

llv = llow(data, nperiods, dim) generates a vector of lowest low values for the past nperiods periods. dim indicates the direction in which the lowest low is to be searched. If you input [] for nperiods, the default is 14.

llvts = llow(tsobj, nperiods) generates a vector of lowest low values from tsobj, a financial time series object. tsobj must include at least the series Low. The output llvts is a financial time series object with the same dates as tsobj and data series named LowestLow. If nperiods is specified, llow generates a financial time series object of lowest low values for the past nperiods periods.

llvts = llow(tsobj, nperiods, ParameterName, ParameterValue) specifies the name for the required data series when it is different from the default name. The parameter value is a string that represents the valid parameter name.

Examples

expand all

Compute the Lowest Low Price

This example shows how to compute the lowest low price for Disney stock and plot the results.

load disney.mat
dis_LLow = llow(dis);
plot(dis_LLow)
title('Lowest Low for Disney')

See Also

Was this topic helpful?