Table of Contents

Class MacdSeries

Namespace
MassiveDotNet.Rest.Models
Assembly
MassiveDotNet.Rest.dll

One page of the MACD indicator: the values computed for the page, and the aggregates they were computed from.

public sealed record MacdSeries : IEquatable<MacdSeries>
Inheritance
MacdSeries
Implements
Inherited Members

Remarks

IndicatorSeries with a richer value: each point carries the signal line and the histogram beside the MACD line, so the values bind to MacdValue. The underlying is the shape every indicator shares (decision D16). Enumerate yields the values and List returns the whole page (decision D17).

Properties

Underlying

The underlying aggregates used.

[JsonPropertyName("underlying")]
public IndicatorUnderlying? Underlying { get; init; }

Property Value

IndicatorUnderlying

Values

The MACD values for this page, oldest or newest first as requested.

[JsonPropertyName("values")]
[JsonConverter(typeof(PooledArrayConverter<MacdValue>))]
public MacdValue[]? Values { get; init; }

Property Value

MacdValue[]