OPEN-SOURCE SCRIPT

Adaptive Momentum Oscillator [LuxAlgo]

7 778
The Adaptive Momentum Oscillator tool allows traders to measure the current relative momentum over a given period using the maximum delta in price.

It features a histogram with gradient color, divergences, and an adaptive moving average that allows traders to clearly see the smoothed trend direction.

🔶 USAGE

syot kilat

This unbounded oscillator has positive momentum when values are above 0 and negative momentum when values are below 0. The adaptive moving average is used as a minimum lag smoothing tool over the momentum histogram.

🔹 Signal Line

syot kilat

There are two main uses for the signal line drawn on the chart above.

  • Momentum crosses above or below the signal line: acceleration in momentum.
  • Signal line crosses the 0 value: positive or negative momentum.


🔹 Data Length

syot kilat

On the chart above, we can compare different length sizes and how the tool values change, allowing traders to get a shorter or longer-term view of current market strength.

🔹 Smoothing Length

syot kilat

In the previous figure, we can compare how different Smoothing Length values affect the oscillator output.

🔹 Divergences

syot kilat

The divergence detector is disabled by default. Traders can enable it and adjust the divergence length from the settings panel.

syot kilat

As we can see in the chart above, by changing the length of the divergences, traders can fine-tune their detection, a small number will detect smaller divergences, and use a larger number for larger divergences.

🔶 SETTINGS

  • Data: Select data source, close price by default
  • Data Length: Select the length for data gathering
  • Smoothing Length: Select the length for data smoothing
  • Divergences: Enable/Disable divergences detection and length

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.