PROTECTED SOURCE SCRIPT
Updated

Multi EMA Pack (Full, Custom Multi-Cross)

38
Exponential Moving Average (EMA) is a trend-following indicator that smooths price data by applying more weight to recent prices. It reacts faster to market changes than a Simple Moving Average (SMA). Traders often use multiple EMAs with different lengths to identify trend direction, spot crossovers as trade signals, and define dynamic support or resistance zones.
Release Notes
Here’s a clear, user-facing description you can paste into the script header or publish page:

What it is
A multi-MA toolkit that plots up to six moving averages and alerts on crosses. Each line can be EMA or SMA, fully configurable, and you can add three independent cross sets with optional filters.

Key features

Six MAs: per-line length, type (EMA/SMA), color, width, show/hide.

Cross Sets A/B/C: choose any two lines or custom lengths, optional arrows, optional chart highlight.

“Confirm on bar close” toggle to reduce noise.

ADX filter per set (length and threshold) to skip sideway crosses.

MTF MAs (up to 3) with auto-hide so only higher timeframes than the current chart are shown.

How to use

Set your six MA lengths and types.

In each Cross Set, pick Fast/Slow sources or enter custom lengths.

If you want fewer false signals, enable Confirm on bar close and ADX filter.

Optionally turn on MTF lines and pick higher TFs.

Create alerts in TradingView: Add Alert → Condition = this indicator → choose the desired cross event.

Good for
Trend following, pullback entries, and cross-based alerting with quick noise control on any timeframe.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.