Lowest

Modified on 2008/04/18 09:01 by Administrator — Categorized as: Standard Indicators

Syntax

public Lowest(WealthLab.DataSeries source, int period, string description)
public static Lowest Series(DataSeries source, int period)
public static double Value(int bar, DataSeries source, int period)

Parameter Description

source The source DataSeries
period Lookback period

Description

Returns the lowest value of a source DataSeries within the specified look back period.

See Highest for more information.

Calculation

Looks back the specified number of periods from the specified Bar and returns the lowest price within that period.

Example

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // Plot the most recent 40 bar low as dots on the chart PlotSeries( PricePane, Lowest.Series( Low, 40 ), Color.Maroon, WealthLab.LineStyle.Dots, 3 ); } } }