@ldrick/trade-indicators
Version:
Trade Indicators
10 lines (9 loc) • 516 B
TypeScript
import { either as E, readonlyNonEmptyArray as RNEA } from 'fp-ts';
/**
* 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: readonly number[], period?: number) => E.Either<Error, RNEA.ReadonlyNonEmptyArray<number>>;