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
PositionSidedate
DateTimecompletionBar
intstartDate
DateTimestartingBar
intendDate
DateTimeendingBar
intlow
doublehigh
double
Properties
Completion
Gets the bar on which the wave was confirmed.
public int Completion { get; }
Property Value
Date
Gets the date on which the wave was confirmed.
public DateTime Date { get; }
Property Value
End
Gets the ending bar.
public int End { get; }
Property Value
EndDate
Gets the end date.
public DateTime EndDate { get; }
Property Value
Height
Gets the height of the filtered wave.
public double Height { get; }
Property Value
High
Gets the high price.
public double High { get; }
Property Value
Low
Gets the low price.
public double Low { get; }
Property Value
MidPoint
Gets the midpoint of the filtered wave.
public double MidPoint { get; }
Property Value
PercentChange
Gets the percentage change from low/high for up/down waves.
public double PercentChange { get; }
Property Value
Side
Gets the side.
public PositionSide Side { get; }
Property Value
Start
Gets the starting bar.
public int Start { get; }
Property Value
StartDate
Gets the start date.
public DateTime StartDate { get; }
Property Value
Methods
ToString()
Returns a string representation of this filtered wave.
public override string ToString()