OPEN-SOURCE SCRIPT

Crossover EMMM

Telah dikemas kini
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.
Nota Keluaran

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.
Nota Keluaran
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.
Nota Keluaran
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.
Nota Keluaran

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.
Nota Keluaran
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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian