Moving Average Convergence / Divergence (MACD)
Gunbot MACDgenOk this is just some strat based on MACD, checking for a few conditions until giving buy/sell signals to Gunbot via alerts.
It is generalized but if you want to go play with the values. I will continue to develop this further and am happy to receive feedback.
Notations are coming.
Usage notes:
-ONLY use this with TV_GAIN: 0.6 because on downtrends it is supposed to double up to pull down the average bought price!
-Use "buying condition" and "selling condition" for alerts, trigger on close and I suggest you use 3 min intervals but try what looks good to you
-Use this on pairs that are curvy and have atleast 0.6% gain between buy/sell triggers. This is also general advise when you want to take microprofits.
-Don't be confused with sell arrows, it will only trigger the bot sell on gain when you've set TV_GAIN
ARROW Trade SignalShort Arrows will indicate beginning of opposite signal. Wait for to confirm by at-least 2 bars.
Log-space MACDThis indicator is identical to regular MACD indicator except it is calculated in log space, which is useful for looking at long-term trends.
Modified MACDThis is a modified version of the MACD (Moving Average Convergence/Divergence) oscillator. Instead of using exponential moving averages this modified version make use of simple moving averages. The default periods for this modified version of MACD is 3/10/16. This modified version of the MACD oscillator is described in detailed in Appendix B in the book The Art and Science of Technical Analysis: Market Structure, Price Action and Trading Strategies by Adam Grimes.
4 Hour MACD (Philip Nel ForexFactory)This is the basic script that shows MACD as described with settings in the thread www.forexfactory.com
Hull MACD with Force Index Backcolorswww.tradingview.com
Like many other indicators this tells the past and it will dutifully follow the future price changes whatever they will be.
This is an upgrade of the "Hull Moving Average Convergence/Divergence" low lag indicator in my scripts. Added Elder Force Index (background colors) to include effects of Volume.
When EFI goes positive the background goes green, when it slopes up (more positive than previous bar) it is darker green. Negative red and slope down darker red.
I find it useful in all time frames but I use mostly hour and day. The direction color combined with price action and macd tell whether the volume supports the price movement and the shading (darker green for increasing up volume and darker red for increasing down volume) tells of the degree of support.
Since when the EFI is positive and dropping, for example, the price can be dropping with opposite for negative.
Dark shading tells where the EFI and possibly the price is headed (at the moment).
Light shading says to check more on other indications for likely direction.
Changed also the histogram color so it stands out of background and added hlines to make relative volatility and peak height easier to see.
Anyway help yourself if any of this code is useful to you, enjoy, happy trading and Keep Smiling!
Elder Impulse SystemQuickly Identify Trends with the Elder Impulse Indicator.
Pretty much the same as , but written from scratch to be simpler to use and the source code easier to read (no offense, LazyBear)
For more info, see stockcharts.com
MACD OverlayMACD Overlay indicator plots the MACD directly on price. This helps you better understand the MACD indicator and filter the false signals.
MACD_TracerSimple Script for a very fast MACD
Best used as an Indicator Overlay for studying detailed movement.
Indicator over Indicator
Using as a Indicator overlay. You must drag and drop an indicator over another indicator. After you have the visual of both indicators in one indicator box, you must go to CHART PROPERTIES and SCALE LEFT . This way both your indicators are scaled to same axis.
Analysis
Having both indicators allows me the ability to better detect what the indicator is specialized to do. In this case I have one indicator that has strength at detecting Momentum shifts and the other detects Divergences.
EMARCOThis is the study of the ratio of the MACD exponential moving averages, 0.993 and 1.003 were used to define the overextended positions since this is the highest the oscillator usually goes, price tends to reverse when overextended. RE1 (ratio equation 1) = the fast Exponential Moving Average (12 points) divided by the slow Exponential Moving Average (26 points) and RE2 is reciprocal. Here we see that when the RE1 is greater than RE2 price tends to drop and so when the opposite is true
[M] MACD + SMI
MACD + SMI -2.23% Ergodic
When leaving the zone, MACD is painted in different colors, while in the area - is gray.
In the settings you can disable shading in gray or SMI -2.23% .
Works on the major currency pairs, the rest has not been tested. Because it did for me)
//Google translate
----------------------
МАКД+SMI Ergodic
При выходе из зоны, MACD окрашивается в разные цвета, при нахождении в зоне - остается серым.
В настройках есть возможность отключить закрашивание в серый или SMI -2.23% .
Работает на основных валютных парах, на остальных не тестировался, потому что делал для себя)
MACD DEUTER 2 colour v0.2 by JustUncleLThis is an updated version of the MACD DEUTER 2 colour indicator. This version includes the Signal line and option to change the length calculating the MACD direction change.
Price Divergence Detector V3 revised by JustUncleLThis is a revised version of the original "Price Divergence Detector by RicardoSantos".
Description:
Price Divergence detection for various methods : RSI, MACD, STOCH, VOLUME, ACC-DIST, FISHER, CCI, BB %B and Ehlers IdealRSI. Both Hidden and Regular Divergences are detected.
Mofidifications:
Revision 3.0 by JustUncleL
Added option to disable/enable Hidden and Regular Divergence
Added new divergence method BB %B (close only)
Added new divergence mothos Ehlers IdealRSI (close only)
Revision 2.0 - by RicardoSantos
References:
Information on Divergence Trading:
www.babypips.com
www.incrediblecharts.com (BB %B)
Normalized Moving Average Convergence/DivergenceThis MACD normalizes the price so that it can be compared against moves that took place at prices of significant difference.
There are also options to change if the MACD and the signal line are computed using EMA or SMA.
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.
Candlestick Trend Indicator v0.5 by JustUncleLRequested Update to this Indicator alert project. In this update I have added the option to be able select which Price Action candles you want included in the display and the generated alarm Alert. Other changes also included in this update:
Also added a Price Action candle for "Last Fractal S/R Break", this also a good continuation indication.
Added option to select a different moving average types for directional MA line.
Modified some default settings, using HullMA instead of Zero Lag EMA and standard MACD settings(12,26,9).
Description:
This is a trend following indicator and alert for Binary Options based on Candlestick patterns and trend line -
NOTE: original system was a forex trading system.
This code combines a number of indicators to create an overall trading strategy.
The indicator recognises and displays some useful candle named defined patterns that are used to support trend continuation:
Bearish + Bullish PinBars
Dark Cloud Cover
Piecing Line
Bullish + Bearish Harami
Bullish + Bearish Engulfing Candle
Bullish + Bearish Last Fractal S/R break
Also recognises main Price Action candles from ChrisMoody (CM), the four(4) price action patterns are colored coded bars:
Yellow = Inside Bar - breakout/continuance
Orange = Outside Bar - breakout/continuance
Aqua/Fuschia = Up/Down Shaved Bars - Buying/Selling pressure
Red/Green = Possible reversal PinBars - Reverse Down / reverse Up
The highlighted candles (maroon and darker green) represent the defined PA patterns that have been confirmed following the current trend direction that is indicated by the Hull MA(20) line (can select a different type of MA, or even disable) and confirmed by MACD direction (can be disabled). The confirmed Alerts are indication by green (buy) and red (sell) dots at the bottom of the chart. An alert is generated from this selection for the alert condition of the alarming system.
The fractal upper/lower break lines are also draw, if the (optional) last fractal break line is broken by a highlighted bar then this indicates a stronger trend conformation.
The MACD indicator MACD DEUTER 2 colour(12,26,9) you can visually see the MACD histogram colours with MACD direction - needs "MACD DEUTER 2 colour" indicator.
This multi-indicator set up is suitable for 1hr, 4hr and daily charts with 1-4 candle expiry.
References and Inspiration from:
Fractal Levels by RicardoSantos
Almost Zero Lag EMA
Candlestick Patterns With EMA by rmwaddelljr
CM_Price-Action-Bars by ChrisMoody
www.forexstrategiesresources.com
"Scalp Jockey - MTF MA Cross Visual Strategizer by JayRogers"