Momentum Ratio Oscillator
Apr 3, 2023

The Momentum Ratio Oscillator indicator provides a refined approach to analyzing momentum by comparing current values to previous ones through a sequence of exponential moving average (EMA) calculations. This script aims to deliver a smoother, range-bound oscillator (typically between 0 and 1) that helps traders identify trend strength and potential reversals with reduced noise.
Usage
The Usage section highlights how to interpret the oscillator's movements and signals. Traders can utilize the indicator in three primary ways based on the "Signal Type" setting:
- Middle Crosses: Using the 0.5 centerline as a pivot. When the oscillator crosses above 0.5, it suggests bullish momentum; crossing below suggests bearish momentum.
- Level Crosses: Utilizing fixed upper and lower levels (defaulting to 0.8 and 0.2). Values exceeding the upper level indicate strong upward momentum, while values dropping below the lower level indicate strong downward momentum.
- Signal Line Crosses: Comparing the oscillator value to its previous state (the signal line) for more responsive, trend-following entries and exits.
The script also features optional bar coloring and visual signals (L/S shapes) to quickly identify trend shifts based on the chosen signal type.
Details
The Momentum Ratio Oscillator is based on concepts popularized by Mladen of FX forums. Unlike standard volume or price zone oscillators, this version utilizes a specific sequence of EMAs to smooth the momentum ratio. This construction creates a "step-like" output during sudden price changes, making it distinct from indicators using linear calculations.
The script incorporates an "Expanded Source Type" library, allowing users to apply the oscillator to traditional prices, Heikin Ashi candles, or various smoothed variants like Kaufman's Adaptive MA (KAMA), T3, or AMA. This flexibility allows the oscillator to be adapted for different market conditions or volatility profiles.
Settings
- HAB Calc Type: Selects the smoothing method (AMA, T3, or Kaufman) used when an "HAB" source is selected.
- Source: The input price data used for calculation (includes standard prices, Heikin Ashi, and smoothed variants).
- Period: The lookback period used for the EMA smoothing calculations.
- Signal Type: Determines the logic for color changes and signals (Middle, Levels, or Signal).
- Upper Level: The threshold for overbought or bullish momentum signals.
- Lower Level: The threshold for oversold or bearish momentum signals.
- Color bars?: Toggles price bar coloring based on the oscillator's state.
- Show Signals?: Toggles the visual "L" (Long) and "S" (Short) shapes on the chart.
- Moving Average Inputs: A group of settings specifically for fine-tuning the AMA, KAMA, or T3 smoothing algorithms.
FAQ
How do I use the signal types effectively?
Choosing "Middle" is best for identifying broad trend shifts, "Levels" is ideal for identifying extreme momentum conditions, and "Signal" provides the most frequent, responsive cues for short-term changes.
What is the advantage of using EMA for momentum?
EMAs react more quickly to recent price changes than simple moving averages while providing a smoother transition during volatility, helping to filter out "market noise" that can lead to false signals in standard momentum indicators.
How do I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.