Table of Contents

Class Range

Namespace
Balsam
Assembly
Balsam.Backtester.dll

Encapsulates a high/low range.

public class Range
Inheritance
Range
Inherited Members
Extension Methods

Constructors

Range(double, double)

Instantiates a new Range object.

public Range(double low, double high)

Parameters

low double
high double

Properties

High

Gets the high.

public double High { get; }

Property Value

double

Low

Gets the low.

public double Low { get; }

Property Value

double

Midpoint

Gets the midpoint of the range.

public double Midpoint { get; }

Property Value

double

Width

Gets the range (high - low).

public double Width { get; }

Property Value

double

Methods

Contains(Range)

Returns true if the specified range is entirely within this range.

public bool Contains(Range range)

Parameters

range Range

Returns

bool

Contains(double)

Returns true if the specified point is within the range.

public bool Contains(double point)

Parameters

point double

Returns

bool

ToString()

Returns a string representation of this object.

public override string ToString()

Returns

string