MACD_VXIMACD_VXI..
*Cross over markers
*Directional bgcolor indication
To run in line with the VX family / or stand alone :-
Baseline_VX1
MACD_VX1 (this one)
Stoch_VX3
/Strategy, line up all three, place your bets - Black or Green :)
在脚本中搜索"macd"
MACD ScaledMACD scaled and re-centered for 0-100 range (user adjustable)
+ Leader
+ Stochastic RSI
Details: A simple MACD re-centered to 50 lines rather than 0 line. Also added MACD Leader and Stochastic RSI to show possible usefulness of re-scaling the MACD.
NOTE: Due to nature of MACD, could not get the lines cannot be contained within top/bottom borders without excess distortion.
Credit to lazybear for leader formula.
MACD percentage price oscillatorMACD Percentage Price Oscillator is a variation of the MACD indicator. Signal line crossovers are almost identical. The major difference is the MACD Percentage scale which enables comparison between stocks at different prices.
MACD Percentage Price Oscillator's trading signals are the same as for the MACD indicator. The MACD indicator is primarily used to trade trends and should not be used in a ranging market. Signals are taken when MACD crosses its signal line, calculated as a 9 day exponential moving average of MACD.
First check whether price is trending. If the MACD indicator is flat or stays close to the zero line, the market is ranging and signals are unreliable.
Signals are far stronger if there is either:
- a divergence on the MACD indicator; or
- a large swing above or below the zero line.
- Unless there is a divergence, do not go long if the signal is above the zero line, nor go short if the signal is below zero. Place stop-losses below the last minor Low when long, or the last minor High when short.
The main advantage of MACD Percentage over MACD is the ability to compare indicator values across stocks.
The only difference with MACD Percentage Price Oscillator is that the difference between the fast and slow moving averages is calculated as a percentage of the slow moving average: MACD = (12 Day EMA - 26 Day EMA) / 26 Day EMA
MACD Infinity Indicator(MACDI)MACDI is the macd of macd indicators and macd of macd indicators of macd indicatrs and so on...!!
I used macd algo to find slopes of macd of price and it can helpfull when we want to find best signalls it can make amazing shapes that can be usable to everyone!
author: Masoud Azizi
github: mablue
MACD Leader [ChuckBanger]MACD makes use of moving averages and therefor usually lags behind the price. It is possible to eliminate lag completely but the work around of this is usually by adding a component of the price/MA difference back to MA. This technique is called Zero-lag. It is not zero lag but it is close enough. "MACD Leader" makes use of this to form a leading signal to MACD.
First proposed by Giorgos E. Siligardos, "Leader" leads normal MACD , especially when significant trend changes are about to take place. This has the following features:
- It is similar to MACD in smoothness.
- It can be plotted along with MACD in the same window using the same scaling.
- It has the ability to lead MACD at critical situations
For detailed discussion on the various divergence patterns, refer to the PDF here: drive.google.com
This script provide an option to plot MACD and MACD leader signal on the same pane. You can enable/disable them how you want via options page. It also has the option to change to different MA types.
MACD 4C with DivergenceMACD 4C Indicator with Divergence
This indicator, named MACD 4C, enhances the traditional MACD (Moving Average Convergence Divergence) by providing a visually intuitive representation with four distinct colors for the histogram bars. It offers a clear interpretation of market momentum and potential trend reversals.
Key Features:
Customizable Parameters: Users can adjust the fast and slow moving average periods along with the signal smoothing parameter to tailor the indicator to their preferred trading style and market conditions.
Four-color Histogram: The histogram bars are color-coded for easy interpretation. Lime and green bars indicate increasing bullish momentum, while maroon and red bars signify increasing bearish momentum.
Bullish and Bearish Divergence Detection: The indicator identifies bullish and bearish divergences between the MACD histogram and price action. Bullish divergence occurs when the price makes a lower low while the MACD histogram forms a higher low, indicating potential bullish reversal. Conversely, bearish divergence occurs when the price makes a higher high while the MACD histogram forms a lower high, suggesting a potential bearish reversal.
How to Use:
Trend Confirmation: Monitor the color of the histogram bars. A series of green (or lime) bars suggests a strengthening bullish trend, while a series of red (or maroon) bars indicates a strengthening bearish trend.
Divergence Identification: Watch for divergences between the MACD histogram and price action. Bullish divergence may signal a potential bullish reversal, while bearish divergence may indicate a potential bearish reversal. These signals can be used in conjunction with other technical analysis tools to confirm trade entries and exits.
The MACD 4C indicator was developed by user vkno422 You can find the original author and their work on their TradingView profile: www.tradingview.com
MACD Bar 1.0 [upslidedown]MACD is one of the most consistent ways a trader can determine overall trend direction. In this script, I've simplified the traditional MACD histogram into a compact bar with trend change shapes (▲▼) when the MACD histogram goes under the zero line or above the zero line. With traditional MACD I often have to zoom in, wasting precious time. This indicator fixes that problem.
I use this script as a confirmation for other trigger signals, not as an entry or exit signal. I find this compact widget to be a preferable visualization of MACD on lower timeframes, while high timeframe analysis lends itself to the traditional MACD built-in with more data for decision making. This is also very useful when crafting trading strategies to quickly check for confluence of signals.
In addition to the traditional EMA smoothing that comes with MACD, I exposed a series of common moving average types. These include: SMA, EMA, WMA, RMA, SWMA, VWMA, Hull, TEMA, and ZLEMA. TEMA and ZLEMA are not standard builtins, but when looking for fast confirmation they can be very useful. They can also create LOTS of noise, so consider this wisely before changing the builtin methodology. One neat trick is to pair a "fast" version of this with fast moving average type and then a slow one using traditional EMA.
▲▼ signals = trend shift in direction of triangle
full color "bull or bear" color = strong trend
half color (semi-transparent) "bull or bear" color = weakening trend
MACD With Crossings and Above Below ZeroMACD with MACD Derivative, Crossings Above and Below Zero, Shading for ADX Smoothing and Overlayed RSI
Primarily a moving average convergence divergence (MACD) momentum indicator. Also includes a MACD Derivative overlay to show when momentum has peaked. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). Includes shading for average directional index (ADX) to futher determine when the price is trending strongly (red when the ADX value is greater than 25, and idicating a strong trend; otherwise blue). Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
MACD Crossover Backtest MACD – Moving Average Convergence Divergence. The MACD is calculated
by subtracting a 26-day moving average of a security's price from a
12-day moving average of its price. The result is an indicator that
oscillates above and below zero. When the MACD is above zero, it means
the 12-day moving average is higher than the 26-day moving average.
This is bullish as it shows that current expectations (i.e., the 12-day
moving average) are more bullish than previous expectations (i.e., the
26-day average). This implies a bullish, or upward, shift in the supply/demand
lines. When the MACD falls below zero, it means that the 12-day moving average
is less than the 26-day moving average, implying a bearish shift in the
supply/demand lines.
A 9-day moving average of the MACD (not of the security's price) is usually
plotted on top of the MACD indicator. This line is referred to as the "signal"
line. The signal line anticipates the convergence of the two moving averages
(i.e., the movement of the MACD toward the zero line).
Let's consider the rational behind this technique. The MACD is the difference
between two moving averages of price. When the shorter-term moving average rises
above the longer-term moving average (i.e., the MACD rises above zero), it means
that investor expectations are becoming more bullish (i.e., there has been an
upward shift in the supply/demand lines). By plotting a 9-day moving average of
the MACD, we can see the changing of expectations (i.e., the shifting of the
supply/demand lines) as they occur.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
MACD Crossover MACD – Moving Average Convergence Divergence. The MACD is calculated
by subtracting a 26-day moving average of a security's price from a
12-day moving average of its price. The result is an indicator that
oscillates above and below zero. When the MACD is above zero, it means
the 12-day moving average is higher than the 26-day moving average.
This is bullish as it shows that current expectations (i.e., the 12-day
moving average) are more bullish than previous expectations (i.e., the
26-day average). This implies a bullish, or upward, shift in the supply/demand
lines. When the MACD falls below zero, it means that the 12-day moving average
is less than the 26-day moving average, implying a bearish shift in the
supply/demand lines.
A 9-day moving average of the MACD (not of the security's price) is usually
plotted on top of the MACD indicator. This line is referred to as the "signal"
line. The signal line anticipates the convergence of the two moving averages
(i.e., the movement of the MACD toward the zero line).
Let's consider the rational behind this technique. The MACD is the difference
between two moving averages of price. When the shorter-term moving average rises
above the longer-term moving average (i.e., the MACD rises above zero), it means
that investor expectations are becoming more bullish (i.e., there has been an
upward shift in the supply/demand lines). By plotting a 9-day moving average of
the MACD, we can see the changing of expectations (i.e., the shifting of the
supply/demand lines) as they occur.
MACD OverlayMACD Overlay indicator plots the MACD directly on price. This helps you better understand the MACD indicator and filter the false signals.