LowW (Function)

image\trumpet2.gif Disclaimer

The LowWseries function allows you to reference the weekly Low of a previous week in an intraday chart (minute, second, or tick-based) or a daily or weekly chart.  LowW is one of a family of functions that allows historical references across various data intervals.

Usage

LowW(PeriodsAgo)

Returns (Double)

The weekly Low price from num weeks ago.  If there is not enough data, the function will return –1.

Parameters

Name

Type

Description

PeriodsAgo

NumericSimple

The number of weeks back to reference a previous week’s Low price. (0 = This week’s current Low)

Remarks

You must have enough intraday data in the chart in order to look back and reference any previous weekly low. For example, if you want to look back at the low of 15 weeks ago on a 30-minute chart, you must have at least 16 full weeks of 30-minute bars in the chart.

The value for the PeriodsAgo input parameter should always be a positive whole number greater than or equal to 0. Setting PeriodsAgo to 0 returns this week’s current Low.

Example

In order to place a buy limit order at the Low of the previous week you would write:

Buy Next Bar at LowW(1) Limit;

 

See Also

HighW, CloseW, OpenW, LowD, LowM, and LowY.