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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.