OPEN-SOURCE SCRIPT

Trend Momentum Confirmation Engine

1 448
Trend Momentum Confirmation Engine

Trend Momentum Confirmation Engine is a multi-factor technical indicator designed to detect potential market direction by combining several widely used technical analysis methods into a unified confirmation framework.

The indicator integrates three different analytical components:

• Supertrend – used to determine the prevailing market trend.
• Awesome Oscillator (AO) – used to measure momentum shifts and detect early changes in market dynamics.
• ADX with DI filters – used to measure the strength of the trend and confirm directional bias.

Instead of relying on a single signal source, the script evaluates market conditions using multiple independent modules. Signals are produced when the enabled modules confirm the same directional bias within a defined number of bars.

This design helps reduce noise and false signals that can occur when indicators are used individually.

Core Logic

The indicator operates through three independent modules.

Trend Module (Supertrend)

The Trend module uses the Supertrend algorithm based on the Average True Range (ATR).
It identifies changes in the primary trend direction and provides a structural market bias.

Momentum Module (Awesome Oscillator)

The momentum module uses the Awesome Oscillator to detect changes in market momentum.

Signals are generated when:

• the oscillator crosses the zero line
• or when a three-bar reversal structure toward the zero line is detected.

Trend Strength Module (ADX)

The ADX module measures the strength of the current market trend.
Directional filters based on DI+ and DI− can optionally be used to ensure that signals align with the dominant directional pressure.

Multi-Module Confirmation

The script allows traders to enable or disable individual modules.

Signals are generated based on the following logic:

• If one module is enabled, signals follow that module.
• If two modules are enabled, both must confirm direction within the defined confirmation window.
• If three modules are enabled, all three must confirm the same directional bias.

The confirmation does not need to occur on the same bar.
Signals can appear within the configurable confirmation window, allowing slight delays between indicators.

Visual Output

The indicator provides visual feedback through:

• Background highlighting representing the current directional bias
• Optional trend guide lines derived from the Supertrend level
• Directional arrows marking confirmed signals

These visual elements reflect the combined output of the enabled modules.

Open-Source Components and Credits

This script uses concepts and calculation methods derived from publicly known technical indicators including:

• Supertrend
• Awesome Oscillator (Bill Williams)
• Average Directional Index (ADX)

Portions of the implementation are based on open-source Pine Script examples and public indicator concepts available in the TradingView community and documentation.

All reused concepts are used as building blocks within a new combined confirmation framework.

Usage

The indicator can be applied to any market or timeframe.
It may be useful for traders who want to evaluate market direction using a combination of trend, momentum, and trend strength.

Typical use cases include:

• trend continuation setups
• filtering momentum signals
• reducing false signals in ranging markets.

Disclaimer

This script is provided for educational and informational purposes only.
It does not constitute financial or investment advice.
Traders should always perform their own analysis and risk management.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.