OPEN-SOURCE SCRIPT

Adaptive Momentum Oscillator [LuxAlgo]

32 383
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

快照

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

快照

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

快照

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

快照

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

🔹 Divergences

快照

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

快照

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。