llow

llow has been partially removed and will no longer accept a fints object (tsobj) argument. Use a matrix, timetable, or table instead for financial time series.

Use fts2timetable to convert a fints object to a timetable object.

Syntax

values = llow(Data)
values = llow(___,Name,Value)

Description

example

values = llow(Data) generates a vector of lowest low values from the series of low prices for the past n periods.

example

values = llow(___,Name,Value) adds optional name-value pair arguments.

Examples

collapse all

Load the file SimulatedStock.mat, which provides a timetable (TMW) for financial data for TMW stock.

load SimulatedStock.mat
values = llow(TMW);
plot(values.Time,values.LowestLow)
title('Lowest Low for TMW')

Input Arguments

collapse all

Data for low prices, specified as a matrix, table, or timetable. Timetables and tables with M rows must contain a variable named 'Low' (case insensitive).

Data Types: double | table | timetable

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: values = llow(TMW_LOW,'NumPeriods',10)

Moving window for the lowest low calculation, specified as the comma-separated pair consisting of 'NumPeriods' and a scalar positive integer.

Data Types: double

Output Arguments

collapse all

Lowest low series, returned with the same number of rows (M) and the same type (matrix, table, or timetable) as the input Data.

References

[1] Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995.

Introduced before R2006a