MACD (Moving Average Convergence/Divergence) + Inside BarMACD (Moving Average Convergence/Divergence) + Inside Bar so that free users can have two things in same indicator.
Script is open for everyone.
Check and test the code of Inside Bar and let me know if it is correct.
Feel feel to share.
Search in scripts for "macd"
GreenMood inchart MACD Zero LagMACD Zero lag Visual inchart view.
Threshold / Settings can be changed in Format view.
Threshold to be adapted depending on timeframe.
MACD 4C4 Coloured MACD
lime = positive rising
green = positive descending
red = positive rising
maroon = positive descending
MACD 4C4 Coloured MACD
lime = positive rising
green = positive descending
red = positive rising
maroon = positive descending
MACDASTHOMAS ASPRAY'S MACD by KIVANC @fr3762 on twitter
drive.google.com
This indicator is simply based on MACD HISTOGRAM'S 9 period EMA signal line
MACDAS = MACD HISTOGRAM= MACD - SIGNAL LINE of MACD
MACDAS SIGNAL LINE = 9 Period EMA of MACD
Note: Macd is originally calculated by using SMA but in this version both MACD and MACDAS and their signal lines are calculated by using EMA.
MACDAS provides earlier BUY / SELL signals than MACD.
TURKISH EXPLANATION:
Thomas Aspray'in bulduğu KIVANC @fr3762 tarafından yazılan versiyon
MACDnin Triggerı ile farkı (Histogram) ile bu farkın 9 günlük üssel hareketli ortalaması alınarak hesaplanmıştır
drive.google.com
Macd indikatörüne göre daha erken AL / SAT sinyalleri üretmektedir.
Kazançlı günlerde kullanmanız dileğiyle...
KıvanÇ
MACDeA different style of MACD indicator with different period values of WEIGHTED and EXPONENTIAL MOVING AVERAGES INSTEAD OF only EXPONENTIAL.
Default MOVING AVERAGES ARE
faster period: 8bars EMA
slower period: 13 bars EMA
signal period: 5 bars WMA
TURKISH EXPLANATION:
MACD indikatörünün sadece üssel yerine AĞIRLIKLI ve ÜSSEL hareketli ortalamalar kullanılarak daha erken sinyaller alabilmek için daha kısa periyotlarla yorumlanması
fikir @kenyaborsa on twitter
yazar: KIVANÇ @fr3762 on twitter
Zero Lag MACD Enhanced - Version 1.1ENHANCED ZERO LAG MACD
Version 1.1
Based on ZeroLag EMA - see Technical Analysis of Stocks and Commodities, April 2000
Original version by user Glaz. Thanks !
Ideas and code from @yassotreyo version.
Tweaked by Albert Callisto (AC)
New features:
Added original signal line formula
Added optional EMA on MACD
Added filling between the MACD and signal line
I looked at other versions of the zero lag and noticed that the histogram was slightly different. After looking at other zero lags on TV, I noticed that the algorithm implementation of Glanz generated a modified signal line. I decided to add the old version to be compliant with the original algorithm that you will find in other platforms like MT4, FXCM, etc.
So now you can choose if you want the original algorithm or Glanz version. It's up to you then to choose which one you prefer. I also added an extra EMA applied on the MACD. This is used in a system I am currently studying and can be of some interest to filter out false signals.
Modified MACD with Zero LineBased on Adam H. Grimes' Modified MACD. Uses a 3/10 simple MA for the fast line and a 16 for the signal line. Added a zero line.
Uptrick: MACD Slope Buy/Sell SignalsThe "Uptrick: MACD Slope Buy/Sell Signals" indicator is an advanced technical analysis tool meticulously crafted to provide traders with precise buy and sell signals derived from the slope changes of the Moving Average Convergence Divergence (MACD) signal line. This indicator integrates user-defined parameters for the MACD calculation, including the fast length, slow length, and signal smoothing period. These parameters allow traders to customize the indicator according to their specific trading strategies and timeframes, ensuring adaptability across various market conditions.
The primary function of this indicator is to monitor the slope of the MACD signal line and detect significant shifts that indicate potential changes in market momentum. The indicator calculates the slope by comparing the current value of the signal line to its previous value, and further determines the change in slope to identify acceleration or deceleration in the trend. A buy signal is generated when the slope of the signal line transitions from negative to positive, signaling an upward momentum, while a sell signal is triggered when the slope moves from positive to negative, indicating a downward trend. To enhance signal accuracy, the indicator distinguishes between regular and strong signals. A strong buy signal requires the slope change to be greater than the simple moving average (SMA) of recent slope changes, whereas a strong sell signal necessitates the slope change to be less than the negative SMA of recent slope changes.
A unique feature of this indicator is its dynamic and intuitive visualization. When a strong buy or sell signal is identified, it plots labels ('B' for buy and 'S' for sell) directly on the price chart. These labels are strategically positioned below or above the respective bars to ensure clear visibility and reduce chart clutter. The indicator also includes an option to connect consecutive signals with lines, which enhances the visual tracking of signal sequences and provides a coherent view of the trend's progression. The color intensity of the plotted signals varies based on the absolute value of the slope, offering an immediate visual cue on the strength of the detected trend changes. A steeper slope results in a darker color, signaling a stronger trend.
To facilitate comprehensive analysis, the indicator also plots the MACD and signal lines on the chart, providing traders with a reference to the underlying data that drives the buy and sell signals. These lines are color-coded for easy differentiation: the MACD line is typically blue, and the signal line is orange. This visual aid ensures that traders have a clear understanding of the indicator's basis and can cross-reference the generated signals with the MACD behavior.
The calculation of this indicator is grounded in well-established technical analysis principles. It employs the MACD function to derive the MACD line and signal line based on the user-defined parameters. The slope of the signal line is then computed, followed by the calculation of the slope change. The buy and sell signals are determined by comparing the current and previous slopes, and the strong signals are filtered through an additional layer of slope change analysis relative to its moving average.
The accuracy and reliability of the "Uptrick: MACD Slope Buy/Sell Signals" indicator stem from its thorough and methodical approach to signal generation. By combining user customization, detailed slope analysis, and robust visual elements, this indicator serves as a powerful tool for traders seeking precise entry and exit points in the market. Its ability to adapt to different trading styles and market conditions, coupled with its clear visual cues, makes it a valuable addition to any trader's toolkit, enhancing decision-making and improving trading outcomes.
5 min scalp macd5 min scalp macd, 5 min scalp macd, 5 min scalp macd, 5 min scalp macd, 5 min scalp macd, 5 min scalp macd, 5 min scalp macd, 5 min scalp macd
Combo Backtest 123 Reversal & MACD Crossover with Trail and Stop
This is a modification of @HPotter "Combo Backtest 123 Reversal & MACD Crossover" script.
I've added a trail stop, basic leverage simulation and stop loss.
Below is HPotter's explanation of the script principals.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
MACD – Moving Average Convergence Divergence. The MACD is calculated
by subtracting a 26-day moving average of a security's price from a
12-day moving average of its price. The result is an indicator that
oscillates above and below zero. When the MACD is above zero, it means
the 12-day moving average is higher than the 26-day moving average.
This is bullish as it shows that current expectations (i.e., the 12-day
moving average) are more bullish than previous expectations (i.e., the
26-day average). This implies a bullish , or upward, shift in the supply/demand
lines. When the MACD falls below zero, it means that the 12-day moving average
is less than the 26-day moving average, implying a bearish shift in the
supply/demand lines.
A 9-day moving average of the MACD (not of the security's price) is usually
plotted on top of the MACD indicator. This line is referred to as the "signal"
line. The signal line anticipates the convergence of the two moving averages
(i.e., the movement of the MACD toward the zero line).
Let's consider the rational behind this technique. The MACD is the difference
between two moving averages of price. When the shorter-term moving average rises
above the longer-term moving average (i.e., the MACD rises above zero), it means
that investor expectations are becoming more bullish (i.e., there has been an
upward shift in the supply/demand lines). By plotting a 9-day moving average of
the MACD , we can see the changing of expectations (i.e., the shifting of the
supply/demand lines) as they occur.
WARNING:
- For purpose educate only
- This script to change bars colors.
G-MACD ColorIt's just MACD and fill the color
How to use
RED : MACD < Signal line and MACD < 0
Blue : MACD > Signal line and MACD < 0
GREEN : MACD > Signal liine and MACD > 0
Yellow : MACD < Signal line and MACD < 0
Goodluck :D
Zero Lag MACD Enhanced - Version 1.0*Zero Lag MACD indicator - Enhanced version 1.0*
Based on ZeroLag EMA - see Technical Analysis of Stocks and Commodities, April 2000
Original version by user Glaz. Thanks ! (see at the end of this description).
Tweaked by Albert Callisto
Displayed components:
Fast and slow "zero lag" moving averages
Histogram showing delta between the two moving averages
You can choose between SMA or EMA for the moving averages. They give slightly different results. Glaz had used SMA instead of EMA. Most "zero MACD" scripts are based upon EMA.
Usage is similar to the classic MACD and it can be integrated in an existing strategy, you will notice the crossing occurs earlier.
This is the original version by Glaz:
SMACD - Standardised MACDStandardised MACD - this uses the MACD indicator, but expressed as a percentage of Close price. This allows for the relative comparison between stocks which have different absolute values. MACD will give a high value to a high priced stock, whereas SMACD will represent stock performance in a standardised format, relative to the closing price of the stock. It effect it represents the MACD as a percentage of share price. An added advantage of SMACD over MACD is that since the indicator is relative to the price, later values are not inflated (assuming rising trend). Thus the scale is not linear, rather it more like a log scale, offering a truer picture of growth over time. It is for this reason the SMACD lines may slightly differ from MACD, but it is a more valid representation in my view. The difference is minor. (Developed by Des Bleakley - Melbourne)
Multi Color Normalized MACD + Candles (NMACD) [cI8DH]One simple indicator for volatility, divergence and relative momentum
Features:
- Normalized MACD (by slow MA)
- Candle MACD (fast MA length is set to 0 in candle mode, i.e. price minus slow MA)
- Multi color histogram
- Background coloring based on MACD direction
- Choice of different MA types (Exponential, Simple, Weighted, Smoothed, Triple EMA)
- Triple EMA smoothing
Benefits of normalization:
- Absolutely better than RSI for comparing across different periods and assets
Applications and benefits of candle visualization:
- Zero cross: most traders use MAs overlaid on the main chart and look for price distance and MA cross visually. In candle mode, this indicator measures the difference between price and the slow moving MA. When this indicator crosses zero, it means price is crossing the slow moving MA.
- Divergence: full candle visualization (OHLC) is not possible for most other indicators. Candle visualization allows measuring divergence between price high, low and close simultaneously. Some trades incorrectly measure divergence between high, low of price against indicator tops and bottoms while having the indicator input set to default (usually close). With this indicator, you don't need to worry about such complexities.
Recommended setting:
- Enjoy candle mode :)
- Source set to hlc3
Normalized MACDNormalized MACD
There are varius options like choosing the moving average to use, sometimes i prefer the wma it is much smoother
Added also macd line to swap color and Fill that plots columns