OPEN-SOURCE SCRIPT

EMA Cross and MACD Signal Combined

Telah dikemas kini
The rule is simple.

When MACD crosses up, it is supposed to give a buy signal. However, before entering into a Long position, there is a need for a confirmation. This confirmation can be from a down trendline breakout or from another indicator.

In this case, I've chosen the Exponential Moving Average Cross to be as the confirmation.

The Buy Signal will appear when there it fulfills the following conditions:-
i. The MACD line is above the Signal Line
ii. The fast EMA crosses the Slow EMA

The Sell signal will appears when the opposite of the above condition is met.

This indicator is meant for the Swing Trader whom would like to hold a position for a long time.
Nota Keluaran
Adding in the title
Nota Keluaran
Added Momentum EMA Level to determine possible rebound level with high momentum.
Nota Keluaran
Added in a simple alert function to trigger when to Buy / Sell
Nota Keluaran
Added in the alert function.
Nota Keluaran
Changed title
Exponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)macdcross

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?


Juga pada:

Penafian