Skip to content
All library documents

Gravity Trend Levels: Adaptive Bands, Trend States, and Retest Signals

Article ProRealCode

Summary

Gravity Trend Levels combines a moving average trend regime with an acceleration based measure of momentum. It uses an EMA of closing prices as its baseline and mean absolute deviation from that baseline as a volatility unit. Changes in baseline velocity are normalized by this unit; stronger acceleration raises a gravity score, while the score decays over time when acceleration weakens. A normalized pull value then controls band width and the thickness of a one sided cloud. The trend state latches until price closes beyond the opposite band.

The document also describes flip labels, projected levels based on the flip bar’s extreme, and delayed, cooldown spaced diamonds when price revisits the cloud edge. It proposes using these features as trend filters, entry and invalidation references, pullback continuation signals, and warnings to tighten risk as the cloud thins. It gives example settings and indicator code, but no performance tests or evidence that these signals are profitable. The approach is an indicator framework; thresholds, settings, and trading rules would need independent evaluation across instruments and timeframes.

Key ideas

  • Baseline acceleration is normalized by mean absolute deviation to create a decaying gravity score.
  • The gravity score controls the cloud thickness and can make the trend bands adaptive.
  • The trend regime holds until price closes beyond the band on the opposite side.
  • Flip-bar extremes are projected as structural reference levels, while delayed cloud retests mark possible continuation entries.
  • The document presents suggested uses and settings but provides no measured trading results.

Tags

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