Smartcryptotrade

MACD Alert [All MA in one] [Smart Crypto Trade (SCT)]

This code is a gift from "Smart Crypto Trade (SCT)" group

MACD indicator contains 3 EMA, I think one of the best usage of MACD is trend detection and divergences.
In our indicator, you can select the type of Moving averages that used in macd.

You can using "MACD" based on several types of moving averages including:

  • Exponential Moving Average ( EMA )
    Volume-Weighted Moving Average ( VWMA )
    Simple Moving Average ( SMA )
    Weighted Moving Average ( WMA )
    Exponentially Weighted Moving Average (RMA) that used in RSI
    Smoothed Moving Average ( SMMA )
    Arnaud Legoux Moving Average ( ALMA )
    Double EMA ( DEMA )
    Double SMA (DSMA)
    Double WMA (DWMA)
    Double RMA (DRMA)
    Triple EMA ( TEMA )
    Triple SMA (TSMA)
    Triple WMA (TWMA)
    Triple RMA (TRMA)
    Linear regression curve Moving Average ( LSMA )
    Variable Index Dynamic Average ( VIDYA )
    Fractal Adaptive Moving Average ( FRAMA )



In other words we tried to collect all the most popular MAs in our MACD indicator.

In addition, you can use four types of alert or alarm conditions for detection LONG or SHORT positions and trends. For this, you must set an alert in alert tab and set the condition based on four defaults conditions.

Enjoy
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?