OPEN-SOURCE SCRIPT
Updated Crossover EMMM

Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings) and crossunders (downward crossings) between two moving averages. It uses two input parameters to define the fast and slow EMMM lengths. The script calculates the EMMM values, their changes, and assigns colors based on the change direction. The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction. The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
The "Madrid Moving Average" (EMMMM) is a type of moving average used in technical analysis to smooth price fluctuations of financial assets, such as stocks or currency pairs. Unlike the Simple Moving Average (SMA), which treats all data equally, the EMMM gives more weight to recent data. This results in the EMMM responding more swiftly to price changes, making it well-suited for identifying short-term trends.
The "Madrid Moving Average" (EMMMM) is a type of moving average used in technical analysis to smooth price fluctuations of financial assets, such as stocks or currency pairs. Unlike the Simple Moving Average (SMA), which treats all data equally, the EMMM gives more weight to recent data. This results in the EMMM responding more swiftly to price changes, making it well-suited for identifying short-term trends.
Release Notes
Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings)
and crossunders (downward crossings) between two moving averages.
It uses two input parameters to define the fast and slow EMMM lengths.
The script calculates the EMMM values, their changes, and assigns colors based on the change direction.
The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction.
The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
It also displays small triangles each time the two EMMMs returns in the same trend.
Release Notes
Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings) and crossunders (downward crossings) between two moving averages.It uses two input parameters to define the fast and slow EMMM lengths.
The script calculates the EMMM values, their changes, and assigns colors based on the change direction.
The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction.
The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
Release Notes
Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings)and crossunders (downward crossings) between two moving averages.
It uses two input parameters to define the fast and slow EMMM lengths.
The script calculates the EMMM values, their changes, and assigns colors based on the change direction.
The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction.
The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
It also displays little circles when the two Movign averages come back to the same color.
Updated 10.29.2023 : Offset option added.
Circles shapes replace little triangle shapes.
Release Notes
Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings)
and crossunders (downward crossings) between two moving averages.
It uses two input parameters to define the fast and slow EMMM lengths.
The script calculates the EMMM values, their changes, and assigns colors based on the change direction.
The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction.
The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
It also displays little circles when the two Movign averages come back to the same color.
Updated 10.29.2023
Offset option added,
Circles shapes replace little triangles default shapes.
EMMM Plot shape line replaces stepline default shape.
Release Notes
Crossover EMMM is an indicator that displays the Madrid Moving Averages (EMMM) and detects crossovers (upward crossings)and crossunders (downward crossings) between two moving averages.
It uses two input parameters to define the fast and slow EMMM lengths.
The script calculates the EMMM values, their changes, and assigns colors based on the change direction.
The fast EMMM is plotted in green or red, and the slow EMMM is plotted in blue or red, depending on the change direction.
The script also displays triangle shapes below or above the bars to indicate crossovers and crossunders.
It also displays little circles when the two Moving averages come back to the same color.
Updated 10.29.2023
Offset option added,
Circles shapes replace little triangles default shapes.
EMMM Plot shape line replaces stepline default shape.
Triangles and circles are sync with the crossovers and colors.
Release Notes
CrossoverV2025 is based on the Madrid Moving Averages (EMMM) and helps identify trend reversals across any market — forex, stocks, crypto, and more.🔹 The indicator displays two dynamic moving averages (fast and slow) that change color based on their direction:
Green = upward momentum (bullish)
Red = downward momentum (bearish)
🟢 Green triangle below the price = Buy signal ("BUY EMM")
🔴 Red triangle above the price = Sell signal ("SELL EMM")
🟡 Red circle above the bar = confirmed bearish reversal → "Point Sell"
🟢 Green circle below the bar = confirmed bullish reversal → "Point Buy"
🔔 Automatic Alerts:
"BUY EMM" / "SELL EMM" triggered on every crossover/crossunder
"Point Buy" / "Point Sell" when both moving averages turn green or red together after a trend change
💡 How to use:
Ideal for spotting early trend reversals. For best results, combine with other tools like RSI, support/resistance levels, or volume analysis to filter signals.
Release Notes
CrossoverV2025 is based on the Madrid Moving Averages (EMMM) and helps identify trend reversals across any market — forex, stocks, crypto, and more.🔹 The indicator displays two dynamic moving averages (fast and slow) that change color based on their direction:
Green = upward momentum (bullish)
Red = downward momentum (bearish)
🟢 Green triangle below the price = Buy signal ("BUY EMM")
🔴 Red triangle above the price = Sell signal ("SELL EMM")
🟡 Red circle above the bar = confirmed bearish reversal → "Point Sell"
🟢 Green circle below the bar = confirmed bullish reversal → "Point Buy"
🔔 Automatic Alerts:
"BUY EMM" / "SELL EMM" triggered on every crossover/crossunder
"Point Buy" / "Point Sell" when both moving averages turn green or red together after a trend change
💡 How to use:
Ideal for spotting early trend reversals. For best results, combine with other tools like RSI, support/resistance levels, or volume analysis to filter signals.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.