OPEN-SOURCE SCRIPT

Multi-Filter Momentum Oscillator

2 505
Multi-Filter Momentum Oscillator
Description
The Multi-Filter Momentum Oscillator is an advanced technical indicator that leverages multiple moving average filters to identify trend strength, momentum shifts, and potential reversal points in price action. This indicator combines a cluster-based approach with momentum analysis to provide traders with a comprehensive view of market conditions.
Key Components

Filter Cluster Analysis: The indicator creates an array of moving averages with different periods using your choice of filter (PhiSmoother, EMA, DEMA, TEMA, WMA, or SMA). These filters form a cluster that helps identify the underlying trend direction.
Composite Score: The relative positions of these filters are analyzed to generate a net score, which represents the overall trend strength and direction.
Signal Line: A smoothed version of the composite score that helps identify momentum shifts.
Four-Color Histogram: Visualizes the relationship between the score and signal line with four distinct colors:

Bright Green (Bullish Rising): Positive momentum that is accelerating
Olive Green (Bullish Falling): Positive momentum that is decelerating
Dark Red (Bearish Rising): Negative momentum that is improving
Bright Red (Bearish Falling): Negative momentum that is worsening


LazyLine Overlay: An additional triple-smoothed WMA that can be displayed on the price chart to visualize the dominant trend.

Trading Applications

Trend Direction: The oscillator's position above or below zero indicates the prevailing trend direction.
Momentum Shifts: The histogram's color changes signal momentum shifts before they become apparent in price.
Divergence Detection: Compare oscillator peaks/troughs with price action to identify potential divergences.
Overbought/Oversold Conditions: Extreme readings near the upper and lower threshold levels can indicate potential reversal zones.
Trend Confirmation: The LazyLine overlay confirms the broader trend direction on the price chart.

Customization Options
The indicator offers extensive customization through multiple parameters:

Filter type selection (PhiSmoother, EMA, DEMA, TEMA, WMA, SMA)
Cluster dispersion and trim settings
Post-smoothing options
Signal line parameters
Threshold levels
Color preferences for various elements
Histogram width and visibility
Optional swing signals with customizable placement

Modes

Trend Strength Mode: Focuses on the directional movement of the filter cluster.
Volatility Mode: Weights the score based on the bandwidth of the filter cluster, making it more responsive during volatile periods.

This versatile oscillator combines elements of trend following, momentum analysis, and volatility assessment to provide traders with actionable signals across different market conditions. The four-color histogram adds another dimension to traditional oscillator analysis by visually representing both the direction and strength of momentum shifts.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.