import { MACDOptions } from '../../schemas/MACDOptionsSchema'; import { MACDResult } from '../../schemas/MACDResultSchema'; /** * Calculate MACD (Moving Average Convergence Divergence) * * MACD is a trend-following momentum indicator that shows the relationship between two moving averages. * It consists of three components: * 1. MACD Line = Fast EMA - Slow EMA * 2. Signal Line = EMA of MACD Line * 3. Histogram = MACD Line - Signal Line * * @param options - MACD calculation options * @returns MACD result with macdLine, signalLine, histogram, and metadata * * @example * ```typescript * const result = calculateMACD({ * prices: [100, 102, 101, 103, 105, 104, 106, 108, 107, 109], * fastPeriod: 12, * slowPeriod: 26, * signalPeriod: 9 * }); * * console.log(result.macdLine); // MACD line values * console.log(result.signalLine); // Signal line values * console.log(result.histogram); // Histogram values * ``` */ export declare function calculateMACD(options: MACDOptions): MACDResult;