OPEN-SOURCE SCRIPT

Advanced Smoothing & Rolling Window (Revised)

Script 1: “Advanced Smoothing & Rolling Window”

Purpose: Provide a single indicator that can apply various smoothing methods (None, LinReg, SavGol approx, Kalman approx, Wavelet approx) to your price data, plus an optional rolling high/low plot.

How This Script Is Organized:
• Toggles: showSmoothing, useSavGol, useKalman, useWavelet, showRollingWin.
• Inputs: smoothLen, savGolPasses, kalmanPasses, waveletPasses, rollLen.
• Implementation: If showSmoothing is on, it applies a chain of “approximate” filters. If each advanced filter toggle is on, it further modifies the “smoothed” price.
• Rolling Window: If showRollingWin is on, it plots the rolling high/low lines.

Clause de non-responsabilité