SBS AlgoHello traders, I am here again with a new and improved indicator.
This indicator is based on a pivot breakout algorithm which gives buy and sell signals according to the breakout of trendline. This is an advanced version of another script. It also takes price action into consideration along with some basic indicators like MACD and ADX to give good entry signals.
NOTE: This indicator is not designed to take entries completely based on signals it gives. Please use it along with your trading strategy to add more confluence to your trading system and maximize your profits.
I hope you guys will like this one too .Enjoy 👍
In case you find any bug, please do report in comment section .Thank you.
Cerca negli script per "macd"
[blackcat] L3 MACD plus CandlesLevel: 3
Background
Many people need to judge the market trend against the main candlestick chart when using MACD.
Function
First of all, the principle of MACD is the difference between EMA's long-term and short-term values. So, I wonder if it is possible to use EMA to construct a set of candle charts that are similar in proportion to MACD values for overlapping comparisons? Because this can greatly facilitate traders to make quick trend judgments. So I used the 3-8 lines of EMA to simulate the KD of KDJ, constructed a set of candle charts, and generated buying and selling points through conditional constraints. Do you like this MACD + Candlestick chart?
Inputs
N/A
Key Signal
Traditional MACD output signal
Candlesticks
Near Top --> Top is reached and reversal may happen soon. (fuchsia labels)
Near Bottom --> Bottom is reached and reversal may happen soon. (yellow labels)
Remarks
This is a Level 3 free and open source indicator.
Feedbacks are appreciated.
Price Acceleration Convergence Divergence [PACD]this indicator plots the acceleration of the price using the derivatives of RSI. Data is plotted just like the MACD. use this indicator like the MACD. enjoy
Multi Oscillator Divergence IndicatorTradingview Built-in Divergence Indicator with RSI is extended for Price Divergence with
- RSI
- MACD
- Sochastic
- Money Flow
- Demand Index
- Chaikin Money Flow
Thanks to tradingview for providing this unique indicator.
RSMACDDefault MACD formula filtered by an RSCD, a Relative Strength Index midpoint transpose over a 21 length moving average.
Checking both filters the MACD with the RSCD.
Checking only the MACD plots only the MACD.
Checking only the RSCD plots only the RSCD.
Indicators: KaseCD & Kase Peak OscillatorI have included ports of 2 indicators from MT4 (not from the original commercial source). I couldn't cross check if these matched their commercial equivalents (you need to assume they don't!). If you own any of these in other platforms, appreciate if you could publish some comparison results here.
Kase Peak Oscillator is the difference between two trend measurements, one for rising markets and the other for falling markets. KCD is the PeakOsc minus its own average. So, KPO takes the place of a traditional oscillator and the KCD takes place of the traditional MACD.
Ms.Kase claims KCD is far more accurate than MACD.
More info:
- www.kaseco.com
- beathespread.com
Let me know if you have experience with the original indicators and are willing to help improve these clones. Thanks.
Trampoline DotsTrampoline Dots (Price Divergence)
Higher Time Frame Price Divergence:
Trampoline Dots serve as a "quick bounce" tool. These little dots will trigger whenever the higher aggregation MACD is above / below zero and the price is below / above the 50 period simple moving average. When these criteria are met, the price is usually under pressure of strong divergence, more often than not price will sharply reverse into the trend direction usually within the next few bars.
The Use of The Trampoline Dots:
This indicator can serve multiple ways. Obviously the main use case is the price divergence. These "dots" will not give you any precise & exact entry. But rather a zone of possible incoming reversal. There is no timing to it. All these dots will do is warn you about potential sharp reversal in the upcoming bars. It can be used by itself alone for sure, but the best way to utilize the dots is to use them in combination of other trend or momentum studies. The best signals are the ones that are within the larger time frame trend. Another great thing is that the visuals are really straight-forward and simple. It is either green dot or a red dot. Nothing more, nothing less. Also since the indicator is pretty small, it can be easily layered onto other studies as well which can create an additional confirmation for different patterns or setups.
Which Time Frame Are Reliable?
This indicator works on any time frame. But the most "stable" one is the daily & hourly time frame. My personal favorite is the hourly since these divergences can produce amazing entries in the daily trends (which are usually hidden on the daily chart). In the most aggresive trends, I like to see the green dots triggering around the 8 EMA and 13 EMA. Daily chart can show the daily and weekly (big divergences) that can take multiple days & weeks to resolve.
Hope it helps.
Super 8 - 30M BTCWelcome to Super 8, the ultimate automatic trading script for Pine!
This bad boy is designed to go both long and short, and it's equipped with all the tools you need to maximize your profits. Whether you're looking to take profit, set a trailing stop, or protect yourself with a stop loss, Super 8 has you covered.
But that's not all! Super 8 is also loaded with 8 powerful indicators to help you make informed decisions. We've got the EMA, ADX, SAR, MACD, VOLUME, BOLLINGER BANDS, DONCHIAN, and ATR all working together to give you the best possible trading experience.
And if you want to take it to the next level, Super 8 also has a feature that lets you use stepped entries in normal mode or incremental 1,2,3,... to improve your average price. Plus, if you're using trailing stop, you can activate the Backtest precision to use lower timeframes.
But what's in a name? Super 8 is called that because it's just that... super! It's tailored specifically for the OKX:BTCUSDT.P pair, so you know you're getting the best possible results. it's highly adjustable and can be used with any other pair. So no matter what market you're trading in, Super 8 has got you covered.
So if you want to level up your trading game, give Super 8 a try. You won't be disappointed.
Certain Risks of Live Algorithmic Trading:
Backtesting Cannot Assure Actual Results.
The relevant market might fail or behave unexpectedly.
Your broker may experience failures in its infrastructure, fail to execute your orders in a correct or timely fashion or reject your orders.
The system you use for generating trading orders, communicating those orders to your broker, and receiving queries and trading results from your broker may fail.
Time lag at various point in live trading might cause unexpected behavior.
The systems of third parties in addition to those of the provider from which we obtain various services, your broker, and the applicable securities market may fail or malfunction.
SQueezeVergenceThis is my SQueezeVergence indicator. It fires Buy and Sell signals based on squeeze momentum and trend. **It also creates Bull and Bear signals based on MACD divergence which should only be used as areas of support and resistance being as these signals repaint based on a 5 candle look back of pivots.** All settings are editable for better use. The default settings are what I use on the 1 Minute chart of ES to scalp. This is a simple indicator to help me get alerts on when I need to scalp. The divergence signals work well for areas of significance. I like to watch for breaks of these levels along with support and resistance. I hope this helps.
Swing High/Low Indicator w/ MACD and HTF EMA'sSwing High/Low Indicator w/ MACD and EMA Confirmations by KaizenTraderB
I designed this indicator to be used with a market structure break strategy.
It labels swing highs and lows that are confirmed by the MACD.
It also displays a higher timeframe Fast and Slow EMA to determine directional bias.
Also provides alerts that signal Swing Low breaks in downtrends and Swing High Breaks in uptrends.
It draws a horizontal line on the last Swing High and Low.
Display this indicator on your entry timeframe and choose your Higher Timeframe in settings.
You can also change lookback period for Swing Highs and Lows and EMA's.
When I use this I am looking for the Swing High/Low break in direction of HTF Trend
Then look for pullback between price level of break and areas of liquidity (wicks, order blocks, price congestion) for entry in direction of EMA trend.
Price Acceleration Convergence Divergence V2This is a fork of the previous PACD indicator i made by working out the RSI another two times. it works the exact same but is more leading in trend reversals and divergences.
this indicator plots 4x the RSI of the RSI of the price using the derivatives of RSI. Data is plotted just like the MACD.
points 5 and -5 are very strong support/resistance points and should be very important points to take note of.
use this indicator like the MACD essentially with the assistance of a 4x RSI momentum. enjoy
Sonic R + Linear Reg + Kumo Cloud + Barcolor MACDSoni R with Linear Reg + Kumo CLoud + Barclolor MACD:
Buy or Sell signal, stoploss and take profit with 3:1 RR don't close when appear signal close.
When barcolor is red, don't buy, and when it is green, don't sell.
Enjoy, and goodluck!
Sr for bad english.
MAC-Z Indicator [LazyBear]This indicator is a composite of MACD and Z-Score (requested by @ChartAt). The general idea is that counter-trend component of the Z-score is used to adjust/improve the trend component of the MACD. The advantage is that it is a more accurate and “assumption-free” and can more accurately describe how a market or stock actually works in a given time frame.
I have also added support to smooth out the MAC-Z using Laguerre filter (Thanks @TheLark for the excellent LMA). Note that smoothing removes the "noise" component additive of Z-Score, so you may miss some good signals. By default Laguerre smoothing is OFF, I suggest playing with the Gamma to see if you can find a proper trade-off value.
Theme credits --> @liw0
More info:
cssanalytics.wordpress.com
TheLark: Laguerre PPOA while ago I posted a more flexible MACD, known as PPO (See that post for details).
Yesterday I had a request by @ChartArt for a Laguerre MACD. Since I favor PPO to MACD, here it is!
Completely untested, and not at all price fit. Play with the numbers and leave a comment if you come up with an interesting combination or idea ;)
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!
Blockchain Fundamentals - MCCD - Miner Capitulation Conv/Div🔗Blockchain Fundamentals - MCCD - Miner Capitulation & Convergence Divergence
(a.k.a. Hash Ribbons)
Intro
Miner Capitulation has been talked about alot recently in the news and on twitter. I wanted to join the in fun and add my own spin on things.
Description
This shows the 30 (yellow) and 60 (orange) day moving average of the hash rate of bitcoin. I added an option to show the convergence/divergence of the two moving averages in a visual manner similar to the MACD.
I also added the ability to select both the length and type of MA used in the calculation of the capitulation so you can experiment.
Other additions include bar coloration by trade state, and background highlighting of capitulation periods.
Editable Capitulation/Recovery plots will show clearly when the crosses happen.
The way to replicate my display is to add the indicator twice below the chart and combine in the same pane. First indicator displays the averages by default. The second one you enable convergence/divergence display option and uncheck the rest.
Last I add the indicator one more time and dragged it on chart. Do not combine the scales into one, of else it will ruin the scale (you want them separate scales). Its just showing you possibilities, use whatever works for you!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 73rd script on Tradingview!
💬Check my Signature for other information
ORB - Alerts, VWAP and MACD Checks, Extended Fib Levels
ORB Range Alerter with Shading, VWAP Check, MACD Check, and Extended Fibonacci Levels for TP – Fully Customizable
This indicator is designed to give you a comprehensive analysis of the Opening Range Breakout (ORB) combined with advanced conditions based on VWAP and MACD indicators, along with Extended Fibonacci Levels for both long and short TP positions.
Key Features:
Opening Range Breakout (ORB):
Defines the opening range at the market open (9:30 AM by default) based on your chart timeframe and shades it for visibility.
The high and low of the first candle after the open are plotted on the chart, creating a breakout range that traders can use to identify potential long or short positions.
VWAP Condition (Optional):
This indicator includes the option to enforce the VWAP (Volume-Weighted Average Price) as a condition for entering trades.
- Longs will only trigger if the price is above VWAP (when enabled).
- Shorts will only trigger if the price is below VWAP (when enabled).
Customizable : You can enable or disable the VWAP condition through a simple checkbox in the indicator’s settings.
MACD Condition (Optional):
Includes an optional MACD (Moving Average Convergence Divergence) condition.
- Longs will only trigger if the MACD line is above 0 and the signal line, providing confirmation of bullish momentum.
- Shorts will only trigger if the MACD line is below 0 and the signal line, indicating bearish momentum.
Customizable : You can enable or disable the MACD condition through a checkbox in the indicator’s settings, allowing you to trade with or without the MACD confirmation.
Fibonacci Extensions for Profit Targets:
Automatically calculates Fibonacci extension levels based on the ORB range for TP levels.
These levels provide key areas for potential profit-taking or reversal points.
Fibonacci extensions are plotted only after a confirmed breakout, either long or short.
The extensions include 127.2%, 161.8%, 200%, 261.8%, 423.6%, and 685.4%, offering a comprehensive set of targets for different trading strategies.
Shading of ORB Range:
The ORB high and low are visually emphasized on the chart with a shaded area for easy identification.
The shading is semi-transparent to help keep your chart clean and easy to read.
Customizable Timeframe:
The ORB range is defined based on the time of day (default is 9:30 AM to 4:00 PM), but you can adjust the timeframe to suit different trading sessions or markets.
Alerts for Breakouts:
Built-in alerts notify you when price crosses above or below the ORB high or low, along with the optional VWAP and MACD conditions.
Alerts can be used to create automated notifications or even execute automated trades based on your chosen settings.
How to Use:
Long Trade Example: When the price crosses above the ORB high, VWAP is above the price, and MACD shows bullish momentum (if these conditions are enabled), a potential long entry is triggered. You can use the Fibonacci extensions for profit targets.
Short Trade Example: When the price crosses below the ORB low, VWAP is below the price, and MACD confirms bearish momentum (if these conditions are enabled), a short entry is triggered. Fibonacci levels for the short position can guide your exit strategy.
Flexibility: You can enable or disable both VWAP and MACD conditions based on your trading style. This flexibility allows the indicator to adapt to different market conditions and strategies.
Customization Options:
Enable/Disable VWAP Condition: Decide if you want to include VWAP as a trade filter.
Enable/Disable MACD Condition: Choose whether to require MACD as confirmation for trade entries.
Adjust ORB Timeframe: Customize the time range for defining the ORB based on the market you're trading.
Fibonacci Extensions: Visualize key profit targets using Fibonacci extensions, which are automatically calculated and displayed after a breakout.
RSI Trend Following StrategyOverview
The RSI Trend Following Strategy utilizes Relative Strength Index (RSI) to enter the trade for the potential trend continuation. It uses Stochastic indicator to check is the price is not in overbought territory and the MACD to measure the current price momentum. Moreover, it uses the 200-period EMA to filter the counter trend trades with the higher probability. The strategy opens only long trades.
Unique Features
Dynamic stop-loss system: Instead of fixed stop-loss level strategy utilizes average true range (ATR) multiplied by user given number subtracted from the position entry price as a dynamic stop loss level.
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Two layers trade filtering system: Strategy utilizes MACD and Stochastic indicators measure the current momentum and overbought condition and use 200-period EMA to filter trades against major trend.
Trailing take profit level: After reaching the trailing profit activation level script activates the trailing of long trade using EMA. More information in methodology.
Wide opportunities for strategy optimization: Flexible strategy settings allows users to optimize the strategy entries and exits for chosen trading pair and time frame.
Methodology
The strategy opens long trade when the following price met the conditions:
RSI is above 50 level.
MACD line shall be above the signal line
Both lines of Stochastic shall be not higher than 80 (overbought territory)
Candle’s low shall be above the 200 period EMA
When long trade is executed, strategy set the stop-loss level at the price ATR multiplied by user-given value below the entry price. This level is recalculated on every next candle close, adjusting to the current market volatility.
At the same time strategy set up the trailing stop validation level. When the price crosses the level equals entry price plus ATR multiplied by user-given value script starts to trail the price with trailing EMA(by default = 20 period). If price closes below EMA long trade is closed. When the trailing starts, script prints the label “Trailing Activated”.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.75)
ATR Trailing Profit Activation Level (by default = 2.25)
MACD Fast Length (by default = 12, period of averaging fast MACD line)
MACD Fast Length (by default = 26, period of averaging slow MACD line)
MACD Signal Smoothing (by default = 9, period of smoothing MACD signal line)
Oscillator MA Type (by default = EMA, available options: SMA, EMA)
Signal Line MA Type (by default = EMA, available options: SMA, EMA)
RSI Length (by default = 14, period for RSI calculation)
Trailing EMA Length (by default = 20, period for EMA, which shall be broken close the trade after trailing profit activation)
Justification of Methodology
This trading strategy is designed to leverage a combination of technical indicators—Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Stochastic Oscillator, and the 200-period Exponential Moving Average (EMA)—to determine optimal entry points for long trades. Additionally, the strategy uses the Average True Range (ATR) for dynamic risk management to adapt to varying market conditions. Let's look in details for which purpose each indicator is used for and why it is used in this combination.
Relative Strength Index (RSI) is a momentum indicator used in technical analysis to measure the speed and change of price movements in a financial market. It helps traders identify whether an asset is potentially overbought (overvalued) or oversold (undervalued), which can indicate a potential reversal or continuation of the current trend.
How RSI Works? RSI tracks the strength of recent price changes. It compares the average gains and losses over a specific period (usually 14 periods) to assess the momentum of an asset. Average gain is the average of all positive price changes over the chosen period. It reflects how much the price has typically increased during upward movements. Average loss is the average of all negative price changes over the same period. It reflects how much the price has typically decreased during downward movements.
RSI calculates these average gains and losses and compares them to create a value between 0 and 100. If the RSI value is above 70, the asset is generally considered overbought, meaning it might be due for a price correction or reversal downward. Conversely, if the RSI value is below 30, the asset is considered oversold, suggesting it could be poised for an upward reversal or recovery. RSI is a useful tool for traders to determine market conditions and make informed decisions about entering or exiting trades based on the perceived strength or weakness of an asset's price movements.
This strategy uses RSI as a short-term trend approximation. If RSI crosses over 50 it means that there is a high probability of short-term trend change from downtrend to uptrend. Therefore RSI above 50 is our first trend filter to look for a long position.
The MACD (Moving Average Convergence Divergence) is a popular momentum and trend-following indicator used in technical analysis. It helps traders identify changes in the strength, direction, momentum, and duration of a trend in an asset's price.
The MACD consists of three components:
MACD Line: This is the difference between a short-term Exponential Moving Average (EMA) and a long-term EMA, typically calculated as: MACD Line = 12 period EMA − 26 period EMA
Signal Line: This is a 9-period EMA of the MACD Line, which helps to identify buy or sell signals. When the MACD Line crosses above the Signal Line, it can be a bullish signal (suggesting a buy); when it crosses below, it can be a bearish signal (suggesting a sell).
Histogram: The histogram shows the difference between the MACD Line and the Signal Line, visually representing the momentum of the trend. Positive histogram values indicate increasing bullish momentum, while negative values indicate increasing bearish momentum.
This strategy uses MACD as a second short-term trend filter. When MACD line crossed over the signal line there is a high probability that uptrend has been started. Therefore MACD line above signal line is our additional short-term trend filter. In conjunction with RSI it decreases probability of following false trend change signals.
The Stochastic Indicator is a momentum oscillator that compares a security's closing price to its price range over a specific period. It's used to identify overbought and oversold conditions. The indicator ranges from 0 to 100, with readings above 80 indicating overbought conditions and readings below 20 indicating oversold conditions.
It consists of two lines:
%K: The main line, calculated using the formula (CurrentClose−LowestLow)/(HighestHigh−LowestLow)×100 . Highest and lowest price taken for 14 periods.
%D: A smoothed moving average of %K, often used as a signal line.
This strategy uses stochastic to define the overbought conditions. The logic here is the following: we want to avoid long trades in the overbought territory, because when indicator reaches it there is a high probability that the potential move is gonna be restricted.
The 200-period EMA is a widely recognized indicator for identifying the long-term trend direction. The strategy only trades in the direction of this primary trend to increase the probability of successful trades. For instance, when the price is above the 200 EMA, only long trades are considered, aligning with the overarching trend direction.
Therefore, strategy uses combination of RSI and MACD to increase the probability that price now is in short-term uptrend, Stochastic helps to avoid the trades in the overbought (>80) territory. To increase the probability of opening long trades in the direction of a main trend and avoid local bounces we use 200 period EMA.
ATR is used to adjust the strategy risk management to the current market volatility. If volatility is low, we don’t need the large stop loss to understand the there is a high probability that we made a mistake opening the trade. User can setup the settings ATR Stop Loss and ATR Trailing Profit Activation Level to realize his own risk to reward preferences, but the unique feature of a strategy is that after reaching trailing profit activation level strategy is trying to follow the trend until it is likely to be finished instead of using fixed risk management settings. It allows sometimes to be involved in the large movements.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.08.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 30%
Maximum Single Position Loss: -3.94%
Maximum Single Profit: +15.78%
Net Profit: +1359.21 USDT (+13.59%)
Total Trades: 111 (36.04% win rate)
Profit Factor: 1.413
Maximum Accumulated Loss: 625.02 USDT (-5.85%)
Average Profit per Trade: 12.25 USDT (+0.40%)
Average Trade Duration: 40 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 2h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
Leading MACDThe Moving Average Convergence Divergence (MACD) indicator is one of the most popular and versatile tools used by traders to identify potential buy and sell signals. It helps traders determine the strength and direction of a trend by comparing different moving averages of a security's price. The traditional MACD uses two exponential moving averages (EMAs), a fast EMA (typically 12 periods) and a slow EMA (typically 26 periods), along with a signal line (typically a 9-period EMA of the MACD line) to generate trading signals.
Our "Custom MACD with Leading Length" script for TradingView enhances the traditional MACD by introducing an additional smoothing factor called the "leading length." This customization aims to reduce noise and provide a potentially earlier indication of trend changes, making it a valuable tool for traders seeking to optimize their trading strategies.
- **Purpose:** This additional smoothing factor is designed to reduce noise and provide a potentially leading signal, enhancing the accuracy of trend identification.
## How It Works
1. **Calculate the MACD Line:**
The MACD line is calculated by subtracting the slow EMA from the fast EMA. This difference represents the convergence or divergence between the two EMAs.
2. **Calculate the Signal Line:**
The signal line is an EMA of the MACD line. This additional smoothing helps to generate clearer buy and sell signals based on crossovers with the MACD line.
3. **Calculate the Histogram:**
The histogram represents the difference between the MACD line and the signal line. It visually indicates the strength and direction of the trend. A positive histogram suggests a bullish trend, while a negative histogram indicates a bearish trend.
4. **Apply Leading Length Smoothing:**
To incorporate the leading length, the script applies a simple moving average (SMA) to both the MACD and signal lines using the leading length parameter. This additional smoothing helps to further reduce noise and potentially provides earlier signals of trend changes.
## Benefits of the Leading MACD
### Reduced Noise
The leading length parameter adds an extra layer of smoothing to the MACD and signal lines, helping to filter out market noise. This can be particularly beneficial in volatile markets, where frequent price fluctuations can generate false signals.
### Potential Early Signals
By smoothing the MACD and signal lines, the leading length can help to provide earlier indications of trend changes. This can give traders a potential edge in entering or exiting trades before the broader market reacts.
### Enhanced Trend Identification
The combination of the traditional MACD with the leading length smoothing can enhance the accuracy of trend identification. Traders can use this tool to confirm the strength and direction of trends, making it easier to make informed trading decisions.
### Versatility
The Custom MACD with Leading Length can be applied to various timeframes and asset classes, including stocks, forex, commodities, and cryptocurrencies. Its adaptability makes it a valuable tool for traders with different strategies and preferences.
## Practical Applications
### Buy Signal
A typical buy signal occurs when the MACD line crosses above the signal line. With the additional smoothing provided by the leading length, traders might receive this signal slightly earlier, allowing them to enter a long position sooner. This can be particularly advantageous in capturing the beginning of a bullish trend.
### Sell Signal
Conversely, a sell signal is generated when the MACD line crosses below the signal line. The leading length smoothing can help to provide this signal earlier, enabling traders to exit a long position or enter a short position before the trend reversal is fully recognized by the market.
### Divergence Analysis
Traders can also use the Custom MACD with Leading Length for divergence analysis. Bullish divergence occurs when the price makes a new low, but the MACD line forms a higher low. This suggests that the downward momentum is weakening, potentially leading to a bullish reversal. Bearish divergence is the opposite, where the price makes a new high, but the MACD line forms a lower high, indicating a potential bearish reversal.
### Confirmation Tool
The Custom MACD with Leading Length can be used in conjunction with other technical indicators to confirm trading signals. For example, traders might use it alongside support and resistance levels, trendlines, or other momentum indicators to validate their trade entries and exits.
## Conclusion
The Custom MACD with Leading Length is a powerful enhancement of the traditional MACD indicator. By introducing an additional smoothing factor, it aims to reduce noise and provide earlier signals of trend changes. This makes it a valuable tool for traders seeking to improve their market analysis and trading strategies.
Whether you are a day trader, swing trader, or long-term investor, the Custom MACD with Leading Length can help you make more informed decisions by offering clearer insights into market trends. Its adaptability to different timeframes and asset classes further enhances its utility, making it a versatile addition to any trader's toolkit.
Experiment with the parameters to find the optimal settings that suit your trading style and preferences. Use the Custom MACD with Leading Length to gain a deeper understanding of market dynamics and enhance your trading performance.
MAGIC MACDMAGIC MACD ( MACD Indicator with Trend Filter and EMA Crossover confirmation and Momentum). This MACD uses Default Trading view MACD
from Technical indicators library and adding a second MACD along with 3 EMA's to detect Trend and confirm MACD Signal.
Eliminates usage of 3different indicators (Default MACD , MACD-2,EMA5, EMA20, EMA50)
Basic IDEA.
Idea is to filter Histogram when price is above or below 50EMA. Similar to QQE -mod oscillator but Has a EMA Filter
1.Take DEFAULT MACD crossover signals with lower period
2.check with a Higher MACD Histogram.
3.Enter upon EMA crossover signal and Histogram confirmation.
Histogram changes to GRAY when price is below EMA 50 or above EMA 50 (Follows Trend)
4.Exit on next Default MACD crossover signal.
Overview :
Moving Average Convergence Divergence Indicator Popularly Known as MACD is widely used. MACD Usually generates a lots of False signals
and noise in Lower Time Frames, making it difficult to enter a trade in sideways market. Divergence is a major issue along with sideways
movement and tangling of MACD and Signal Lines. There is no way to confirm a Default MACD signal, except to switch time frames and
verify.
Magic MACD Can be used to in combination with other signals.
This MACD uses two MACD Signals to verify the signal given by Default MACD . The Histogram Plot shown is of a higher period
MACD (close,5,50,30) values. When a signal is generated on a lower MACD it is verified by the histogram with higher time period.
Technicals Used:
1. Lower MACD-1 values 12,26 and signal-9 (crossover Signals)
2. Higher MACD-2 values 5,50 and signal-30 (Histogram)
3. EMA 50 (Histogram Filter to allow only if price above or below Ema 50)
4. EMA 5 and EMA 20 for crossover confirmation of trend
What's is in this Indicator?
1.Histogram-(higher period 5,50 and 30signal)
2. MACD crossover Signals-(lower period Default MACD setting)
3.Signal Lines-( EMA 5 & 20)
Implemented & Removed in this Indicator
1. Default MACD and Signal Lines are removed completely
2. MACD crossover are taken on lower periods and plotted as signals(Blue Triangle or Red Triangle)
3. Histogram is plotted from a higher Period providing a clear picture with Higher Time period
4. EMA 5 and EMA 20 are used for MACD signal confirmation
How to use?
Up Signal
1. MACD Default (12,26,30) up signals are shown in Blue
2. Wait till the Histogram changes Blue
3. Look for EMA signals crossover near by
Down Signal
1. MACD Default (12,26,30) up signals are shown in Red
2. Wait till the Histogram changes Red
3. Look for EMA signals crossover near by
Do's
Consider only opposite color as signals
1. Red Triangle on Blue Histogram(likely to move down direction)
2. Blue Triangle on Red Histogram (Likely to move up direction)
Don'ts
1.Ignore Blue Signal on Blue Histogram (pull back signals can be used to enter trade if you miss first crossover)
2.Ignore Red Signal on Red Histogram(pull back signals can be used to enter trade if you miss first crossover)
3.Ignore Up and Down signals till Gray or Blacked out area is finished in Histogram
Tips:
1. EMA plot also shows pull back areas along with signals
2.side by side opposite signals shows sides ways movement
3. EMA 5,20 is plotted on MACD Histogram for Additional Benefit
Thanks & Credits
To Tradingview Team for allowing me to use their default MACD version and coding it in to a MAGIC MACD by adding a few lines of code that
makes it more enhanced.
Warning...!
This is purely for Educational purpose only. Not to be used as a stand alone indicator. Usage is at your own Risk. Please get familiar with its working before implementing. Its not a Financial Advice or Suggestion . Any losses or gains is at your own risk.
VOLUME WEIGHTED MACD V2 VWMACDV2 BY KIVANÇ fr3762Second version of Buff Dormeier's Volume Weighted MACD indicator....
Here in this version; Exponential Moving Averages used and Weighted by Volume instead of using only vwma ( Volume Weighted Moving Averages).
I personally asked Mr Dormeier, the developer of this indicator, and he confirmed this second version could be used.
I personally think that this one is more effective when comparing with the vwma version...
Volume Weighted MACD
Volume Weighted MACD (VW-MACD) was created by Buff Dormeier and described in his book Investing With Volume Analysis. It represents the convergence and divergence of volume-weighted price trends.
The inclusion of volume allows the VW-MACD to be generally more responsive and reliable than the traditional MACD .
What is MACD (Moving Average Convergence Divergence)?
Moving Average Convergence Divergence was created by Gerald Appel in 1979. Standard MACD plots the difference between a short term exponential average and a long term exponential average. When the difference (the MACD line) is positive and rising, it suggests prices trend is up. When the MACD line is negative, it suggests prices trend is down.
A smooth exponential average of this difference is calculated to form the MACD signal line. When the MACD line is above the MACD signal line, it illustrates that the momentum of MACD is rising. Likewise, when the MACD is below the MACD signal line, the momentum of the MACD falls. This difference between the MACD line and the MACD signal line is frequently plotted as a histogram to highlight the spread between the two lines.
What is the difference between MACD and VW-MACD?
Volume Weighted MACD is substituting the two exponential moving averages to compute the MACD difference with the two corresponding Volume-Weighted Moving Average . Thus, VW-MACD contrasts a volume-weighted short term trend from the volume-weighted longer term trend.
The signal line is left as an exponential moving average because VW-MACD line is already volume weighted.
Developer: Buff Dormeier @BuffDormeierWFA on twitter
Multifactor Buy/Sell Strategy V2 | RSI, MACD, ATR, EMA, Boll.BITGET:1INCHUSDT
This Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
### Input Parameters
The script includes multiple customizable parameters:
- RSI, EMA, MACD parameters — for setting periods and signals of MACD and RSI.
- ATR and Bollinger Bands — used for volatility analysis and level determination.
- Minimum Volatility Threshold — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility dataThis Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
Input Parameters
The script includes multiple customizable parameters:
- **RSI, EMA, MACD parameters** — for setting periods and signals of MACD and RSI.
- **ATR and Bollinger Bands** — used for volatility analysis and level determination.
- **Minimum Volatility Threshold** — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility
- Volatility Status — indicates high or low volatility.
- Bollinger Band Width — current width as a percentage.
- ATR Ratio — ratio of current ATR to long-term average ATR.
This script is suitable for trading in high-volatility conditions, combining multiple filters and factors to generate precise buy and sell signals.