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.
K-macd
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.
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.
MACD + Divergence + Line █ OVERVIEW
Here's the classic MACD with some simples features in plus.
█ CONCEPTS
4 features
1 — Classic MACD histogram, with 4 different colors such as above or below 0, and above or below the previous bar
2 — Display option to disable EMA
3 — A signal line that show the exact point, because the histogram view might be hard to be precise
4 — Looking for previous Divergences, Bullish, Bearish and Hidden Bullish and Bearish but I don't like Hidden divergences
█ OTHER SECTIONS
An oscillator is good to know where we are in the trends, but it's not enough to run a small business of trading, you need to learn how to use it.
What is a divergence ?
Thanks to The rational investor for teaching me how to use this indicator.
MACD_STO-SAMI
This indicator depends on the trend. You must first determine the general trend and then wait for the signals that indicate buying in the bullish direction and the signals that indicate selling in the bearish direction, which is the green signal is considered buying and the red signal is considered selling
Also, this indicator differs from the rest of the indicators that the signal is prior to the movement of hair, meaning that it is predictive and is strong.
The green bar is the buying peak.
The red bar is oversold.
The red arrows indicate that you can sell, but the price must be monitored.
The green arrows indicate that it is possible to buy and monitor the price
The colored candles are 4, and each candle indicates the order of the candle.
1- The blue candle indicates a change in the bearish trend and the possibility of it changing to an upward trend.
2- The green candle, which indicates that there will be acceleration in the upward direction.
3- The yellow candle indicates a change in the upward trend and the possibility of it changing to the downside.
4- The red candle indicates that there will be acceleration in the downside direction
To help determine the trend, the average of the 50 simple has been set
NYSE:BA
FX:GBPUSD
TADAWUL:1120
BINANCE:BTCUSDT
MACD_STO-SAMI This indicator depends on the trend. You must first determine the general trend and then wait for the signals that indicate buying in the bullish direction and the signals that indicate selling in the bearish direction, which is the green signal is considered buying and the red signal is considered selling
Also, this indicator differs from the rest of the indicators that the signal is prior to the movement of hair, meaning that it is predictive and is strong.
Median Convergence DivergenceIntroduction
The Median Convergence Divergence (MCD) is a derivative of the Moving Average Convergence Divergence (MACD). The difference is the change in the use of the measure of central tendency. In MACD, moving average (mean) is used, whereas, in MCD, the median is used instead. The purpose of using the median is to eliminate the outlying values, which would be calculated for a moving average. The outliers would affect the value of the moving average.
For example: 3, 5, 7, 8, 5, 4, 2, 1, 6, 21, 8. The data set average is 6.3, whereas the median value is 5. There is a difference of about 23% in the example. The reason is the outlying value '21' in the data set.
As the markets are volatile, outlying values can always emerge. A moving average will consider those values; on the other hand, the median will ignore. If the strategy calls for a tool to ignore the outliers, the Median Convergence Divergence would be a great centered oscillator.
The default values have changed to suit the current trading days in a week. When the MACD was introduced, there would be six trading days in a week. Therefore, it used 12 (2 weeks), 26(4 weeks), and 9 ( 1.5 weeks). But now that there are five trading days per week. The default values are adapted to them. Feel free to change them as per your wish.
Recommended Settings
The current settings are set to be used for the Daily Time Frame: 5 day period for the fast line, a 20 day period for the slow line, and a 10 day period for the signal line. (5 days represent a trading week, 10 days is two weeks, and 20 days is 4 weeks or a month)
For the weekly charts, use 4 week period for the fast line, 13 week period for the slow line, and 8 week period for the signal line. (4 weeks represent a month, 8 weeks is two months, and 13 weeks is 3 months or quarterly)
And for monthly charts, use 3 month period for the fast line, 12 month period for the slow line, and 6 month period for the signal line. (3 months is quarterly, 6 months is bi-yearly, and 12 month is yearly)
It'll be challenging to measure for intraday since there are many different timeframes within intraday. The settings mentioned above should also be customized as per the requirements of the trading strategy.
Strategy
The strategy application is the same as the MACD, i.e., Signal Line Crossovers, Zero Line Crossovers, and Divergence.
Signal Line Crossovers: When the MCD line crosses above the Signal line, it's a bullish crossover. When the MCD line crosses below the Signal line, it's a bearish crossover.
Zero Line Crossovers: It's a bullish crossover when the MCD line crosses above the Zero line. When the MCD line crosses below the Zero Line, it's a bearish crossover.
Divergence: When price shows a lower low, but MCD shows a higher low, it's a bullish divergence. When the price shows a higher high but MCD shows a lower high, it's a bearish divergence.
Using other indicators in conjunction with the Median Convergence Divergence is recommended to take entry and exit signals.
Wicked signalsThis indicator plots an RSI based MACD, I find it easier to spot divergences on histogram.
Also, it looks for candlestick wicks and finds SOME local tops and bottoms. NOT ALL OF THEM, beware of that.
Use it in conjunction with other things, don't rely solely on this for trading
Trend Following with Donchian Channels and MACDThis is a trend following system based on the Donchian Channels. Instead of using a simple moving average crossover, this system uses the MACD as the trendfilter:
Long positions:
* Price makes a new 50 day high,
* The MACD-line crosses above or is above the Signal-line.
* Both the MACD and the Signal-lines are above the zero-line.
Short positions:
* Price makes a new 50 day low,
* The MACD-line crosses below or is below the Signal-line.
* Both the MACD and the Signal-lines are below the zero-line.
Stoploss:
The initial and the trailing stoploss are 4 ATRs away from the price.
PYRAMIDING BTCUSDTPERP1H [ALERTS VERSION]BINANCE:BTCUSDTPERP
Hello
This my upgraded (ALERTs) version of my previous bots, uses diffrent indicators
WARING
THIS STRATEGY WORKS ONLY ON BTCUSDTPERP ON BINANCE 60MIN (like my previous ones) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- it depends on specyfic volume and wick based on binance
Soo, I was tried to make a bot with more trades to make more real results.
Trends are change, and the problem with configuration on bots is that, while we searching the best cofigurations , this was best configuration in the past,
to prepare bot for the futures moves , we have to make as much trades as possible.
This bot is pure definition of pyramiding, uses 2 entries, and when all the conditions are true, then will open a trades
The way it works is simple, bot use 6 difrent indicators to open longs/shorts and for the define trend
This specific configuration works the best at
TP: 1.4%
SL: 9%
This is bot only for lev 1x
Dont try it for bigger leverage, becouse when sl hits, which sometimes happend, the lost will be huge
Why sl is so big?
Bot is programed to replace sl with other entries
for example
close longs and open shorts
normal lose is around 3-5% (while trend is changed), so sl will only destroys results
this bot using 6 difrent indicators:
ADX
RSI
VOLUME
RANGE FILTER
MA 5-10-30
MACD by KivancOzbilgic
ADX - makes a solid view to trend without any scam wick :
Long only on green bars
Shorts only on red bars
That's helps my strategy to define a right trend
there is also a orange option for unidentified trends
RSI - value helps strategy to stop trade in right time
When RSI is overbought strategy don't open new longs
also when RSI is oversold strategy don't open new shorts
Volume - volume is the most important indicator for the strategy,
to avoid open trades on flat chart, new trades are open after a strong volume
wicks
RANGE FILTER- this indicator is for the better view of trends, define trends
MA 5-10-30 - like previous ones this is for better view of trends, and correctly define the trends
MACD by KivancOzbilgic - this indicator is based of MACD RELOADED by Kivanc Ozbilgic
Also like previous ones, indicator should help defined correct trends
Enjoy ;)
MAROC Fast/SlowNot sure if a similar indicator already exist, so I created my own. After creating this indicator, I realize it looks very similar to MACD. However, it strictly uses Hull moving average in its calculation for the lines.
MAROC is simply Moving Average Rate of Change. This is a trend-following indicator that calculates the rate of change on two Hull moving averages. By default it calculates the ROC on 60-period HMA (green and red) and 180-period HMA (blue and orange). The zero line represents the confirmation of change in trend. Above zero is up trend and below zero is down trend. Note the difference between the "trend reversal" and the "confirmation of a trend". I like to define trend reversal by the change in direction
The colored squares on the zero line has 4 colors that represents the overall trend. Here I include the slowdown of MAROC as the start of a trend.
- bright green = when both the slow and fast MA are trending up
- faded green = when slow MA trending up, but fast MA trending down
- faded red = when slow MA trending down, but fast MA trending up
- bright red = when both the slow MA and fast MA are trending down
Trend changes triangles are shown to signal the change in trend direction (trend reversal). Green and blue triangles are trend reversal to the upside. Red and orange triangles are trend reversal to the downside.
This indicator includes the option of displaying buy(long) and sell(short) signals that follows these rules. Use at your own discretion, as it may not apply well with your market or ticker.
- Long = Bright green square and either fast or slow MAROC changes trend direction to the upside
- Short = Bright red square and either fast or slow MAROC changes trend direction to the downside
Enjoy~! Please let me know if you find this useful and which market / ticker and timeframe you are using it on~ :)
5min MACD scalp by JoelThis strategy is inspired by a youtuber called Joel on Crypto. He trades this using Ema, MACD indicators and his own experience. For more information, check out his Best Crypto Scalping Strategy for the 5 Min Time Frame video. I have tried to automate this a little.
Long or Short trades are determined with a crossing of the fast Ema over the slow Ema for Long and the opposite for Short. Trades should only happen close to the crossovers. Then for Long we use the MACD indicator with a 1min TF (I had better results using the 5min) where we look for high peaks in negative values for Long and vice versa for Shorts. These should be significantly higher than other peaks (or if you will lower peaks for a Long).
Hence, the key is to detect high peaks on the histogram, which I try to achieve by checking if the last 2 values were higher than X bars back. If you want to make it even more specific, then you can turn on the additional checkbox which compares the current value to the average value of X bars back, and if it is greater than, say, 50% the value of the average (= 1.5x the average), then it's ok for the trade.
I also noticed that the strategy often bought at the top or bottom, so I added a check that compares whether the last evaluated bar is the first rising bar (for Long) or falling bar (for Short). This can be turned on or off.
Target profit 0,5% and stop loss 0,4% are based on his recommendation. The strategy is set to take only 1 trade at a time , and you can have a back tester table on.
I'm still a pine script beginner, so the strategy is certainly not perfect and could be improved. If you have any tips on how to improve it further, please let me know. I will try to update it when I have time.
I would also like to thank Joel on Crypto for sharing the strategy and @ZenAndTheArtOfTrading for his great library and code (thanks to him we have a back tester table in here), but especially his educational videos on youtube, which taught me a lot about pine script.
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
Data Trader Stoch | RSI | MACD Strategy IndicatorImplementation of Data Trader's strategy, described in the youtube video, "Highly Profitable Stochastic + RSI + MACD Trading Strategy (Proven 100x)"
Also see Algovibes' video, "Highly Profitable Stochastic + RSI + MACD Trading Strategy? Testing Data Traders strategy in Python"
Note: Despite the claims, it generates barely, if any, signals, certainly in the crypto markets
If there are any mistakes, give feedback in the comments, and I'll fix
### Strategy Summary ###
# Long Signals #
Stoch K and D are oversold
RSI above midline
MACD above signal line
# Short Signals #
Stoch K and D are overbought
RSI below midline
MACD below signal line
# Stop loss and Take Profit #
Stop loss
Longs: below last swing low
Shorts: above last swing high
Take profit at 1.5x stop loss