Table of Contents

Class FilteredWave

Namespace
Balsam
Assembly
Balsam.Backtester.dll

Encapsulates information from the zigzag indicator.

public class FilteredWave
Inheritance
FilteredWave
Inherited Members
Extension Methods

Constructors

FilteredWave(PositionSide, DateTime, int, DateTime, int, DateTime, int, double, double)

Instantiates a new FilteredWave using the specified parameters.

public FilteredWave(PositionSide side, DateTime date, int completionBar, DateTime startDate, int startingBar, DateTime endDate, int endingBar, double low, double high)

Parameters

side PositionSide
date DateTime
completionBar int
startDate DateTime
startingBar int
endDate DateTime
endingBar int
low double
high double

Properties

Completion

Gets the bar on which the wave was confirmed.

public int Completion { get; }

Property Value

int

Date

Gets the date on which the wave was confirmed.

public DateTime Date { get; }

Property Value

DateTime

End

Gets the ending bar.

public int End { get; }

Property Value

int

EndDate

Gets the end date.

public DateTime EndDate { get; }

Property Value

DateTime

Height

Gets the height of the filtered wave.

public double Height { get; }

Property Value

double

High

Gets the high price.

public double High { get; }

Property Value

double

Low

Gets the low price.

public double Low { get; }

Property Value

double

MidPoint

Gets the midpoint of the filtered wave.

public double MidPoint { get; }

Property Value

double

PercentChange

Gets the percentage change from low/high for up/down waves.

public double PercentChange { get; }

Property Value

double

Side

Gets the side.

public PositionSide Side { get; }

Property Value

PositionSide

Start

Gets the starting bar.

public int Start { get; }

Property Value

int

StartDate

Gets the start date.

public DateTime StartDate { get; }

Property Value

DateTime

Methods

ToString()

Returns a string representation of this filtered wave.

public override string ToString()

Returns

string