Pro Divergence [regular + hidden] by TradingClue█ Pro Divergence is my new divergence-based toolkit that will help you to spot lucrative opportunities in all kinds of markets.
I've developed toolkits and strategies that use divergences for many years, e.g. AutoDivergence and CCIDivergence . Pro Divergence is my latest development and benefits from those yearlong experiences.
The main algorithm to detect divergences has changed from using linear regressions and moving averages to algorithmic trendline detection like I've been using in TD Lines .
This new approach supports the detection of regular divergences but also hidden divergences can be identified.
Before going more into the details of the mechanics of Pro Divergence, let's recap, what divergences are all about when it comes to trading.
█ Regular Divergence
The basic idea is pretty simple: If price goes in the opposite direction than some other technical indicator - in most cases an oscillator - we speak of a divergence. A regular divergence might be a signal for a trend reversal. That's it.
For example, if the price is currently rising, while at the same time Momentum is falling - it might be time for a reversal and the price of an asset is about to fall soon. If there are additional indications to confirm the signal, e.g. if RSI is in the overbought area, it might be a good idea to go short on that specific asset.
Regular bullish divergences are indicated when price is forming lower lows while an oscillator shows higher lows.
Regular bearish divergences are indicated when price is forming higher highs while an oscillator shows lower highs.
█ Hidden Divergence
While regular divergences indicate trend reversals, hidden divergences indicate a trend continuation.
When the price is making higher lows and the oscillator is showing lower lows, we speak of a bullish hidden divergence. When the price is making lower highs and the oscillator shows higher highs, it's a bearish hidden divergence.
These rules for identifying divergences are pretty simple and straightforward. And they are also confusing at times. But that's what Pro Divergence is helping you with: trade based on customizable signals to identify all kinds of divergences.
You could either use the strategy settings of the toolkit to optimize the properties to show winning backtesting results. Or you use the signals as an extra confirmation to some other kind of signal/ strategy you are working with.
█ Summary of all current features
• Oscillator: choose between CCI, Momentum, MACD, or RSI. All oscillators-settings are customizable.
• RSI-filter: in some cases, the quality of the signals can be improved by an RSI filter, e.g. a bullish signal would only be valid if RSI is in the oversold area. Set the RSI period and the oversold/ overbought levels to your preferred values.
• You can display all divergences on the chart to get an idea of the current price action. Or you can pick any combination of signals you would like to include in a backtest. Possible signals are: regular bullish divergence, regular bearish divergence, hidden bullish divergence, hidden bearish divergence
• Exits: there are many ways to get exit signals - combinations of the below options are possible:
• fixed profit targets/ stop losses based on ticks
• Exit when momentum reverses
• Exit when price touches the opposite Bollinger Band (e.g. a long position will be closed when price touches the upper Bollinger Band). The settings for the Bollinger Bands are customizable.
• Entry: you can choose only to enter a trade if momentum is going in the same direction as the direction of your trade (e.g. only go long if momentum is rising)
• time and date filer
• Do a backtest only in a given time range (maybe you're not interested in the whole range of historical data when trading in a higher timeframe. Or you would like to do some kind of walk forward analysis)
• Only trade during special times of a day, e.g. only trade during the first hours of a trading session
Since this strategy is making heavy use of math and technical indicators, it is not tied to a certain asset class or timeframe. It was tested successfully on a large number of financial instruments like stocks, crypto, forex, and others.
Hareketli Ortalamanın Yakınsaması / Iraksaması (MACD)
MACD-X Overlay, More Than MACD by DGTMoving Average Convergence Divergence – MACD
The most popular indicator used in technical analysis , the moving average convergence divergence ( MACD ), created by Gerald Appel. MACD is a trend-following momentum indicator , designed to reveal changes in the strength, direction, momentum, and duration of a trend in a financial instrument’s price
Historical evolution of MACD ,
- Gerald Appel created the MACD line,
- Thomas Aspray added the histogram feature to MACD
- Giorgos E. Siligardos created a leader of MACD
MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, MACD takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram which oscillates above and below a center Zero Line. The histogram is used as a good indication of a security's momentum.
The MACD indicator is typically good for identifying three types of basic signals;
Signal Line Crossovers
A Signal Line Crossover is the most common signal produced by the MACD . On the occasions where the MACD Line crosses above or below the Signal Line, that can signify a potentially strong move. The standard interpretation of such an event is a recommendation to buy if the MACD line crosses up through the Signal Line (a "bullish" crossover), or to sell if it crosses down through the Signal Line (a "bearish" crossover). These events are taken as indications that the trend in the financial instrument is about to accelerate in the direction of the crossover.
Zero Line Crossovers
Zero Line Crossovers occur when the MACD Line crossed the Zero Line and either becomes positive (above 0) or negative (below 0). A change from positive to negative MACD is interpreted as "bearish", and from negative to positive as "bullish". Zero crossovers provide evidence of a change in the direction of a trend but less confirmation of its momentum than a signal line crossover
Divergence
Divergence is another signal created by the MACD . Simply, divergence occurs when the MACD and actual price are not in agreement. A "positive divergence" or "bullish divergence" occurs when the price makes a new low but the MACD does not confirm with a new low of its own. A "negative divergence" or "bearish divergence" occurs when the price makes a new high but the MACD does not confirm with a new high of its own. A divergence with respect to price may occur on the MACD line and/or the MACD Histogram
Moving Average Crossovers , another hidden signal that MACD Indicator identifies
Many traders will watch for a short-term moving average to cross above a longer-term moving average and use this to signal increasing upward momentum. This bullish crossover suggests that the price has recently been rising at a faster rate than it has in the past, so it is a common technical buy sign. Conversely, a short-term moving average crossing below a longer-term average is used to illustrate that the asset's price has been moving downward at a faster rate and that it may be a good time to sell.
Moving Average Crossovers in reality is Zero Line Crossovers, the value of the MACD indicator is equal to zero each time the two moving averages cross over each other. For easy interpretation by trades, Zero Line Crossovers are simply described as positive or negative MACD
False signals
Like any forecasting algorithm, the MACD can generate false signals. A false positive, for example, would be a bullish crossover followed by a sudden decline in a financial instrument. A false negative would be a situation where there is bearish crossover, yet the financial instrument accelerated suddenly upwards
What is “MACD-X” and Why it is “More Than MACD”
In its simples form, MACD-X implements variety of different calculation techniques applied to obtain MACD Line. Different calculation techniques lead to different values for MACD Line, as will further discuss below, and as a consequence the signal line and the histogram values will differentiate accordingly.
Main features of MACD-X ;
1- Plotting of the Oscillator presented on top of the price chart (main chart) and applicable on both log and linear scale. Maximum plotting length is limited to 250 bars
2- Introduces different proven techniques applied on MACD calculation, such as MACD-AS (Histogram), MACD-Leader and MACD-Source, besides the traditional MACD (MACD-TRADITIONAL)
• MACD-Traditional, by Gerald Appel
It is the MACD that we know, stated as traditional just to avoid confusion with other techniques used with this study
• MACD-Histogram, by Thomas Aspray
The MACD-Histogram measures the distance between MACD and its signal line (the 9-day EMA of MACD ). Aspray developed the MACD-Histogram to anticipate signal line crossovers in MACD . Because MACD uses moving averages and moving averages lag price, signal line crossovers can come late and affect the reward-to-risk ratio of a trade. Bullish or bearish divergences in the MACD-Histogram can alert chartists to an imminent signal line crossover in MACD
Aspray's contribution served as a way to anticipate (and therefore cut down on lag) possible MACD crossovers which are a fundamental part of the indicator.
• MACD-Leader, by Giorgos E. Siligardos, PhD
MACD Leader has the ability to lead MACD at critical situations. Almost all smoothing methods encounter in technical analysis are based on a relative-weighted sum of past prices, and the Leader is no exception. The concealed weights of MACD Leader are such that more relative weight is used in the more recent prices than the respective weights used by the components of MACD . In effect, the Leader expresses more changes in average price dynamics for the recent price movement than MACD , thus eventually leading MACD , especially when significant trend changes are about to take place.
• MACD-Source, a custom experimental interpretation of mine,
MACD Source, presents an application of MACD that evaluates Source/MA Ratio, relatively with less lag, as a basis for MACD Line, also can be expressed as source convergence/divergence to its moving average. Among the various techniques for removing the lag between price and moving average (MA) of the price, one in particular stands out: the addition to the moving average of a portion of the difference between the price and MA. MACD Source, is based on signal length mean of the difference between Source and average value of shot length and long length moving average of the source (Source/MA Ratio), where the source is actual value and hence no lag and relatively less lag with the average value of moving average of the source .
MACD Source provides relatively early crossovers comparing to MACD and better momentum direction indications, assuming the lengths are set to same values
3- Alerts presented for MACD and Signal Line Crosses both for Early Warning and Confirmed Crossovers
For more, You are kindly invited to have a look to other MACD or similar studies presented on separate pane
MACD-X, More Than MACD by DGT , P-MACD by DGT and Price Distance to its MA by DGT
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Honey CypherHoney Cypher Aims to do 4 things
Momentum
Trend Strength
Overbought and oversold zones
Being the most beautiful indicator you ever see
Momentum
The big yellow honey waves primary use is to see the momentum of the market, they can be used in a similar way you would use a MACD or Chaikin Money Flow
On this image you see the honey waves being plotted to the 30 minute timeframe while on the 5 minute chart to have an understanding of longer time momentum in the chart.
Trend Strength
Most tools of the indicator can be used for that but the yellow and purple slope strength lines are made specificaly for this. When you see them curl down you know trend is strengthening towards the downside.
The candle color is based on the amount of Honey waves sloping in one direction. This might be the best tool in the indicator to find Trend Strength. Bright yellow candles mean strong bears while the bright blue candles mean strong bulls.
Overbought and oversold zones
By analysing the waves on a chart you start to learn how big waves can get before a reversal or consolidation period arrives.
You can become profitable with the indicator. But to be honest, my primary focus in making this indicator was find ways to visualise alot of data in a clear and beautiful way.
You should use the indicator with some out of the box ideas instead of just trusting the signals.
examples:
Find a head and shoulders pattern on the top of a huge honey wave.
Find a bottom small wave while the others honey waves are in the opposite direction for entering a pullback.
Use the honey for direction but the yellow and purple slope line crosses for entrys.
Comment your own strategys, I made this open source to be able to get community feedback.
The Honey Cypher waves are calculated in a similar way as the MACD histogram. I've combined MACD formula with some of the lazybear formula. It looks for the distance between 2 moving averages to find trend strength. After that the end results get's smoothed out. It is very satisfying to change that as you can see the honey waves create a melting like motion on each change of smoothing.
Below a preview of the honey cypher moving average lines, all lines have a length that is based on the fibonacci number sequence. Honey cypher measures the distance between for example length 5-8 averages.
I hope this inspires coders to create very beautiful scripts.
MTF MACD (PPO) [TANHEF]Mult-Timeframe Moving Average Convergence Divergence (MACD) and Percentage Price Oscillator (PPO) indicator that allows for viewing of 1 to 5 different Timeframes.
Brief Summary
The primary benefit of multi-timeframe indicators is getting better entries and confirmation from viewing multiple time frames at once, which can often get overlooked.
MACD shouldn't be only used by itself, it is a lot more consistent when applied in the same direction as the trend as well as multiple other things including support, resistance, and volume improve the outcomes of the MACD results.
Personally, I look for good entries on higher and lower time frames (multiple timeframes must agree with the buying or selling). For example, if a higher timeframe looks like a good long entry (MACD line is crossing up and below the zero line), then the lower timeframes should be checked to ensure they are not oversold or overextended (the MACD line must be low or below the zero), once the lower and higher timeframes are in agreeance an entry can be made.
What is Moving Average Convergence Divergence (MACD)?
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of the price. The MACD is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA.
What is the Percentage Price Oscillator (PPO)?
The PPO is identical to the MACD indicator, except the PPO measures percentage difference between two EMAs, while the MACD measures absolute (or dollar) difference. The PPO has the advantage of being comparable to other assets with different prices, whereas MACD readings are not comparable. For example, regardless of the asset's price, a PPO result of 10 means the short-term average is 10% above the long-term average.
A signal line can be displayed on Timeframe, including:
- MACD & Signal Line crosses (Green when MACD above Signal Line and Red when MACD below Signal Line)
- Histogram Direction (fast and slow EMA gap)
- SuperTrend for identifying trend direction (green for uptrend, red for downtrend)
- EMA Trend for identifying trend direction (above EMA = up trend and green, below EMA = down trend and red)
Cross Dots and Potential cross dots
- Green Dot, is displayed when the MACD crosses the Signal Line
- Red Dot, is displayed when the MACD crosses the Signal Line
- Yellow Dot. Potential cross up (green dot) on next bar. Displayed when if the same distance a MACD moves on a bar is applied to the next bar will cause a MACD and Signal Line Cross. This is calculated by checking if the value change of one bar is added to the current MACD value would lead to a cross on the next bar, the it is a potential up dot.
- Purple Dot. Potential cross down (red dot) on next bar. Displayed when if the same distance a MACD moves on a bar is applied to the next bar will cause a MACD and Signal Line Cross. This is calculated by checking if the value change of one bar is added to the current MACD value would lead to a cross on the next bar, the it is a potential down dot.
Best Fit Settings
- Can be applied to the MACD, Signal Line, and Histogram to re-scale (stretch) to fit them within the space of the +2 and -2 range that each timeframe is provided on this indicator.
- The lookback distance value is used to lookback a certain distance to ensure everything scaled to fit well.
Labels are displayed on the right of the indicators, including:
- a label identifying 'line indicator' is currently being displayed
- the Timeframe corresponding to each MACD or PPO indicator
- the MACD or PPO of each Timeframe
[UPRIGHT Trading] Awesome STC+Hello Traders,
I hope you all are doing well.
Today I'm releasing another one of my favorites: the Schaff Trend Cycle (STC). In 2008, Doug Schaff publically released the STC as an improvement on cycle oscillators and the MACD, hence its common nickname, "The better MACD."
This oscillator is essentially a fusion of the benefits of trend and cycle indicators; the idea is to minimize their drawbacks, such as lags or false signals. The STC is mainly used to determine or confirm price direction and market reversals.
We calculate the STC as a double smoothed stochastic of the MACD, which outputs an oscillator that moves between 0 and 100.
How is it typically used?
In trending markets, we can expect the oscillator to move up if the market is in the accelerating uptrend and an accelerating downtrend are to push the oscillator down.
In sideways markets, the STC shows oversold when it reverses after falling below 25; overbought when the STC turns down from above 75.
How the Awesome STC+ is different:
This STC uses several complex equations and filters to improve accuracy and reduce lag.
My original STC wave.
Multiple extremely accurate Buy/Sell signals not found on a traditional STC indicator.
Ability to use 4 different background highlights and several buy/sell and confirmation signals.
Fully customizable (as always), ability to turn on or off any signals, change any of the colors to suit your needs.
Pre-filled Alerts.
Reversals and Continuations.
Chart should look like this:
Please see the "Author's Instructions" for access.
Cheers,
Mike
(UPRIGHT Trading)
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.
Relative Moving Average Convergence DivergenceThe normal MACD is formed by the difference of two moving averages. In contrast, the relative MACD is formed by the quotient of two moving averages.
In my opinion, it is only with the Relaticen MACD possible to compare values at different prices.
Der normale MACD wird durch die Differenz zweier gleitender Durchschnitte gebildet. Im Gegensatz dazu wird der Relative MACD duch den Quotienten zweier gleitender Durchscnitte gebildet.
Meiner Meinung nach, ist es erst mit dem Relaticen MACD möglich Werte zu unterschiedlichen Kursen zu vergleichen.
La MACD normale est formée par la différence entre deux moyennes mobiles. En revanche, la MACD relative est calculée à partir du quotient de deux moyennes mobiles.
À mon avis, ce n'est qu'avec la MACD relative qu'il est possible de comparer des valeurs à des prix différents.
El MACD normal está formado por la diferencia entre dos medias móviles. En cambio, el MACD relativo está formado por el cociente de dos medias móviles.
En mi opinión, sólo con el MACD Relativo es posible comparar valores a diferentes precios.
Обычный MACD формируется разницей между двумя скользящими средними. В отличие от этого, относительный MACD формируется из коэффициента двух скользящих средних.
На мой взгляд, только с помощью относительного MACD можно сравнивать значения по разным ценам.
正常的MACD是由两条移动平均线之差形成的。相反,相对MACD是由两条移动平均线的商数形成的。
在我看来,只有相对MACD才有可能比较不同价格下的价值。
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
CA - Indicators ColorsThe following indicator help to have an idea of the current state of the MACD and FullStochastic in 1 hour and 1 day. If you are a trader that is regularly using stochastics and macd indicator and don't have enough space in you screen this might help to increase the space in your screen.
Parameters used on MACD: 12, 26,9
Parameters used on Stochastics: 14,5,5
The whole idea of the indicator is if you see an entry for a long position, you can confirm that a higher timeframe its aligned by both indicators and if you are seeing an entry for a short position you can confirm with a higher timeframe.
This indicator doesn't provide an entry or exit signal, but lets you verify where is the trend going in those timeframes so it helps you decide to make the trade.
Stochastic
Green: going up
Red: going down
Macd
Green: going up
Light Green: previous was green and going down.
Red: going down
Light Red: previous was red and going up
Keep in mind, the colors are going to get updated as long as the market is active.
Any feedback its appreciated.
Selected MACD Areas CompareThis is a simple tool to compare two selected MACD histogram area. The MACD histogram area is sometimes used to determine trend reversal or trend strength. One may have difficulty with this when the compared MACD areas are of different shape or similar in size. This indicator/tool allows user to select two time periods on the chart and get a precise compare result.
To use the indicator, place a regular MACD indicator on the chart which shows the histogram, then add this indicator and select the two areas of which you want to compare the size. Please make sure that the regular MACD indicator this one have the same source.
MACD X PivotThe Theory of Entanglement (缠论) is one of the most widely studied trading theories in China, but it is much less known among traders outside. Fractals, strokes, line segments and pivots are basic elements in the Theory of Entanglement. This indicator, MACD X Pivot, applies the concept of strokes, line segment and pivot to the classic MACD indicator and provides a good indication of the exact turning point of a trend based on MACD divergence. Also see a related indicator for applying the Theory of Entanglement on the price chart:
Relations between stroke, line segment and pivot:
• Stroke: Connecting two adjacent top and bottom fractals with at least one candlestick in between.
• Line segment: Consists of an odd number of strokes, at least three strokes are required, and the first three strokes must have overlapping parts.
• Pivot: The part of a trend type at a certain level that is overlapped by at least three consecutive sub-level trend types.
List of drawings on the chart:
1. Blue and red crosses: golden and death crosses between MACD and signal lines.
1. Gray lines: Strokes at the current level.
2. Blue lines: Strokes at a higher level, also line segments at the current level.
3. Blue shaded rectangles: Bullish pivot.
4. Red shaded rectangles: Bearish pivot.
How to use the indicator:
1. The golden cross and death cross between the MACD and signal lines: Blue cross: MACD line crosses up the signal line - buy signal; Red cross: MACD line crosses down the signal line: sell signal.
2. For the bullish blue pivot, the 2nd low (higher low) provides a good indication of the exact turning point from a bearish to bullish trend.
3. For the bearish red pivot, the 2nd high (lower high) provides a good indication of the exact turning point from a bullish to bearish trend.
Stock ControlThis indicator shows the following values:
Pre-market volume
SPY
ADD
VIX
For each value the background will be colored based on specific internal parameters which can be customized.
The indicator is highly customizable. Here are some of the settings:
Compact view
Text size
Pre-market thresholds
SPY MACD parameters
ADD MACD parameters
VIX Bollinger parameters
Normalized MACD by[@hadi_saadat]This MACD is exactly like standard MACD, but extremely stable and normalized by EMAs(200,150,100,50,30).
So you need at-least 30 candle to see the chart.
The Huge differences can be seen when the close price scale over time changes for instance go to the weekly time-frame, see the normalized MACD and Standard MACD when the BTC price was below 10k or even below 5k and compare two MACD charts (The standard one chart get almost vanished when the price was much cheaper and it doesnt scale well), then zoom in the standard MACD at that period and again compare it to The Normalized one(When you zoom in you will see surprisingly both MACDs are exactly the same form and shape, however normalized one doesn't need zoom-in and it is well scaled among the time and different prices), You will be surprised that how stable it is.
The normalizes MACDs, Signals and Histograms values are comparable to any other assets (obviously in same time-frame).
[UPRIGHT Trading] Awesome MACD+ (cc)Hello Traders,
I'd like to introduce you all to the Awesome MACD+ indicator.
As most of you know, the Moving Average Convergence Divergence, MACD, indicator is a one of the most popular indicator among traders. The MACD is a trend-momentum indicator that measures the relationship between moving averages and uses a signal line to show crossovers between the MACD line. The signal line is generally used as a trigger for buy/sell signals with a cross of the MACD line or confirmation when used with other strategies. More advanced traders will look for divergences; divergences can, for example, indicate a weakness in the current trend.
How the Awesome MACD+ is different:
This MACD uses several complex equations and filters to improve accuracy.
Multiple extremely accurate Buy/Sell signals not found on a traditional MACD indicator.
Ability to use 2 different background highlight signals and several different buy/sell signals.
Fully customizable (as always), ability to turn on or off any signals, change any of the colors to suit your needs.
***I've used Bitcoin in the chart above just to show that it is still extremely accurate using alt-coins as well.
On AAPL
Advanced algo trend filtering
Easy to read signals for every level of trader.
..Can work for the minimalist.
..Those that want every signal.
..Those that like a balance of signals.
Whatever your style or skill level, the Awesome MACD+ can be customized to fit your needs.
The above chart should look like this:
Good luck Traders.
Cheers,
Mike
(UPRIGHT Trading)
MACD Cross [Momentum & Trend Filter]This is MTF MACD crossover and crossunder, with EMA trend filter and MTF RSI overbought/oversold filter.
Guidelines:
- User can set stop loss, take profit target and risk to reward ratio in setting
- ATR Stop and ATR Multiplier are use to set stop loss and take profit levels, setting are varies depend on what you are trading, play around and find appropriate number
- Don't trade if range between stop loss and target profit are too small or if there are too many small range try to increase multiplier
- If MACD Zero Line Filter enable, detect MACD crossover only under zero line for LONG, and detect MACD crossunder only above zero line for SHORT
- If EMA Trend Filter enable, detect MACD crossover which price above EMA for LONG, and detect MACD crossunder which price below EMA for SHORT
- RSI timeframe 1-3 should not lower than chart timeframe to display Overbought and Oversold correctly
- Enable MTF Overbought and Oversold just to display red background for Overbought, and green background for Oversold
There are 3 alert options:
(For those free user which can get only 1 alert, please choose "MACD crossover & crossunder" if you want to get alert for both long and short directions)
Have fun :)
Ultimate MACDThis indicator is an improved version of MACD+RSI (refer to my script list). Basically, this indicator is a combination of several indicators:
1. Fast MACD (preset at 8, 16, 11 - it is my own preference settings and the red and blue line in this indicator are referring to the Fast MACD settings)
2. Slow MACD (preset at 12, 26, 9 - standard settings and the Slow MACD lines are not displayed in this indicator)
3. RSI (preset over value 50)
4. Stochastic (preset overbought at 80, oversold at 20)
How to read:
1. Fast and Slow MACD:
- Two red and blue lines are displaying the Fast MACD lines
- Small blue cross will appear at every crossover of the Fast MACD lines
- Golden Cross 1: Yellow background will appear if only Fast MACD lines are crossing to each other (blue crossover red)
- Golden Cross 2: Green background will appear if both Fast and Slow MACD lines are crossing to each other (blue crossover red but for Slow MACD, I didn't put those lines in this indicator)
- Death Cross 1: Blue background will appear if only Fast MACD lines are crossing to each other (red crossover blue)
- Death Cross 2: Red background will appear if both Fast and Slow MACD lines are crossing to each other (red crossover blue)
2. RSI:
- Purple dots will appear on the center line if RSI value is over 50
3. Stochastic:
- Big Blue cross will appear on the center line if stochastic line are crossing to each other in the oversold area (preset at 20)
- Big Red cross will appear on the center line if stochastic line are crossing to each other in the overbought area (preset at 80)
That's all about this indicator, you can use it based on your own trading style if it suits you. And again I let the script open for anyone to modify it based on your own preferences.
Reverse Moving Average Convergence Divergence [CC]The Reverse Macd was created by Johnny Dough (Stocks and Commodities Jan 2012) and this is another indicator in my ongoing series to find those hidden gems. This indicator works in a few very powerful ways. For example the blue line shows you what the current price would be if the macd was at the macd level that you choose. I set the default to 0 but feel free to change it if you want. This will give you short to medium term info by telling you if it is an uptrend when the price is above the blue line or vice versa. It also creates the reverse macd line and it's signal line by using information from the previous day to decompile the macd and show you the price that it would be at if the macd was at that level. It turns this into a new moving average that closely tracks price movements and with the two competing signals, gives you more than enough info to find the perfect entry and exit points. Like always I have included strong buy and sell signals in addition to normal ones so darker colors are strong signals and lighter colors are normal signals. Buy when the line is green and sell when it is red.
Let me know if there are any other scripts you would like to see me publish!
Sharktank - MACD ExtendedThe MACD, but with added features. Features are:
* Different color schemes.
* Change between different MA types (EMA and SMA) for both the oscillator and the signal MA.
* Show normal bearish and bullish divergence on both the oscillator and the signal MA.
* Show hidden bearish and bullish divergence on both the oscillator MA and the signal MA.
* Change line styles.
MACD Objective Breakouts + AlertsFinds the most recent support and resistance level as confirmed by the MACD . These level are detected dynamically and the lines will be updated as new levels form.
Alerts can be toggled on or off in the settings but will not work if the alert is not added to your chart. Alerts can be added by selecting the "Alert" button on TradingView then selecting "MOB Alerts" as the condition
Alerts will trigger when price closes above or below the indicated levels.
Please let me know if you find any bugs!
MACD + AveragesA classic MACD with average peak and dip lines. The lighter green and red horizontal lines are the average peak and dip of the entire span, respectively. The second, bolder of the two lines are the averages of the peaks and dips above and below the overall peak and dip averages. The filled in color is to help visualize these averages and possible trade setups.
Wave Trend OscillatorThis is a very standard version of the Wave Trend Oscillator.
The Channel and Average values are displayed as lines, most people display them as areas.
The Channel and Average difference is displayed as a histogram, most people display it as a tiny noisy area.
I was unable to find a standard version of the Wave Trend Oscillator.
The colorful hyped up versions of this indicator made me feel like a clown while using them.
I have essentially copied the style of the MACD with this indicator, to keep things professional.
With this WTO, you can change the timeframe and source.
You can also change the histogram average length and multiplier, making it usable.
The typical way that people display the histogram is completely unusable and just for appearance.
Now it does a decent job showing when the momentum of the WTO's downward movement is slowing down, just like how the MACD histogram works.
This indicator is essentially a normalized MACD, though they are calculated differently.
The Wave Trend Oscillator is useful for spotting/monitoring changed in mid-trend momentum.
In my experience, divergence in this indicator is a strong signal.
If the MACD is too slow for you, then this is a great alternative; without all the extra fluff people usually add to it.
Mad StrategyThis is a compile of my trading suite.
Because it is so simple I can describe much of it.
Just try it, green for buy and red for sell.
[Rygel] MACD 4C with divergences, crossovers and alertsThis indicator is a reliable, exhaustive, instant, simple divergence detector for the MACD 4C oscillator.
I've struggled for months to find a MACD divergence indicator I can rely on, I've tinkered with the ones I found and never was satisfied by the final result. For all of them important divergences were not shown, for some divergences was shown too late, for others divergence lines was not drawn, some even shown some strange exotic divergences... I played will all the parameters and something was always wrong or missing at the end.
It was even worse for the MACD 4C indicator, the 4-color MACD, which I prefer to use.
So I finally decided to write my own divergence algorithm and to create my own indicator. After a few attempts, here's the result.
This MACD indicator is using the same divergence detection algorithm I wrote for my RSI indicator. You'll find on its description page a comparison of my divergence algorithm with other ones to see how it differs.
When I built this indicator, my objectives were to create one that is:
Reliable. I didn't want to have to double-check an indicator to make sure it's doing what I expect it to do. I want to be able to look at it for one second and know I can rely on it.
Exhaustive. I didn't want to have to rely on multiple indicators to be sure I'm not missing a divergence.
Instant. I wanted the divergences to be shown as soon as soon as they form and not after a pivot is confirmed. For some indicator, when the divergence is displayed, it's already too late to act on it.
Simple. I wanted my indicator to be clean, readable and not visually aggressive. The main objective of this indicator is to show divergences and I didn't want to visually overload it with unrequired information.
I wanted my indicator to be a simple as possible, nonetheless you'll find a few parameters to tinker with. Many of them will need no explanation but here's the list.
Show signal line: disabled by default. Show the MACD signal line.
Color signal line: disabled by default. Show the signal line as green when it goes up and read when it goes down.
Show signal crossovers: enabled by default. Show a green dot when MACD crosses up its signal line and a red dot when it crosses down.
Show zero line: enabled by default. Show a line at the 0 value.
Show zero crossovers: disabled by default. Show a green triangle when MACD crosses up the 0 line and a red triangle when it crosses down.
Show regular divergences: enabled by default.
Show hidden divergences: disabled by default for readability. I try to keep the indicator as clean as possible by default.
Bullish regular divergence color : no explanation needed I suppose.
Bullish hidden divergence color : same.
Bearish regular divergence color : ditto.
Bearish hidden divergence color : uhh.
Show overbought and oversell backgrounds : when RSI is oversold or oversell, the background color changes to red or green. The indicator uses two levels of oversold/overbought. When the RSI is strongly oversold/overbought the background color gets brighter. You can configure these levels in the advanced parameters.
Advanced parameters:
MACD fast moving average length: 12 by default.
MACD slow moving average length: 26 by default.
MACD signal moving average length: 9 by default.
Show divergences before pivot confirmation : enabled by default. Divergences will appear as soon as possible, before the pivot is confirmed by another candlestick. Unconfirmed divergences will appear as dashed lines then disappear if not confirmed or turn to solid lines if confirmed. This may create false positives with alerts as the divergence may disappear.
Minimum bars to check: 5 by default. As this indicator detects absolutely all the divergences, some may be insignificant and it may become unreadable without some filtering. If you want to see absolutely all the divergences, you may lower this value. Please note TradingView limits to 50 how many lines are displayed at the same time on an indicator. So when you display more divergences, some in the past disappear. It's not usually an issue but if you scroll back in time, divergences will stop to show at one point in the past.
Maximum bars to check: 75 by default. Divergences may go far in the past, this parameters limit how old a divergence may be. You can higher it to show more divergences.
Show pivots: disabled by default. Show the pivot points used for divergence detections.
This indicator offers the following alerts:
Any divergence
Bearish divergence
Bullish divergence
Regular bearish divergence
Regular bullish divergence
Hidden bearish divergence
Hidden bullish divergence
MACD becoming positive
MACD becoming negative
MACD crossing up signal line
MACD crossing down signal line
Please note TradingView limits for performance reason to 50 the number of lines you can display on an indicator at the same time. So when you scroll back in time, at one point divergences will stop to show. If you want to see divergences far in the past, you may need to use the replay feature or to configure stronger filtering settings.
I hope you'll enjoy this indicator as much as I do! :)
Feel free to comment if you experience a bug or if an important feature is missing for you. (Please note the core of this indicator is divergence detection, I want to keep it simple so I will probably not add many unrelated features to it.)