RobertD7723

CompoundMACD

CompoundMACD is a study that modifies the basic MACD to use four moving averages.

The fast line of the MACD (red line) is calculated from a fast (alpha) and slow (beta) double EMA.

The slow line of the MACD (blue line) is calculated from a fast (alpha) and slow (beta) smooth moving average (SMA).

The delta (green line) is calculated from the fast and slow lines of the MACD.

Buy signals occur when the candlestick is below momentum and the fast and slow lines crossover each other while under the delta. These are marked by triangles at the bottom pointing up. A BUY ASSET alert is also provided.

Sell signals occur when the candlestick is above momentum and the fast and slow lines crossunder each other while above the delta. These are marked by triangles at the top pointing down. A SELL ASSET alert is also provided.

User configurable setting:

Momentum

MACD fast line: Fast (Alpha) DEMA, Slow (Beta) DEMA

MACD slow line: Fast (Alpha) SMA, Slow (Beta) SMA

MACD Smoothing

Join my Patreon for exclusive access to Jackrabbit TV,

www.patreon.com/RD3277
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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?