Skip to content
All library documents

Logarithmic Moving Average Signals with Momentum and Thresholds

Article TradingView scripts

Summary

This indicator describes a configurable logarithmic moving average signal for classifying bullish, bearish, and neutral conditions. Its settings include a period and steepness for weighting recent observations, a selectable moving average for final smoothing, and a momentum confirmation weight. Presets adjust these controls and the entry thresholds for scalping, swing trading, trend following, mean reversion, or custom use.

The resulting smoothed signal is compared with zero and positive or negative thresholds to generate direction changes, entry and exit alerts, neutral-zone alerts, and momentum confirmation. The script also supports signal-based bar coloring. The document explains how responsiveness, smoothness, and threshold sensitivity trade off, but supplies no backtest results or independent evidence that its presets are optimized. Signals should therefore be treated as indicator outputs whose usefulness may vary by asset and timeframe.

Key ideas

  • The indicator combines logarithmic weighting with selectable moving average smoothing to form a directional signal.
  • Higher steepness prioritizes recent observations more strongly, while longer periods and smoothing reduce responsiveness.
  • Presets set combinations of period, steepness, smoothing, and symmetric long and short thresholds.
  • Zero crossings, threshold crossings, and aligned momentum generate separate alert conditions.
  • The document describes configuration trade-offs but reports no measured performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.