Introducing the reverse MACD Indicator.
This is my Pinescript implementation of the reverse MACD indicator.
Much respect to Mr Johnny Dough the original creator of this idea.
Feel free to reuse this script, drop me a note below if you find this useful.
Investopedia defines the MACD as a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
The MACD is calculated by subtracting the 26-period Exponential Moving Average ( EMA ) from the 12-period EMA .
The result of that calculation is the MACD line.
A nine-day EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals.
Traders may buy the security when the MACD crosses above its signal line and sell—or short—the security when the MACD crosses below the signal line.
Moving Average Convergence Divergence ( MACD ) indicators can be interpreted in several ways, but the more common methods are crossovers, divergences, and rapid rises/falls.
MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
The speed of crossovers is also taken as a signal of a market is overbought or oversold.
MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.
The MACD has a positive value (shown as the red line on the price chart ) whenever the 12-period EMA ( indicated by the blue line on the price chart) is above the 26-period EMA (the red line in the price chart) and a negative value when the 12-period EMA is below the 26-period EMA .
The more distant the MACD is above or below its baseline indicates that the distance between the two EMAs is growing.
The baseline here is the white line.
The Reverse function of the MACD provides value by letting the user know the specific price needed to expect a MACD cross over in the opposite direction.
This function can be used to designate risk parameters for a potential trade if using the MACD as their source of edge, letting the user know exactly where and how much their risk is for a potential trade which can be used to design an effective trading plan.