Adaptive Momentum Oscillator
By LuxAlgoMay 7, 2025
Adaptive Momentum Oscillator is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
Adaptive Momentum Oscillator turns raw momentum into a filled oscillator you can read at a glance. It gauges the maximum price delta over the chosen period, smooths the series with a linear regression over the Smoothing Length, and paints the result as a line with a gradient fill around zero: above it buyers are pressing, below it sellers are. The plot is unbounded, with no preset ceilings (recent prints set the scale for what counts as stretched), and an adaptive moving average of the oscillator rides it as the signal line to time the shifts.
How to Trade the Adaptive Momentum Oscillator?
- Signal Line through 0: the crossover marks the handover to positive or negative momentum, the primary regime cue.
- Momentum crossing the Signal Line: acceleration when it crosses up, deceleration when it crosses down, useful for timing within an established move.
- Divergences: on by default; tune the detector length (4 by default) or switch it off. Shorter catches frequent small turns, longer isolates the broader reversals.
The Data Length input swings the whole read between short-term and long-term market strength, so one pane serves scalp timing and position context alike. Under the hood, linear-regression smoothing keeps the oscillator free of the jitter a raw delta series would show, and the signal line follows it with an adaptive smoothing technique.
Adaptive Momentum Oscillator Settings
- Data (default closing price): source series for the calculation.
- Data Length: the gathering period, the horizon momentum is measured over.
- Smoothing Length: how heavily the momentum data is smoothed; more length means a cleaner but slower line.
- Divergences: toggle detection and set the divergence length.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 6 Momentum indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





