OPEN-SOURCE SCRIPT

EMA Cross and MACD Signal Combined

已更新
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.
發行說明
Adding in the title
發行說明
Added Momentum EMA Level to determine possible rebound level with high momentum.
發行說明
Added in a simple alert function to trigger when to Buy / Sell
發行說明
Added in the alert function.
發行說明
Changed title
Exponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)macdcross

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明