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~ :)
Macd-v
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
MacD Short and/or Long with Bi-Directional TP and SL This tool allows you to test any variable value for MacD and Signal for going Long or Short with each market direction having customizable values for stop loss and take profit.
For example, sometimes the MacD and Signal values are better with different lengths between Short and Long. You can use this tool to see them overlaid and determine the best settings for going one direction or the other.
This script was preset for use with XBTUSD on the 4 hour time frame. Another example with this in mind, is take profits and stop losses might not work in the Long market direction but going Short does! Without this tool that would be hard to see since typically stop loss and take profit is applied to both directions. I found with this tool that a 20% take profit seems to be a good sweet spot for going short with this strategy.
You can customize which MacD histogram you see by going to the style section and turning off the Short or Long parameters so you can see only 1 histogram at a time if you wish.
If you have any questions, please PM me.
Scalping Trading System bot Crypto and StocksThis is a trend trading strategy scalping bot that can work with any type of market. However I concluded my tests so far with Crypto, Stocks and Forex, and with optimizations always could be found some profitable settings.
Indicators
SImple Moving Average
Exponential Moving Average
Keltner Channels
MACD Histogram
Stochastics
Rules for entry
long= Close of the candle bigger than both moving averages and close of the candle is between the top and bot levels from Keltner. At the same time the macd histogram is negative and stochastic is below 50.
short= Close of the candle smaller than both moving averages and close of the candle is between the top and bot levels from Keltner. At the same time the macd histogram is positive and stochastic is above 50.
Rules for exit
We exit when we meet an opposite reverse order.
This strategy has no risk management inside, so use it with caution !
Moving Average Convergence DivergenceA MACD with option for logarithmic or regular scale.
This indicator presents bullish or bearish 'flags' based on the most recent signal cross and asset price divergence. If the price moves up and the macd continues trending down, a bearish divergence is flagged. if the price moves down and the macd continues moving up, a bullish divergence is flagged.
RSI MACD Same RatioこのインジケータはRSIとMACDを同比率で表示するものです。
なぜ同比率で表示するのでしょうか。
同比率で表示することでRSIとMACDのダイバージェンスを同時に確認することができます。
私には思いつきませんが、他にも使い道はあるかもしれません。
必要と感じた場合はぜひ使ってみてください。
※同比率で表示するためにRSIとMACDの値を変更しています。
そのため、値はあくまで参考程度にご覧ください。
注目すべきはラインのみです。
使う場合は「adjustment ratio」に適当な値を入れて、RSIの比率とMACDの比率を合わせてください。
それでは良いトレードライフを。
-----
This indicator shows RSI and MACD in equal proportions.
Why are they displayed at the same ratio?
By displaying at the same ratio, you can check the divergence of RSI and MACD at the same time.
I can't think of it, but there may be other uses.
If you feel it is necessary, please use it.
caution!
The RSI and MACD values are changed to display the same ratio.
Therefore, please see the values for reference only.
Only the line should be noted.
When using it, enter an appropriate value in "adjustment ratio" and match the RSI ratio with the MACD ratio.
Let's have a good trade life.
Vertex EMA StrategyRecently found an article sharing an EMA strategy written by Vertex. I copied a majority of the Long conditions into code here with some visual aid.
Essentially, watch for a the 8 EMA to be greater than the 21 EMA, and all the EMA's to be spread apart. Then get your trigger bar from a retracement from the 8 bar EMA. Stop on the lowest low of the past 5 bars, or on EMA 8 crossunder EMA 21.
This is intended to only be used on a 1h chart.
This was made for a friend.
Disclaimer : Please do your own research before making any decisions financially. I am not your financial advisor.
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-EDT "EMA DEMA TEMA" [DM]Greetings to all colleagues
Today I share a MACD with the EMA , DEMA , TEMA variants.
The aim is that they can see how the signals vary from a normal MACD to one with the averages created by Patrick Mulloy (1994)
Variables of this MACD:
EMA = Exponential Moving Average
DEMA = Double Exponential Moving Average
TOPIC = Triple Exponential Moving Average
He also has in the arsenal:
SMA Simple Moving Average
WMA Weighted Moving Average
Plus...:
Volume-weighted variant in all of them
Visual options:
Points at the crossroads
Shadows on the body of the signals
All colors are customizable
Histogram and shadow are gradients at 15 steps
It has switches for:
Shadow
Histogram
Macd and signal
Crosses
Some minor details remain to be incorporated in the next few days.
Pre-cross calculation.
Alerts
Bar color
Enjoy!!! ;-)
CDC DivergencesA handy little indicator to help identify different kinds of convergences/divergences
The indicator compares price movements with the momentum and volume movements, Hidden divergences are left out, at least in the first version, because I wanted this indicator to be as simple as possible.
The divergences are shown with labels, user can change the momentum/volume indicator used to identify divergences in the settings.
MACD EMA (by WJ)NOTE:
// MACD AND EMA CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT
MACD EMA:
Bar colour and background colour
Buy signal shows when MACD does crossover below 0 line while above EMA (default 200)
Sell signal shows when MACD does crossover above 0 line while below EMA (default 200)
Alert notifications included
MACD PlusMoving Average Convergence Divergence – MACD
The MACD is an extremely popular indicator used in technical analysis. It can be used to identify aspects of a security's overall trend. Most notably these aspects are momentum, as well as trend direction and duration. What makes the MACD so informative is that it is actually the combination of two different types of indicators. First, the MACD employs two Moving Averages of varying lengths (which are lagging indicators) to identify trend direction and duration. Then, it 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.
Added Color Plots to Settings Pane.
Switched MTF Logic to turn ON/OFF automatically w/ TradingView's Built in Feature.
Added Ability to Turn ON/OFF Show MacD & Signal Line.
Added Ability to Turn ON/OFF Show Histogram.
Added Ability to Change MACD Line Colors Based on Trend.
Added Ability to Highlight Price Bars Based on Trend.
Added Alerts to Settings Pane.
Customized Alerts to Show Symbol, TimeFrame, Closing Price, MACD Crosses Up & MACD Crosses Down Signals in Alert.
Alerts are Pre-Set to only Alert on Bar Close.
Added ability to show Dots when MACD Crosses.
Added Ability to Change Plot Widths in Settings Pane.
Added in Alert Feature where Cross Up if above 0 or cross down if below 0 (OFF By Default).
Squeeze Pro
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In this version, I've given the freedom to change this and try out different types of moving averages.
The original squeeze indicator had only one Squeeze setting, though this new one has three.
The gray dot Squeeze, call it a "low squeeze" or an "early squeeze" - this is the easiest Squeeze to form based on its settings.
The orange dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze, call it a "high squeeze" or "power squeeze" - is the most difficult to form and suggests price is under extreme levels of compression.
Colored Directional Movement Index (CDMI) , a custom interpretation of J. Welles Wilder’s Directional Movement Index (DMI), where :
DMI is a collection of three separate indicators ( ADX , +DI , -DI ) combined into one and measures the trend’s strength as well as its direction
CDMI is a custom interpretation of DMI which presents ( ADX , +DI , -DI ) with a color scale - representing the trend’s strength, color density - representing momentum/slope of the trend’s strength, and triangle up/down shapes - representing the trend’s direction. CDMI provides all the information in a single line with colored triangle shapes plotted on the bottom. DMI can provide quality information and even trading signals but it is not an easy indicator to master, whereus CDMI simplifies its usage. The CDMI adds additional insight of verifying/confirming the trend as well as its strength
Label :
Displaying the trend strength and direction
Displaying adx and di+/di- values
Displaying adx's momentum (growing or falling)
Where tooltip label describes "howto read colored dmi line"
Ability to display historical values of DMI readings displayed in the label.
Added "Expert Trend Locator - XTL"
The XTL was developed by Tom Joseph (in his book Applying Technical Analysis ) to identify major trends, similar to Elliott Wave 3 type swings.
Blue bars are bullish and indicate a potential upwards impulse.
Red bars are bearish and indicate a potential downwards impulse.
White bars indicate no trend is detected at the moment.
Added "Williams Vix Fix" signal. The Vix is one of the most reliable indicators in history for finding market bottoms. The Williams Vix Fix is simply a code from Larry Williams creating almost identical results for creating the same ability the Vix has to all assets.
The VIX has always been much better at signaling bottoms than tops. Simple reason is when market falls retail traders panic and increase volatility , and professionals come in and capitalize on the situation. At market tops there is no one panicking... just liquidity drying up.
The FE green triangles are "Filtered Entries"
The AE green triangles are "Aggressive Filtered Entries"
Pythagorean Moving Averages (and more)When you think of the question "take the mean of this dataset", you'd normally think of using the arithmetic mean because usually the norm is equal to 1; however, there are an infinite number of other types of means depending on the function norm (p).
Pythagoras' is credited for the main types of means: his harmonic mean, his geometric mean, and his arithmetic mean:
Harmonic Average (p = -1):
- Take the reciprocal of all the numbers in the dataset, add them all together, divide by the amount of numbers added together, then take the reciprocal of the final answer.
Geometric Average (p = 0):
- Multiply all the numbers in the dataset, then take the nth root where n is equal to the amount of number you multiplied together.
Arithmetic Mean (p = 1):
- Add all the numbers in the dataset, then divide by the amount of numbers you added by.
A couple other means included in this script were the quadratic mean (p = 2) and the cubic mean (p = 3).
Quadratic Mean (p = 2):
- Square every number in the dataset, then divide by the amount of numbers your added by, then take the square root.
Cubic Mean (p = 3):
- Cube every number in the dataset, then divide by the amount of numbers you added by, then take the cube root.
There are an infinite number of means for every scenario of p, but they begin to follow a pattern after p = 3.
Read more:
www.cs.uni.edu
en.wikipedia.org
en.wikipedia.org
Note : I added the functions for the quadratic mean and cubic mean, but since market charts don't have those types of graphs, the functions don't usually work. It's the same reason why sometimes you'll see the harmonic average not working.
Disclaimer : This is not financial or mathematical advice, please look for someone certified before making any decisions.
MACD AdvancedHello traders!
As you know, MACD is one of the oldest and the most popular indicators for trading. It seems to be a «Hello world indicator» of most technical analysis beginners. It’s easy to interpret and rather useful for many styles of trading. There are many arguments about its accuracy but in my opinion, this indicator can show very good results. However, you should squeeze every drop of its opportunities and we'll help you with it. We invented this script to make the lives of both professionals and freshmen easier.
Our new indicator uses all the opportunities that MACD gives. It takes into consideration divergencies, crossovers, the MACD, and signal line location. It seems to be rather difficult to take into consideration all MACD signals when you don’t use algorithmic trading, but it’ll be trivial using our script. We have integrated some innovations that’ll make traders’ staff easier. As you know, the crossover is considered to be a false signal in conjunction with hidden divergence which predicts another movement. Thus, we catch all types of divergencies and if it’s hidden of another «value» we skip it. However, if there's a crossover with bullish divergence or cross under with bearish, the signal seems to be strong and accurate. In this case, divergence is playing for us and makes the point of entrance more trustable. Our script takes into consideration this case and the innovative divergence chaser doesn’t give any mistakes. Moreover, if crossover takes place above zero line and crosses under bellow it, these signals are considered to be false too. It’s a trivial task comparing with the previous, thus it’s extremely simple for our script. We called it MACD Advanced cause it uses all the power of MACD with the power of invasive divergence chasers. The usage of it is trivial. Just add it to the chart, tune the parameters like MACD and tune the divergence chaser and get very accurate signals. We decided not to draw the bars to make signals more visible. It seems to be very nice!
I hope guys you'll enjoy it and it'll become a part of your trading staff.
MACD + BB + RSI Strategy [Alorse]A very simple and highly effective strategy that combines 3 famous indicators:
MACD
Bollinger Bands
RSI
Entry conditions are:
The MACD line crosses over the signal line.
RSI less than 50
Price below the BB baseline
Exit conditions are:
RSI greater than 70
Closing price higher than the upper BB
Or when the price hits the Stop Loss defined by you (Feature).
MACD Linear Regression by zdmreBoth the Moving Average Convergence Divergence (MACD) and the Linear Regression (LR) rank among the most popular momentum indicators used in trading. When used in combination with other technical indicators, both MACD and LR can offer value in validating trade opportunities to optimize your risk management practices.
While they represent a similar approach to evaluating trades, the functions of both MACD and LR are distinct, which makes them useful indicators to combine in trade evaluation. Here’s a look at how to use MACD and LR as part of your trade analysis.
***Use it at your own risk
If you have new ideas to improve this indicator then let me know please.
Keep Learning, Keep Earning
Momentum-based ZigZag (incl. QQE) NON-REPAINTINGI spent a lot of time searching for the best ZigZag indicator. Difficulty with all of them is that they are always betting on some pre-defined rules which identify or confirm pivot points. Usually it is time factor - pivot point gets confirmed after a particular number of candles. This methodology is probably the best when market is moving relatively slow, but when price starts chopping up and down, there is no way the ZigZag follows accurately. On the other hand if you set it too tight (for example pivot confirmation after only 2 or even 1 candle), you will get hundreds of zigzag lines and they will tell you nothing.
My point of view is to follow the market. If it has reversed, then it has reversed, and there is no need to wait pre-defined number of candles for the confirmation. Such reversals will always be visible on momentum indicators, such as the most popular MACD. But a single-line moving average can be also good enough to notice reversals. Or my favourite one - QQE, which I borrowed (and improved) from JustUncleL, who borrowed it from Glaz, who borrowed it from... I don't even know where Quantitative Qualitative Estimation originates from. Thanks to all these guys for their input and code.
So whichever momentum indicator you choose - yes, there is a pick-your-poison-type selector as in in-famous Moving Average indicators - once it reverses, a highest (or lowest) point from the impulse is caught and ZigZag gets printed.
One thing I need to emphasize. This indicator DOES NOT REPAINT. It might look like the lines are a bit delayed, especially when compared to all the other ZigZag indicators on TradingView, but they are actually TRUE. There is a value in this - my indicator prints pivot points and Zigzag exactly on the moment they have been noticed, not earlier faking to be faster than they could be.
As a bonus, the indicator marks which impulse had strength in it. It is very nice to see a progressing impulse, but without force - a very likely that reversal on a bigger move is happening.
I'm about to publish some more scripts based on this ZigZag algo, so follow me on TradingView to get notified.
Enjoy!
EMA+MACDA simple script using EMA 25 and EMA 50 with MACD. Enter long when EMA 25 crossover ema 50 and MACD line > 0, enter short when EMA 50 crossover ema 25 and MACD < 0
indreajit mukherjee strategythis indicator is based on indreajit mukherjee .one of my friend suggest me to code this indicator... he found this indicator on youtube channel
rule of this strategy is simple when cm_ultimate_mtf color change into green and macd 4c > 0 then open a buy trade in 1 hour or 1 day chart.. for sell trade when cm_ultimate_mtf is showing red candle and macd 4c <0 open a sell trade ..will suggest test before take trade real account i will not be responsible for any loss.
i use cm_ultimate_mtf code of ChrishMoody and macd4c by vkn0422 special thanks to them
Full Crypto Swing Strategy ALMA Cross with MACDThis is a full crypto swing strategy designed.
From my testing it looks like it perform the best on timeframes 4h +.
The below example has been adapted to BNB/USDT, using the entire period since 2017 until present day, with a comission of 0.03% ( which is the comission for the futures on binance).
Its components are :
ALMA Fast
ALMA Slow
MACD Histogram
Rules for entry
For long, we have a crossover of the fast alma with the slow one and the histogram is ascending.
For short, we have a crossunder of the fast alma with the slow one and the histogram is descending.
Rules for exit
We exit based on a risk management system for TP and SL, or when we receive an opposite condition than the initial one.
Regarding risk management
0.05 = 5% movement
2 = 200% movement
0.001 = 0.1% movement
If you have any questions, let me know !
MACD PRO by LDZ1LANDZZ1 MACD Pro was developed to show the first signs of reversal, direction, and also trend strength.
Unlike normal MACD, this indicator has 3 lines as information. A white line (short EMA), a purple line (sign), and a yellow line (long EMA).
The Purple Line "Signal" is a 17-period Exponential Moving Average.
The White Line "Short EMA" is a 34-period Exponential Moving Average.
The Yellow Line "Long EMA" is a 72-Period Exponential Moving Average.
When the background color turns green it indicates that we are above 0 (positive trend) and above the Signal line (positive trend)
When the background color turns Yellow it indicates that we are above 0 (positive trend) but below the Signal line (Indicating Attention to a possible trend reversal or price correction)
When the background color turns Red it indicates that we are below 0 (negative trend) and below the Signal line (negative trend)
When the background color turns Orange it indicates that we are below 0 (negative trend) and above the signal line (Indicating attention to a possible trend reversal or price correction)
The Yellow line is like a watershed, when the White Line "Short EMA" crosses above or below it, it indicates that a stronger price movement may occur.
Tip:
Only enter Long Positions when the background color turns green and the Short EMA (White line) is above the yellow line and/or the white dotted horizontal line.
Only enter Short Positions when the background color turns red and the Long EMA (Yellow line) is below the white dotted horizontal line.
Note the difference of MACD Pro by LANDZZ1 as the traditional MACD.
----------------------------------------------------------
Description in Portuguese-BR
MACD Pro by LANDZZ1 foi desenvolvido para mostrar os primeiros sinais de reversão, direção e também força da tendência.
Diferente do MACD normal, este indicador tem como informação 3 linhas. Uma linha branca (short EMA), uma linha roxa(signal) e uma linha amarela (long EMA).
A Linha Roxa "Signal" é uma Média Móvel Exponencial de 17 períodos.
A Linha branca "Short EMA" é uma Média Móvel Exponencial de 34 períodos.
A Linha Amarela "Long EMA" é uma Média Móvel Exponencial de 72 Períodos.
Quando a cor de fundo ficar verde indica que estamos acima de 0 (tendência positiva) e acima da linha de Sinal (tendência positiva)
Quando a cor de fundo ficar Amarelo indica que estamos acima de 0 (tendência positiva) porém abaixo da linha de Sinal (Indicando Atenção a uma possível reversão de tendência ou correção de preço)
Quando a cor de fundo ficar vermelho indica que estamos abaixo de 0 (tendência negativa) e abaixo da linha de Sinal (tendência negativa)
Quando a cor de fundo ficar laranja indica que estamos abaixo de 0 (tendência negativa) e acima da linha de sinal (Indicando atenção a uma possível reversão de tendência ou correção do preço)
A linha amarela é como um divisor de águas, quando a linha branca (Short EMA) cruza para cima ou para baixo dela, indica que um movimento mais forte forte de preço poderá ocorrer.
Dica:
Apenas entre em Long Positions quando a cor de fundo ficar verde e se a Short EMA (linha Branca) estiver acima da linha amarela e/ou da linha horizontal pontilhada branca.
Apenas entre em Short Positions quando a cor de fundo ficar Vermelha e se a Long EMA (linha Amarela) estiver abaixo da linha horizontal pontilhada branca.
Repare a diferença do MACD Pro by LANDZZ1 como o MACD tradicional.