OPEN-SOURCE SCRIPT

Crossover EMMM

Atualizado
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.
Notas de Lançamento

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.
Notas de Lançamento
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.
Notas de Lançamento
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.
Notas de Lançamento

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.
Notas de Lançamento
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.
Exponential Moving Average (EMA)exponentialmovingaveragesmadridmoving_averageMoving Averagesmovingaveragecrossovermoyennemobile

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal