MCPcopy Create free account
hub / github.com/data-forge/data-forge-indicators / macd

Function macd

src/indicators/macd.ts:54–103  ·  view source on GitHub ↗

* Compute macd for a series. * * @param shortPeriod - The time period of the short moving average. * @param longPeriod - The time period of the long moving average. * @param signalPeriod - The time period for the macd signal line. * * @returns Returns a dataframe for the computed macd indicat

(
    this: ISeries<IndexT, number>, 
    shortPeriod: number,
    longPeriod: number,
    signalPeriod: number
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

emaMethod · 0.65

Tested by

no test coverage detected