UNPKG

trading-signals

Version:

Technical indicators to run technical analysis with JavaScript / TypeScript.

11 lines (10 loc) 532 B
import type { HighLowCloseVolume } from '../../base/Candle.type.js'; import { TrendIndicatorSeries } from '../../base/Indicator.js'; export declare class EMV extends TrendIndicatorSeries<HighLowCloseVolume> { #private; readonly interval: number; constructor(interval: number, scale?: number); getRequiredInputs(): number; update(candle: HighLowCloseVolume, replace: boolean): number | null; protected calculateSignalState(result: number | null | undefined): "BEARISH" | "BULLISH" | "SIDEWAYS" | "UNKNOWN"; }