# Adjustable MA & Alternating Extremities

Adjustable MA & Alternating Extremities plots a moving average whose lag and overshoot are shaped directly through a parametric sine-based kernel, ringed by alternating upper and lower extremities that flag potential reversal points. The average can render as smoothed candles instead of a line, serving crossover builders and range traders alike.

- Indicator in the LuxAlgo Library, by LuxAlgo, published May 3, 2021.
- Access: free.
- Concepts: [MA Envelope](https://www.luxalgo.com/library/concept/ma-envelope/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn01lh0006vhsgrt1hu52l
- Page: https://www.luxalgo.com/library/indicator/adjustable-ma-alternating-extremities/

**Adjustable MA & Alternating Extremities** hands you the kernel controls other moving averages keep fixed. Two parameters steer the plot directly: Lag trades responsiveness for smoothness, while Overshoot amplifies the parametric sine-based kernel's negative weights so the average can lead rather than trail. Around it, the tool highlights alternating extremities that behave like the bands of an [MA envelope](https://www.luxalgo.com/library/concept/ma-envelope/) (the upper one prints when the high exceeds it, the lower when the low breaks beneath), marking spots where price may snap back.

## How to Trade the Adjustable MA & Alternating Extremities?

- **Range rebounds**: with a long average (say a 200 length with a multiplicative factor of 1), extremity tags locate levels where ranging price tends to turn.
- **Trend reads**: in trending conditions closes sit beyond the extremity; watch for the band to catch up to price and act as support or resistance before a reversal.
- **Crossover systems**: dial Lag down for the fast leg and up for the slow leg. One indicator supplies both sides of the cross.
- **As Smoothed Candles**: render the MA as candles (open from the prior two MA values; high, low, and close each their own smoothed series) for a heikin-ashi-like read without forced continuity.

## Adjustable MA & Alternating Extremities Settings

- **Length**: the MA period, how many recent data points feed the calculation.
- **Mult**: multiplicative factor applied to each extremity.
- **Lag**: adjusts the average's delay; higher values mean more lag and more smoothness.
- **Overshoot**: scales overshoot amplitude. Higher values cut lag but exaggerate turns.
- **As Smoothed Candles / Show Alternating Extremities**: switch the two display modes.

## Frequently Asked Questions

### What is overshoot, and why would I want it?

Overshoot is a low-lag average running past a local maximum or minimum before settling. Raising it buys responsiveness; the trade-off is turns drawn larger than price actually made, so high overshoot pairs best with confirmation.

### When would I use this over a standard moving average?

When the lag-smoothness balance matters more than the average type. If the classic builds serve you, the standard [Moving Average](https://www.luxalgo.com/library/indicator/moving-average/) covers them; this tool exists for tuning that balance by hand and for the extremity reversal marks.

### How do I access the Adjustable MA & Alternating Extremities?

Free on the LuxAlgo Library. Load it from this page, or open it in Quant, our coding agent, to watch how Lag and Overshoot reshape the kernel live. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [MA Envelope](https://www.luxalgo.com/library/indicator/ma-envelope/) (Trend): markdown at https://www.luxalgo.com/library/indicator/ma-envelope.md
- [Trend Regularity Adaptive Moving Average](https://www.luxalgo.com/library/indicator/trend-regularity-adaptive-moving-average/) (TRAMA): markdown at https://www.luxalgo.com/library/indicator/trend-regularity-adaptive-moving-average.md
- [Machine Learning Moving Average](https://www.luxalgo.com/library/indicator/machine-learning-moving-average/) (Adaptive-lookback MA): markdown at https://www.luxalgo.com/library/indicator/machine-learning-moving-average.md
- [ZLEMA](https://www.luxalgo.com/library/indicator/zlema/) (Trend): markdown at https://www.luxalgo.com/library/indicator/zlema.md
- [Moving Average Converging](https://www.luxalgo.com/library/indicator/moving-average-converging/) (EMA): markdown at https://www.luxalgo.com/library/indicator/moving-average-converging.md
- [MLMA](https://www.luxalgo.com/library/indicator/mlma/) (Trend): markdown at https://www.luxalgo.com/library/indicator/mlma.md
- [Volume-adjusted MA](https://www.luxalgo.com/library/indicator/volume-adjusted-ma/) (Trend): markdown at https://www.luxalgo.com/library/indicator/volume-adjusted-ma.md
- [JMA](https://www.luxalgo.com/library/indicator/jma/) (Trend): markdown at https://www.luxalgo.com/library/indicator/jma.md

---

Source: https://www.luxalgo.com/library/indicator/adjustable-ma-alternating-extremities/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
