Skip to content
All library documents

LRLR Signals from ATR-Normalized Moving Average Slope

Article ProRealCode

Summary

The LRLR indicator aims to flag sustained directional phases by tracking the slope of a moving average. It averages typical price, measures the change in that average relative to ATR, and detects when the slope crosses between positive and negative. A signal is drawn after the slope holds its direction for the bar count corresponding to one hour on supported chart timeframes. The article also describes comparing price action with the slope as a possible way to spot divergence, though it does not define a formal divergence rule or test that use.

The code shows how to map chart timeframe to bars per hour so the persistence threshold adapts automatically. The document supplies no performance study for the indicator, and its claimed reversal or liquidity-run usefulness is not demonstrated with trading results. It is a technical-indicator example whose signals may help describe trend changes, but traders would need to validate thresholds, instruments, and any divergence interpretation independently.

Key ideas

  • The indicator estimates direction using the slope of a typical-price moving average normalized by ATR.
  • A zero crossing marks a possible shift between rising and falling slope states.
  • Signals appear after the slope maintains its direction for a timeframe-adjusted duration.
  • The article proposes price-versus-slope divergence as a possible application but provides no formal test.
  • The document offers code mechanics rather than evidence of profitability.

Tags

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