Interface IHarmonic

Represents a harmonic pattern extended from an XABCD pattern with additional properties.

interface IHarmonic {
    A: IZigZag;
    ABC: number;
    B: IZigZag;
    BCD: number;
    C: IZigZag;
    D?: IZigZag;
    X: IZigZag;
    XAB: number;
    XAD: number;
    error?: number;
    isDeveloping: boolean;
    lastTimestamp?: number;
    type: HARMONIC_PATTERNS;
}

Hierarchy

Properties

The second point of the XABCD pattern.

ABC: number

The ratio of the BC segment to the AB segment.

The third point of the XABCD pattern.

BCD: number

The ratio of the CD segment to the BC segment.

The fourth point of the XABCD pattern.

The fifth and final point of the XABCD pattern.

The starting point of the XABCD pattern.

XAB: number

The ratio of the AB segment to the XA segment.

XAD: number

The ratio of the XD segment to the XA segment.

error?: number

The error rate in the pattern recognition process.

isDeveloping: boolean

Indicates whether the pattern is currently developing or completed.

lastTimestamp?: number

The timestamp of the last point in the pattern, useful for tracking the pattern's progression over time.

The specific type of harmonic pattern, e.g., Gartley, Butterfly, etc.

Generated using TypeDoc