Macd-h
Stochastic MTF IICombines Stochastics, RSI and MACD Histogram to give a complete picture of the momentum.
The main two lines are stochastics from the higher time frame(current time frame* 4).
The red columns are stochastic of macd histogram.
The green histogram is the stochastic rsi of price.
The dots at 50 line is the correlation between price and macd+rsi combo.
Awesome Oscillator & MACD Cross TacticOscillator for Tradingview based on MACD and Awesome Oscillator. This oscillator is designed to identify potential local growth or decline in prices as part of a trend movement.
For some ridiculous reason I am not allowed to attach screenshots of graphs and links on TradingView, so I hope that you will find my detailed instructions on my github page: github.com/samgozman/AO-MACD-cross-tradingview
[SK] Double MACDThe Double MACD indicator is precisely two different MACD indicators plotted on the same axis for precise visual correlation between each other.
This correlation provides more information than a single regular MACD by allowing you to compare the signals of a shorter timeframe to the default or longer timeframe,
showing the strength of the change in momentum and the peak of the momentum between both configurations.
The indicator has cloud options by default if you toggle on the MACD / Signal lines for better readability.
The cloud will change color to the line on top of it's set. This is to help you not get lost in the 4 different lines.
Customize the indicator to your preference and make it your own
If you'd like a candle like visualization, change the short MACD plot style to a histogram.
For a beautiful double bars style, select bars on both configurations and set the transparency to 30 - 40
For a dynamic moving average style, go with the line plot style ( default )
All MACD/Signal lines are toggled off by default, toggle them on in the inputs section.
On the styles panel, you can turn off the cloud fills or the lines.
Change all the colors you'd like!
MACD + RSIThis MACD indicator is equipped with RSI strength signal.
Purple circles will display on 0 line when RSI is above 50%.
The MACD signal lines and RSI strength signal can be changed based on your own preference.
Preset value for MACD is 18, 16 & 11.
Preset value for RSI strength signal is 50%.
Alert for MACD Golden Cross and MACD Death Cross are also included.
Buy if MACD Golden Cross occurred and RSI strength signal appeared.
Sell if RSI strength signal disappeared.
Notes: This indicator is a secondary indicator. Therefore, you shouldn't used it solely for trading.
SPY Ninja Oscillator
SPY Ninja Oscillator correlates the true strength index exponential moving averages of SPY (green) and VIX (red) together. In doing so we can determine the start of trend shifts via SPY / VIX convergence in addition to crossover, with potential market entries and exits represented by the vertical green and red bars.
MACD and RSI have been scaled proportionally to the oscillator range ( for rsi: (rsi-50)*. 01 , and for macd: macd /3) and when overlaid and used in conjunction with the market vertical entry and exit signals, potential trend prediction becomes much more apparent.
Stochastic with MACD filter + SL/TP + AlertsLong Arrow : close of the candle is above ema + Stochastic is oversold + MACD is below 0 + Stochastic cross up
Short Arrow : close of candle is below ema + Stochastic is overbought + MACD is above 0 + Stochastic cross down
Also added SL, 1:1 and TP where SL can be varied by ATR value and TP is set to 2:1 RR but it can be varied too.
It is not meant to take every single trade even though that might already be profitable.
For higher winrate look for the higher timeframe trend for example when trading the 15min look if the Daily 8ema is going up or down.
Also only take trades when there is either a hidden divergence on RSI or a smaller normal divergence.
The I take the normal divergenes alo when there is no higher high like an M or lower low for longs like a W these tend to work out pretty good too.
Alerts are in it too.
Have Fun :)
MacD Custom Indicator (updated to version 4)I updated existing script “ MacD Custom Indicator-Multiple Time Frame+All Available Options! ” originally created by ChrisMoody to Pine Script 4. version, so you can use it within your own strategy for algotrading or trading bots.
[FTA] Logarithmic MACD with Regular and Hidden DivergencesThis is a highly stable, volatility adaptive, Moving Average Convergence Divergence (MACD) that uses a modified calculation based on improved logarithmic measurements of the momentum.
1- This MACD provides the trader with most accurate detection of divergences, both regular and hidden ones, and shows them on the MACD Histogram.
2- Furthermore, the MACD/Signal divergences are also easily detectable (unlike the regular MACD which often does not provide accurate divergences; see the screenshot for comparison).
3- Finally, due to some different calculation methods, this MACD, unlike the regular MACD, is highly stable in higher time frames even in the most volatile markets (such as BTC, ETH, ADA, etc...) and thus can easily be utilized for the market prediction state in the crypto (see the screenshot for comparison).
Use it and let me know what you think about it in comparison to regular MACD!
Customizable Percentage Price Oscillator (PPO)The PPO is basically the MACD but in percentage terms. This is better for comparing momentum across different securities.
This script is a standard PPO but with many options for customization. You can set the moving average type of the signal and the oscillator lines separately. You can also weight any moving average of the PPO by volume.
Supported Types of MA:
SMA
EMA
ALMA
HMA
WMA
Personally, I believe weighting by volume is helpful across markets but especially helpful for equities. I like to use 3,10,16 settings similar to Linda Raschke but with EMA instead of SMA. This indicator is especially useful for signaling trend continuation and generating exit signals. For entries, I believe this indicator should not be blindly followed and works better when combined with a trend or price action signal.
If there are requests for more types of moving average to be used with the PPO, I would be down to implement them, but I believe most moving averages are pretty similar.
MACD BandsThis is MACD indicator on the price chart. You can read the same information as the original MACD but much more.
You can use it the same way as MACD but it won't use any space below your chart. Also you can use signal line and cloud as trend confirmation: e.g. if above them it can be a stronger uptrend.
The signal line (yellow by default) can be used as a support-resistance line.
If teal line is above maroon line, MACD is positive, otherwise it is negative
MACD value is the width of the cloud
Cloud color is green when MACD histogram is positive, red if negative
You can change MA types
MACD and histogram values can be seen in Data Window
Dominant Cycle Adaptive MACDThis Indicator is based on classic MACD but with an exceptional smoothing.
This smoothing eliminates the noise of the classic MACD as you see in the Chart
Adaptive MACD is compiled using with two adaptive moving averages, one adaptive to the dominant cycle and the other adaptive to twice the dominant cycle. As the basic behind the MACD is the difference of two moving averages we cannot find much difference between the conventional MACD (12, 26) and the adaptive MACD. However the adaptive MACD is less prone for less whipsaws and it catches the trends very well at the same time the catches the turning points in time. The Adaptive MACD is definite one notch better than the conventional MACD.
Dominant Cycle Period is calculated using Ehler's Method {Mentioned in the code}
This is how the Adaptiveness Impacts the Price Chart
1. (12, 26 EMA) VS Adaptive Dominant Cycle EMA
2. See how the Adaptive Lengths {both FastLength and SlowLength changes with time!}
Enjoy!
JamesCart's Feigenbaum Constant/Rate Of Change indicatorThis is an indicator that compares the rate of change as a proportion to the Feigenbaum Constant (The black line). The green line is a positive divergence from the rate of change, the red is a negative divergence from the rate of change. When the Red line is on top and the green line is on the bottom, then that is a bearish trend. When the Green is on top and the red is on bottom, that is a bullish trend. The black line also helps indicate a general bullish or bearish trend based on how it moves.
When the lines "open up" that means a trend is beginning, when the lines close that means the trend is ending. This indicator is a powerful leading indicator and needs sensitive eyes. Every small movement needs to be given consideration.
Volume Weighted MACD with Named PlotsLiterally just copied VWMACD but named the plot lines to make setting alerts more clear.
The WWG Plan Indicator V2█ OVERALL
This indicator was specifically created for the Walsh Wealth Group.
In short it is a fusion of some of the most basic and widely used indicators to show overbought patterns and trend reversals.
Its best usage is with LTF scalping and agressive profit taking but can also be used to find HTF dips and buy-zones.
█ FEATURES
Buy Signal (Buy):
Printed only with all confirmations triggered
Small Buy Signal (B1 & B2)
Printed if some of the confirmations are triggered and can be treated as DCA entries or for further
confirmation with other indicators and basic TA.
Crayons (Color Bars):
Blue: RSI is oversold
Olive: RSI and Stoch RSI are oversold
Yellow: RSI, Stoch RSI are oversold and lower Bollinger Bands are crossed by Low
Orange: RSI, Stoch RSI and CCI are oversold
Trailing SL:
If activated in the config, a trailing SL can be displayed on the chart based on ATR.
█ SETTINGS
The underlying indicators used are RSI, Stoch RSI, Bollinger Bands, MACD and CCI.
All possible configs can be changed in the config settings.
█ GENERAL INFORMATION
Depending on the settings, the indicator performance will be highly affected.
This indicator is only displaying highly oversold areas and events of trend reversal it is not a *God*-Signal and will print false positives.
█ ALERTS
An alert for the main buy-signal is implemented and can be used via the TV alert functionality.
EMA Cross and MACD Signal CombinedThe rule is simple.
When MACD crosses up, it is supposed to give a buy signal. However, before entering into a Long position, there is a need for a confirmation. This confirmation can be from a down trendline breakout or from another indicator.
In this case, I've chosen the Exponential Moving Average Cross to be as the confirmation.
The Buy Signal will appear when there it fulfills the following conditions:-
i. The MACD line is above the Signal Line
ii. The fast EMA crosses the Slow EMA
The Sell signal will appears when the opposite of the above condition is met.
This indicator is meant for the Swing Trader whom would like to hold a position for a long time.
MACD including 6-period Forecast and Divergences█ OVERVIEW
This is my personal interpretation of the classic MACD Indicator. I am using the MACD as part of my analysis, and often I was wondering when I can expect the next signal (e.g. a Histogram cross). As I had come across some EMA forecast logics on tradingview, my goal was to use the EMA forecast calculation as basis to come to a complete MACD forecast. Here is the result.
Starting point is the classic MACD which is then plotted with MACD-Line, Signal Line and Histogram. In addition to the classic MACD, a 6 period Forecast for MACD, Signal and Histogram is available and divergences can be displayed on either the Histogram or the MACD Line.
Important:
As I am considering the closing price of the current candle as the basis for the calculation, the forecast values will REPAINT. But in my opinion this is fine as this indicator will not provide direct trading signals, but more an outlook into a potential future.
█ CALCULATION LOGIC
Below some details regarding the additional functionalities:
MACD Forecast:
The MACD Forecast is mainly based on a combination of EMA Forecasts. The inspiration for this basic forecast calculation is taken from the below tradingview members:
--> EMA Forecast input taken from "Triple MA Forecast" by yatrader2
--> Forecast Bias input taken from "Fancy Bollinger Bands" by BigBitsIO
When showing the forecast, the following options are available:
- Forecast Type: Determines if the Forecast is assuming a Flat price (last values of the MA calculation are replaced by current value) or if a Linear Regression is taken
- Number of candles taken for Linear Regression Calculation
- Bias of Forecast (Based on the recent Average True Range, the forecast values are either more bullish or more bearish calculated. "Neutral" turns off this function)
- Number of ATR Periods used to calculate Bias adjustment value
- Possibility to weight the Bias via a Multiplier - Default value is 1
Based on the above inputs, the forecasted values for MACD, Signal Line and Histogram are calculated and plotted for the next 6 periods.
Divergence Detection:
Based on the default tradingview divergence script with some adjustments:
- User can select to use either Histogram or MACD Line as basis for Divergence detection (Histogram by default)
- User can select if Divergence detection should be based on the candles including Wicks or only the Candle Bodies (Wicks by default)
█ DISCLAIMER
This is an experimental indicator and I do not know if my theory works in real life. So treat this not as financial advise, but purely for entertainment and educational purposes.
I publish this code open so that everyone can re-use it or hopefully even improve it.
Let me know if you have any ideas for improvement and if it is within my coding capabilities (which to be honest are quite limited), I will try to accomodate it.
Have fun.
On Chart Reverse MACD HistogramThe On Chart Reverse MACD Histogram is a visual representational spin of the original MACD Histogram to assist the end-user in their decision making for entry, exit and risk management, as well as freeing up space for the chart.
The On Chart Reverse MACD Histogram, which very basically is a reverse engineered calculation of the MACD's Histogram gives the user a visual representation of the relationship between the current price and the MACD's Histogram on the chart instead of having to reference the MACD itself. At a glance this can then be used to visually see on the chart the closing price level needed in order to change the MACD's Histogram momentum either up or down.
Optional Settings Include:
-------------------------------
1.) Show/Hide Reverse MACD Histogram Momentum text
2.) Change the Reverse MACD Histogram Momentum information type (Basic/Detailed)
3.) Change the Reverse MACD Histogram Momentum text size
4.) Change the Reverse MACD Histogram Momentum text color
5.) Change the Reverse MACD Histogram Momentum text left margin
6.) Show/hide the Reverse MACD Histogram Momentum text currency
7.) Change the Reverse MACD Histogram Momentum text decimal value
8.) Show/hide the MACD Histogram Momentum Level
9.) Show the MACD Histogram Momentum Level As Columns *
* Please Note: When using the "Show Histogram Level As Columns" setting, in order to display this feature correctly without distorting the chart, click the ⚙️ (cog) icon in the bottom right corner of your chart and select the 'Scale Price Chart Only' option.
Better OBVOBV with William C. Garrett's Approximation
In the classical OBV (On-Balance Volume) indicator, it simply takes the idea from traditional tape reading - treat the "up tick" as Buy, "down tick" as Sell, and it assumes no change in price as neutral* (*which is not the case in tape reading).
When it comes to interpret the daily volume as such, errors will add up cumulatively. For example, there are days when a Doji Star with high volume just merely one cent higher than yesterday price and the whole day volume would be taken as a BUY Volume....
Here is a gentlemen, William C. Garrett, attempted to break down the daily volume into two parts in his book - "Torque Analysis of Stock Market Cycle".
Published indicator has two modes: Cumulative and Time Segmented. Time Segmented Volume (TSV) - performs a MACD operation on the Garrett Money Flow.
Note on Divergence:
When using a indicator as Time Segmented Money Flow, divergence would surely occur on and off. This is where Wyckoff 3rd principle comes into play - "Effort vs Result" that is not matching. Meaning that the cumulation of shares goes in one direction while the price goes another direction.
MACD Seasons by Dr Ken Longthis specific Moving Average Divergence Convergence Seasons Indicator is made by Dr Ken Long Tortoise Capital brings a unique way of the flow of the market, the 4 seasons are used to describe the areas of the MACD so for example when the area is below zero and hasn't crossed the EMA 5 we call that winter which is very bear bias, once you get support in winter and crosses above the EMA 5 we call that fall which is the first indication of support for price and some weakness toward the downside. if the MACD is above the zero line we call that summer which is a very bull bias valued area, and once it crosses below the EMA 5 then that's where we call fall mode showing us weakness and very slight indication of a possible reversal. the MACD can be both used for swing trade and day trading, it provides a unique insight to the markets showing the layers of a trend using seasons.