OPEN-SOURCE SCRIPT
Clean MA Overlay PRO

Clean MA Overlay PRO is a professional trend-following moving average system designed to combine clean market structure, volatility visualization, and real-time momentum strength analysis into a single lightweight overlay indicator.
Unlike traditional moving averages that only show direction, this indicator measures the true angle of the moving average using ATR-normalized slope calculations.
This creates a much more realistic representation of trend strength across all market conditions and timeframes.
The result is a highly responsive MA system optimized for fast trend recognition, momentum continuation, pullback filtering, and intraday trading — especially effective on indices like NASDAQ, US100, and high-volatility assets.
FEATURES
Adaptive Moving Average Engine
Choose between multiple MA types:
EMA
SMA
WMA
VWMA
RMA
HMA
The moving average can be applied to any source input and fully customized to match different trading styles.
True MA Angle Detection
The indicator calculates the actual MA angle using:
ATR-normalized slope
Configurable lookback distance
Real geometric angle conversion in degrees
This avoids the common problem of fake visual steepness caused by chart scaling.
The angle system classifies trend strength into:
WEAK
IDEAL LONG / SHORT
STRONG LONG / SHORT
EXTREME LONG / SHORT
This allows traders to instantly recognize:
trend acceleration
trend exhaustion
momentum shifts
weak ranging environments
Dynamic Momentum Coloring
The MA line changes color automatically depending on trend strength and direction.
Bullish Momentum
Soft Green → Ideal Long
Bright Green → Strong Long
Neon Green → Extreme Long
Bearish Momentum
Pink/Red → Ideal Short
Bright Red → Strong Short
Neon Red → Extreme Short
Neutral Conditions
Yellow → Weak or ranging market
This creates an instant visual momentum map directly on the chart.
Volatility Expansion Bands
The indicator includes dynamic standard deviation bands around the MA.
These bands help visualize:
volatility expansion
momentum compression
trend continuation zones
pullback areas
Two adaptive band layers are calculated:
Inner deviation band
Outer deviation band
The fill colors automatically adapt to market direction.
Clean Professional Design
The script was built with a minimalistic and distraction-free layout:
clean overlays
smooth fills
no unnecessary signals
lightweight performance
highly readable during fast market movement
Perfect for scalping, day trading, and momentum trading.
IDEAL USE CASES
NASDAQ / US100 scalping
Momentum trading
Trend continuation entries
Pullback filtering
Trend strength confirmation
Intraday trading
Volatility expansion analysis
HOW TO USE
Bullish Environment
MA turns green
Angle increases positively
Bands expand upward
The stronger the angle, the stronger the bullish momentum.
Bearish Environment
MA turns red
Angle becomes negative
Bands expand downward
Extreme angles often indicate strong directional momentum or possible exhaustion phases.
Weak / Sideways Market
MA turns yellow
Low angle values
Narrow volatility bands
Useful for avoiding low-quality entries during consolidation.
ANGLE SYSTEM EXPLANATION
The angle calculation is based on:
Moving average slope
ATR normalization
Mathematical arctangent conversion
This creates consistent angle readings regardless of zoom level or chart scaling.
Example:
5° → weak trend
10° → healthy trend
20°+ → aggressive momentum
25°+ → extreme trend conditions
OPTIMIZED FOR
NASDAQ M1 / M5
US Indices
Crypto
Volatile assets
Momentum environments
KEY ADVANTAGE
Most moving averages only show direction.
Clean MA Overlay PRO shows:
direction
momentum quality
trend intensity
volatility behavior
real trend angle
all in one clean overlay system.
Unlike traditional moving averages that only show direction, this indicator measures the true angle of the moving average using ATR-normalized slope calculations.
This creates a much more realistic representation of trend strength across all market conditions and timeframes.
The result is a highly responsive MA system optimized for fast trend recognition, momentum continuation, pullback filtering, and intraday trading — especially effective on indices like NASDAQ, US100, and high-volatility assets.
FEATURES
Adaptive Moving Average Engine
Choose between multiple MA types:
EMA
SMA
WMA
VWMA
RMA
HMA
The moving average can be applied to any source input and fully customized to match different trading styles.
True MA Angle Detection
The indicator calculates the actual MA angle using:
ATR-normalized slope
Configurable lookback distance
Real geometric angle conversion in degrees
This avoids the common problem of fake visual steepness caused by chart scaling.
The angle system classifies trend strength into:
WEAK
IDEAL LONG / SHORT
STRONG LONG / SHORT
EXTREME LONG / SHORT
This allows traders to instantly recognize:
trend acceleration
trend exhaustion
momentum shifts
weak ranging environments
Dynamic Momentum Coloring
The MA line changes color automatically depending on trend strength and direction.
Bullish Momentum
Soft Green → Ideal Long
Bright Green → Strong Long
Neon Green → Extreme Long
Bearish Momentum
Pink/Red → Ideal Short
Bright Red → Strong Short
Neon Red → Extreme Short
Neutral Conditions
Yellow → Weak or ranging market
This creates an instant visual momentum map directly on the chart.
Volatility Expansion Bands
The indicator includes dynamic standard deviation bands around the MA.
These bands help visualize:
volatility expansion
momentum compression
trend continuation zones
pullback areas
Two adaptive band layers are calculated:
Inner deviation band
Outer deviation band
The fill colors automatically adapt to market direction.
Clean Professional Design
The script was built with a minimalistic and distraction-free layout:
clean overlays
smooth fills
no unnecessary signals
lightweight performance
highly readable during fast market movement
Perfect for scalping, day trading, and momentum trading.
IDEAL USE CASES
NASDAQ / US100 scalping
Momentum trading
Trend continuation entries
Pullback filtering
Trend strength confirmation
Intraday trading
Volatility expansion analysis
HOW TO USE
Bullish Environment
MA turns green
Angle increases positively
Bands expand upward
The stronger the angle, the stronger the bullish momentum.
Bearish Environment
MA turns red
Angle becomes negative
Bands expand downward
Extreme angles often indicate strong directional momentum or possible exhaustion phases.
Weak / Sideways Market
MA turns yellow
Low angle values
Narrow volatility bands
Useful for avoiding low-quality entries during consolidation.
ANGLE SYSTEM EXPLANATION
The angle calculation is based on:
Moving average slope
ATR normalization
Mathematical arctangent conversion
This creates consistent angle readings regardless of zoom level or chart scaling.
Example:
5° → weak trend
10° → healthy trend
20°+ → aggressive momentum
25°+ → extreme trend conditions
OPTIMIZED FOR
NASDAQ M1 / M5
US Indices
Crypto
Volatile assets
Momentum environments
KEY ADVANTAGE
Most moving averages only show direction.
Clean MA Overlay PRO shows:
direction
momentum quality
trend intensity
volatility behavior
real trend angle
all in one clean overlay system.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。