buzza

Crossover EMMM

buzza Updated   
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.
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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?