/// Indicator

Adaptive MA
Bands.

Advanced moving average algorithms that automatically adjust to market volatility, filtering out noise in choppy markets while capturing trends early.

Trend Volatility Adaptive Moving Average Bands
TradingView v1.0.0 Updated 2026-02-17
/// Introduction

Overview

The Problem

Standard moving averages (SMA, EMA) struggle with the "lag vs. noise" dilemma. Make them fast, and you get whipsawed in chop. Make them slow, and you miss the trend entry. They treat every price movement the same, regardless of market efficiency.

The Solution

Adaptive MA Bands solves this by using advanced algorithms that adjust their smoothing based on market volatility. The indicator automatically becomes "slower" in chop to avoid fake-outs and "faster" in trends to capture moves early. It wraps this logic in volatility bands to provide dynamic Support & Resistance zones.

Who It's For

Trend traders, swing traders, and systems needing a dynamic baseline that respects market structure.

/// Features

Key Features

4 Adaptive Moving Average Types: Select from KAMA, VIDYA, FRAMA, or Kalman Filter to suit your smoothing preference.

Dynamic Volatility Bands: Dynamic band width offers organic stop-loss levels and take-profit targets.

Smart Slope Coloring: Identify at a glance if momentum is accelerating, decelerating, or flat.

Dual MA Configuration: Run two independent adaptive MAs (e.g., Fast & Slow or High & Low) to create a trend-filter system with exact Stop Loss levels.

Theme Awareness: Pre-built styling for Light and Dark modes.

/// Concepts

How It Works

1

Adaptive Smoothing

Traditional MAs use a fixed time window. Adaptive MAs monitor market efficiency (Price direction vs. Volatility). If price is moving efficiently in one direction, the MA speeds up. If price is oscillating (noise), the MA slows down to remain flat.

2

Volatility Normalization

The bands are calculated dynamically using volatility measurements. This ensures the channel width adapts to the current market "temperature"—narrowing during accumulation and widening during expansion.

3

Volatility-Adjusted Slope

The slope coloring calculates price change relative to current volatility. This means the trend intensity (Green/Red vs Orange) is normalized against current market volatility, preventing false trend signals in highly volatile chop.

/// Playbook

How To Use

Quickstart

  1. Add Adaptive MA Bands to your chart.
  2. Select the Dark or Light theme based on your background.
  3. Set MA 1 to a faster length (e.g., 10 KAMA) for entries.
  4. Set MA 2 to a slower length (e.g., 50 Kalman) for trend direction.
  5. Watch the Slope Color of MA 2 to define your bias (Green = Longs only, Red = Shorts only).

Interpretation

  • If MA Slope is Flat (Orange): the market is directionless. Treat bands as range boundaries (fade the edges) or wait for a breakout.
  • If MA Slope is Steep (Green/Red): a strong trend is in play. Treat the touches of the midline or inner band as value entries.
  • If Price Crosses MA: this often signals a regime change. A crossover of the Fast MA over the Slow MA is a classic trend initiation signal.
/// Reference

Visual Legend

Element Meaning Interpretation Common Mistake
Midline Adaptive Average — the "Fair Value" of the current trend. Dynamic trend center; price gravitates toward it. Treating it as a hard wall; it's a dynamic zone.
Bands Volatility Envelope — dynamic Support/Resistance. Entries near bands offer better risk/reward. Assuming price must reverse exactly at the band edge.
Fill Color Slope Intensity — Green/Red = Trend, Orange = Chop. Use color to confirm directional bias. Trading the color change instantly without waiting for candle close.
/// Configuration

Settings Reference

Style

Theme
Dark/Light: preset colors for dark/light chart backgrounds. Custom: use the color pickers in MA 1/MA 2 Style groups.

MA 1 / MA 2: Main

MA Type
The algorithm core. KAMA: Good balance, standard adaptive choice. VIDYA: Very responsive to volatility. FRAMA: Uses fractal dimension, good for identifying significant turns. Kalman: Reduces noise significantly, creating smooth curves.
Length
Sensitivity period.
Band Height Factor
Width of the channel.
Source
Price data input (default HL2 usually works best for median tracking).

MA 1 / MA 2: Kalman

Kalman Gain
Controls smoothing: low = very smooth, high = very responsive. Only used when MA type is Kalman.

MA 1 / MA 2: KAMA

Fast Period
Number of periods for the fast smoothing constant. Only used when MA type is KAMA.
Slow Period
Number of periods for the slow smoothing constant. Only used when MA type is KAMA.

MA 1 / MA 2: Slope

Color by Slope
Enables the 3-color trend visualization.
Slope Lookback Distance
Distance to look back for calculating the slope.
Min Slope Threshold
Minimum angle to be considered a trend.
Max Slope Threshold
Maximum angle for slope color gradient.

MA 1 / MA 2: Display

Show Midline
Toggle visibility of the moving average midline.
Show Band
Toggle visibility of the volatility bands.

MA 1 / MA 2: Style

Up Color
Band color when MA slope is positive. When slope coloring is off, blended with Down Color for a neutral fill.
Down Color
Band color when MA slope is negative. When slope coloring is off, blended with Up Color for a neutral fill.
Flat Slope Color
Band color when MA slope is near zero (between min and max angle). Only used when slope coloring is enabled.
Midline Thickness
Thickness of the moving average midline.
/// Alerts

Alert Types

Price Entered MA 1 Band

Triggered when price enters the MA 1 volatility band from above or below.

Price Entered MA 2 Band

Triggered when price enters the MA 2 volatility band from above or below.

Price Broke Above MA 1

Triggered when price crosses above the MA 1 upper band.

Price Broke Below MA 1

Triggered when price crosses below the MA 1 lower band.

Price Broke Above MA 2

Triggered when price crosses above the MA 2 upper band.

Price Broke Below MA 2

Triggered when price crosses below the MA 2 lower band.

MA 1 Crossed Above MA 2

Triggered when the MA 1 midline crosses above the MA 2 midline (bullish).

MA 1 Crossed Below MA 2

Triggered when the MA 1 midline crosses below the MA 2 midline (bearish).

/// FAQ

Frequently Asked Questions

No. Adaptive MA Bands, regardless of selected MA type or any other options, does not repaint historical candles.

It works on all, but lower timeframes (1m-5m) usually require higher Length settings to filter noise compared to 4H or Daily charts.

The bands are built by calculating volatility over the MA length, smoothed using the selected MA method, and then multiplied by the 'Band Height Factor'.

Connect With Us

Join our community of traders and stay updated with our latest tools and market insights.