OPEN-SOURCE SCRIPT
Ultimate Moving Averages Crossover

1. Massive Moving Average Library (19 Types)
Instead of loading a different indicator for each type of average, this script has a built-in mathematical library that calculates 19 unique MA formulas. You can select any of these for each line:
Basic MAs: SMA (Simple), EMA (Exponential), WMA (Weighted)
Smoothed MAs: RMA (Running), HMA (Hull), DEMA (Double EMA), TEMA (Triple EMA), ZLEMA (Zero-Lag EMA)
Adaptive MAs: KAMA (Kaufman Adaptive), FRAMA (Fractal Adaptive), VAMA (Volatility Adjusted), McGinley Dynamic
Advanced MAs: ALMA (Arnaud Legoux), LSMA (Least Squares / Regression), TMA (Triangular), T3 (Tillson)
Volume Weighted MAs: VWMA (Standard Volume Weighted), EVWMA (Elastic Volume Weighted)
Symmetrical MAs: SWMA (Symmetrically Weighted)
2. Multi-Line Architecture (Up to 10 Lines)
You can plot up to 10 independent moving average lines on a single chart. For each line, the settings UI allows you to fully configure:
Toggle On/Off: Only plot the lines you need.
Type Selection: Choose any of the 19 types from the dropdown.
Source Data: Calculate based on close, open, high, low, hl2, hlc3, etc.
Length (Period): Define the lookback period (e.g., 20, 50, 200).
Visuals: Customize the color and line thickness.
3. Integrated Crossover Engine
The script functions as a built-in crossover scanner. You can explicitly assign any of the 10 MAs to act as your "Fast MA" and "Slow MA":
Visual Signals: When the Fast MA crosses above the Slow MA, it plots a green "Bullish Cross" triangle below the candle. When it crosses below, it plots a red "Bearish Cross" triangle above the candle.
Automated Alerts: It includes alertcondition functions. You can set up TradingView alerts to ping your phone or webhook when a "Bullish MA Crossover" or "Bearish MA Crossover" occurs.
Summary
In essence, it is an All-in-One Trend & Confluence Hub. By combining 19 algorithms, 10 customizable lines, and an automated crossover detection system, it gives you complete freedom to build any moving average strategy—like a 3-EMA ribbon, a Golden Cross scanner, or a Hull MA scalping setup—without ever leaving the script's settings.
Instead of loading a different indicator for each type of average, this script has a built-in mathematical library that calculates 19 unique MA formulas. You can select any of these for each line:
Basic MAs: SMA (Simple), EMA (Exponential), WMA (Weighted)
Smoothed MAs: RMA (Running), HMA (Hull), DEMA (Double EMA), TEMA (Triple EMA), ZLEMA (Zero-Lag EMA)
Adaptive MAs: KAMA (Kaufman Adaptive), FRAMA (Fractal Adaptive), VAMA (Volatility Adjusted), McGinley Dynamic
Advanced MAs: ALMA (Arnaud Legoux), LSMA (Least Squares / Regression), TMA (Triangular), T3 (Tillson)
Volume Weighted MAs: VWMA (Standard Volume Weighted), EVWMA (Elastic Volume Weighted)
Symmetrical MAs: SWMA (Symmetrically Weighted)
2. Multi-Line Architecture (Up to 10 Lines)
You can plot up to 10 independent moving average lines on a single chart. For each line, the settings UI allows you to fully configure:
Toggle On/Off: Only plot the lines you need.
Type Selection: Choose any of the 19 types from the dropdown.
Source Data: Calculate based on close, open, high, low, hl2, hlc3, etc.
Length (Period): Define the lookback period (e.g., 20, 50, 200).
Visuals: Customize the color and line thickness.
3. Integrated Crossover Engine
The script functions as a built-in crossover scanner. You can explicitly assign any of the 10 MAs to act as your "Fast MA" and "Slow MA":
Visual Signals: When the Fast MA crosses above the Slow MA, it plots a green "Bullish Cross" triangle below the candle. When it crosses below, it plots a red "Bearish Cross" triangle above the candle.
Automated Alerts: It includes alertcondition functions. You can set up TradingView alerts to ping your phone or webhook when a "Bullish MA Crossover" or "Bearish MA Crossover" occurs.
Summary
In essence, it is an All-in-One Trend & Confluence Hub. By combining 19 algorithms, 10 customizable lines, and an automated crossover detection system, it gives you complete freedom to build any moving average strategy—like a 3-EMA ribbon, a Golden Cross scanner, or a Hull MA scalping setup—without ever leaving the script's settings.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.