UNPKG

@ldrick/trade-indicators

Version:
9 lines (8 loc) 474 B
import { either as E, readonlyNonEmptyArray as RNEA } from 'fp-ts'; /** * The Double Exponential Moving Average (DEMA) uses two Exponential Moving Average (EMA) * to reduce noise. It can be used to identify support and resistance levels. * Also prices above the DEMA can indicate uptrends, prices below can indicate downtrends. * @public */ export declare const dema: (values: readonly number[], period?: number) => E.Either<Error, RNEA.ReadonlyNonEmptyArray<number>>;