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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明