Momentum Log
Oct 7, 2019

The Momentum Log indicator is a logarithmic momentum oscillator designed to identify trend direction and momentum shifts by processing price changes through a logarithmic scale and moving average differentials.
Usage
The Momentum Log can be used to identify both short-term momentum shifts and broader trend directions. Traders typically look for the following signals:
- Zero Line Crosses: A move above the zero line suggests a shift into bullish momentum, while a move below suggests bearish momentum.
- Signal Line Crossovers: When the primary oscillator crosses above the signal line, it indicates a potential bullish entry or strengthening momentum. Conversely, crossing below the signal line suggests bearish exhaustion or a potential sell signal.
- Trend Visualization: The histogram's color intensity changes based on the relationship between the oscillator, the signal line, and the zero level, allowing users to see the strength of the trend at a glance.
Details
The script functions by first calculating the natural logarithm of the closing price. It then measures the change in these logarithmic values over a user-defined length. This logarithmic approach helps normalize price fluctuations across different price levels.
The core oscillator is constructed by taking the difference between a fast Exponential Moving Average (EMA) and a slow EMA of the momentum value. Finally, a signal line is generated by applying another EMA to the oscillator itself, creating a MACD-like structure applied to logarithmic momentum.
Settings
- Momentum Length: The lookback period used to calculate the logarithmic change in price.
- Length of Fast EMA: The period for the faster moving average used in the oscillator calculation.
- Length of Slow EMA: The period for the slower moving average used in the oscillator calculation.
- Length of Signal Line: The period for the EMA applied to the oscillator to create the signal line.
FAQ
How do I interpret the histogram colors?
Solid green indicates the oscillator is above both zero and the signal line. Faded green suggests it is above zero but below the signal line. Solid red indicates the oscillator is below both zero and the signal line, while faded red suggests it is below zero but above the signal line.
Can this be used for trend following?
Yes, the indicator is designed to capture the "larger picture" by smoothing out logarithmic price changes, making it suitable for identifying sustained trends.
How do I access Momentum Log?
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.