import { WilliamsROptions } from '../../schemas/WilliamsROptionsSchema'; import { WilliamsRResult } from '../../schemas/WilliamsRResultSchema'; /** * Calculate Williams %R * * Williams %R is a momentum oscillator that measures overbought/oversold levels. * It is similar to the Stochastic Oscillator but uses a different scale. * * Formula: %R = ((Highest High - Current Close) / (Highest High - Lowest Low)) * -100 * * Values range from -100 to 0: * - Above -20: Overbought (potential sell signal) * - Below -80: Oversold (potential buy signal) * * @param options - Williams %R calculation options * @returns Williams %R result with values, highest highs, lowest lows, and metadata * * @example * ```typescript * const result = calculateWilliamsR({ * high: [102, 103, 101, 104, 105], * low: [98, 99, 97, 100, 101], * close: [100, 102, 100, 103, 104], * period: 14 * }); * * console.log(result.williamsR); // Williams %R values (-100 to 0) * ``` */ export declare function calculateWilliamsR(options: WilliamsROptions): WilliamsRResult;