UNPKG

@ldrick/trade-indicators

Version:
11 lines (10 loc) 527 B
import { either as E, readonlyNonEmptyArray as RNEA } from 'fp-ts/lib'; /** * The Triple Exponential Moving Average (TEMA) uses three Exponential Moving Average (EMA) * to reduce noise and still get close to latest prices. * It can be used to identify support and resistance levels. * Also prices above the TEMA can indicate uptrends, prices below can indicate downtrends. * * @public */ export declare const tema: (values: ReadonlyArray<number>, period?: number) => E.Either<Error, RNEA.ReadonlyNonEmptyArray<number>>;