/** * Average Sentiment Oscillator * * Measures bull/bear sentiment based on intrabar and group candle analysis. * Bulls = bullish candle count / total * 100, Bears = bearish / total * 100. * Smoothed with SMA. * * Reference: TradingView "Average Sentiment Oscillator" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface AverageSentimentOscInputs { length: number; } export declare const defaultInputs: AverageSentimentOscInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: { value: number; options: { color: string; linestyle: "dashed"; title: string; }; }[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const AverageSentimentOscillator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: AverageSentimentOscInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=average-sentiment-oscillator.d.ts.map