Simple MACD Strategy - CrossoverSimple MACD Crossover Strategy
No secret sauce here!
Script was requested by user
Moving Average Convergence / Divergence (MACD)
MACD BFThis is a modified version of the MACD strategy in the public library. You can set the time period you want in the input parameters, along with the MACD and signal line values.
The default values for this strategy are 12, 26, 12. These settings seem favorable to BTC/USD pairs.
The strategy is simple - when the histogram crosses above zero, a buy signal is generated, when it crosses below zero, a sell signal is generated.
If an opposing signal is generated, we exit the current trade and enter the new one.
You can set a stop-loss as a percentage in the input parameters - for example, if you enter 5, the strategy will exit when the trade goes the wrong way by 5%.
The default money management strategy is to trade 100% of the equity. This can be changed in input settings like it can with any strategy.
MACD背离(MACD divergent)[公开版][gouge99]注意:背离意味着做反转交易,所以入场要求很高,但是背离一般的收益风险比很大
MACD背离:收盘价创造新高或者新低,但是macd却没有出新高或者新低
计算原理:根据历史K线长度(默认90根K线)来判断收盘价的高低极值和macd的高低极值来进行比较判断
建议使用:
1.在震荡调整行情中,在支撑和压力位附近出现的突然的趋势K线,一般是假突破
2.在趋势末端,一般还会有一次缓慢的测试趋势极点的行情,一般这是趋势反转进入震荡的开始
3.结合其他形态如双顶,头肩,pin bar
4.结合其他指标如stoch随机指标做反转
5.推荐在1h, 30m, 15m级别中使用,5m也可以使用,但是最好背离计算长度设置大一点 比如150
Linear Quadratic Convergence Divergence OscillatorIntroduction
I inspired myself from the MACD to present a different oscillator aiming to show more reactive/predictive information. The MACD originally show the relationship between two moving averages by subtracting one of fast period and another one of slow period. In my indicator i will use a similar concept, i will subtract a quadratic least squares moving average with a linear least squares moving average of same period, since the quadratic least squares moving average is faster than the linear one and both methods have low-lag this will result in a reactive oscillator.
LQCD In Details
A quadratic least squares moving average try to fit a quadratic function (parabola) to the price by using the method of least squares, the linear least squares moving average try to fit a line. Non-linear fit tend to minimize the sum of squares in non-linear data, this is why a quadratic method is more reactive. The difference of both filters give us an oscillator, then we apply a simple moving average to this oscillator to provide the signal line, subtracting the oscillator and its signal line give us the histogram, those two last steps are the same used in the MACD.
Length control the period of the quadratic/linear moving average. While the MACD use a signal line for plotting the histogram i also added the option to plot the momentum of the quadratic moving average instead, the result is smoother and reduce irregularities, in order to do so just check the differential option in the parameter box.
The period of the signal line and the momentum are both controlled by the signal parameter.
A predictive approach can be made by subtracting the histogram with the signal line, this process make the histogram way more predictive, in order to do so just check the predictive histogram option in the parameter box.
Predictive histogram with simple histogram option. The differential mode can also be used with the predictive parameter, this result in a smoother but less reactive prediction.
Information Interpretation
The amount of information the MACD can give us is high. We can use the histogram as signal generator, or the if the oscillator is over/under 0, combine the oscillator/signal line with histogram, combinations can provide various systems. Some traders use the histogram as signal generator and use the cross between the histogram and the signal line as a stop signal, this method can avoid some whipsaw trades. The study of divergences with the price is also another method.
Conclusion
This oscillator aim to show the same amount of information as the MACD with a similar calculation method but using different kind of filters as well as eliminating the need to use two separates periods for the moving averages calculation, its still possible to use different periods for the quadratic/linear moving average but the results can be less accurate. This indicator can be used like the MACD.
Volume Weighted ALMA TRIX MACDMACD constructed using volume weighted(optional) ALMA TRX
---------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
E-Z's Slither Maker Strategy v0.01This is a strategy I built based on custom MACD and ADX/DMI settings.
Works best for scalping the one hour.
If you run into any issues let me know.
If this script makes you money and feel thankful for all my hard work, you can donate to the addresses below <3
BTC: 3CS6VqDrCf7XRn46bqcXMUZQecbQJ7TKfs
BCC/BCH: bitcoincash:qqrca9z7w2gl2wevjvry6uv7quhcn7kaycx43r34tf
DOGE: AC9tZB6NMoWpvMZmmtop5yXsv7GhHYAxWd
LTC: 34HajDFE3aDWgs1etG3851CLvqNV9pg5Te
Awesome Oscillator and MACD Histogram by SierraPilot (Lemrin)This is an indicator I stole from Lemrin. I added the plots for the MACD line and the Signal line and also changed the AO and MACD histo to an area plot. MACD = red and green. AO = blue and yellow. Green over top of Blue = possible reversal. Green overlaid over blue = uptrend. Yellow over top of Red = downside reversal possible. Yellow overlaid over Red = downtrend in progress. MACD and Signal line behave normally. Thanks to Lemrin for the majority of the code.
ALMA PPO - Percentage Price OscillatorSimple redo of PPO using ALMA
-------------------------------------------------------------------------------------------------------------------------------------------
If you find it useful please consider a tip/donation : BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Multi-indicador MACD/RSI/volumen en ventanaComplemento para el otro indicador que ya publiqué.
En esta caso añado las gráficas de MACD, RSI y volumen en una sola ventana.
El problema para esto es el escalado de las gráficas del MACD y el volumen para que entren en una escala de 1 a 100 para lo que tomo los máximos y mínimos de 500 velas (este valor se puede cambiar).
Adicionalmente, coloreo el macd de verde cuando sobrepasa a la señal o de rojo cuando va por debajo y lo mismo con el rsi.
Añado el volumen a todo esto, también escalado.
SMA/pivot/Bollinger/MACD/RSI en pantalla gráficoMulti-indicador con los indicadores que empleo más pero sin añadir ventanas abajo.
Contiene:
Cruce de 3 medias móviles
La idea es no tenerlas en pantalla, pero están dibujadas también. Yo las dejo ocultas salvo que las quiera mirar para algo.
Lo que presento en pantalla es la media lenta con verde si el cruce de las 3 marca alcista, amarillo si no está claro y rojo si marca bajista.
Pivot
Normalmente los tengo ocultos pero los muestro cuando me interesa. Están todos aunque aparezcan 2 seguidos.
Bandas de Bollinger
No dibujo la línea central porque empleo la media como tal.
Parabollic SAR
Lo empleo para dibujar las ondas de Elliott como postula Matías Menéndez Larre en el capítulo 11 de su libro "Las ondas de Elliott". Así que, aunque se puede mostrar, lo mantengo oculto y lo que muestro es dónde cambia (SAR cambio).
MACD
No está dibujado porque necesitaría sacarlo del gráfico.
Marco en la parte superior cuándo la señal sobrepasa al MACD hacia arriba o hacia abajo con un flecha indicando el sentido de esta señal.
RSI
Similar al MACD pero en la parte inferior.
Probablemente, programe otro indicador para visualizar en una ventanita MACD, RSI y volumen todo junto. El volumen en la principal hay veces que no te permite ver bien alguna sombra y los otros 2 te quitan mucho espacio para graficar si los tienes permanentemente en 2 ventanas separadas.
Percentage MACDPercentage MACD number range won't change with the great price change.
Convenient for log scale.
Helios v1.0 - by @cryptomrdavis -1.0
This is another indicator for you guys. From different indicators its get the signals and combines them into one.
Green marks an uptrend and red an downtrend.
Happy trading
+++ use this tool on your own risk. i'm not responsible for your loses. DYOR +++
____________________________________________________________________________
BTC: 1GVRDK3HHr9CKM5SF2CGpCNXFuavB3L4j9
ETH: 0x7b825fa752b9926D3E8397cDb1d9E5473D074646
XMR: 41zL2SQS7zyZmwXKng2TeUWsMi5vMmkgSdDCjULUTvM6ichwm1E2ZDEYGt56zk9ghoM9bekhjycSwa8amtTcB2JiUet5jtg
NEO: AXja5xPDhczfm2ujHyBfpkQAAnMsXsazmb
TRX: THi1L1v2wHJxmQg6Wk9TgkKLcP6x2oMAwf
ZEC: zcZzFkRx95cp7MtuW8wLhC5zz5RYF9QkT2uPPmhZZHc6ppXepHGgCSeAS1rtD6WFdqsM5p1gZm2gfirnrnviucsdP4aCpqU
XLM: GAXUQJSW55C7MAC4GI26NZUGIKSHFDVFRFKZCXPLMPY4HCADSDT55XK6
WAVES: 3PCMkNpMHxSraTCkwV1ENcBKa9sXbVCGjQX
BCH: qz57n04ud6mn42u00aymqkku8tfh0lk4jv9c28mjvv
tippin.me
____________________________________________________________________________
SD85 MTF MACDThis is a multi-timeframe MACD indicator. The oscillating with the histogram is the current timeframe. The reddish line is one timeframe higher. The aqua line is two timeframes higher. This way, we can track the movement of the market within one chart to see where it is in a bigger picture. The red arrow on top shows up when the current trend is under 1 higher timeframe, 1 higher timeframe is under 2 higher timeframes, and 2 higher timeframe has to be above zero. Vice versa for the bottom green arrow. Use these arrows as cautions when the trend change direction. We must learn the basic of convergence and divergence. Trade with care and many pips to you and yours. If I help you in any way. Please like and share. Buy me a drinks sometimes at zonnieadvertising@gmail.com.
Cheers!
SD85.
Improved MACDImproved MACD with 12 filter to chose from including sine wave , zero lag, hull ,regression and similar . Designed for better and smoother signal generation and flexibility
TRIX MACDAn experiment using TRIX to construct a MACD instead of the standard EMAs.
Warning - colors bars (can be disabled in settings)
Optional volume weighting.
-----------------------------------------------------------------------------------
If you find it useful please consider a tip/donation : BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Improved Multi-Timeframe (MTF) MACD - plots same as live dataThis multi-timeframe MACD uses an improved calculation to accurately calculate the indicator's value with every new bar on the time frame your chart is set to. Previously the indicator only recalculated with every new update on the timeframe used in its security function. This means that this improved script plots the real, current value of your indicator across your chosen timeframes on your chart's resolution and no longer only plots only the indicator's monthly/weekly/daily/4 hour/ect closing value on the your chart.
Input values are fixed to their default (close,12,26) configuration to make this indicator's improved calculation possible.
When using "Plot Higher Timeframe?" the script will set the indicator to only plot its value in closest larger timeframe. This option overrides the two following options. For example, when using the daily resolution, only the weekly value will plot, or when using the one hour (60m) resolution, only the 4 hour (240m) value will plot.
The "Omit Higher Timeframes?" option will set the indicator to only plot starting from the 1/2/3/4/5/6/7th closest larger timeframe. For example, when using the daily resolution and this option set to 0, all values from the weekly resolution and up will plot, but if set to 1, all values from the monthly resolution and up will plot instead.
The "Plot Yearly/Quarterly/Monthly/Weekly/Daily/4 Hour/1 Hour/15 Minute/5 Minute?" options allow enabling/disabling a specific timeframe. All are enabled by default. For example, if you do not want the yearly value of the indicator to ever plot, you can disable the "Plot Yearly?" option.
TH_MACDHistogram-only version of MACD with custom settings: 14,120,7
Pay attention to U-shapes turning points and/or Baseline Crosses
This indicator is great combo with the TH_Hull+
RSI or MACD + Tendance Kijun LTThis script is an update of my previous script "RSI + Tendance Kijun LT", I will not explain it here, if needed have a look at it :
I made a new script (and not update the previous one) because some people may not be interested by MACD and for performance perspective they may be interested to only have RSI (since you can't have both but only switch from RSI and MACD)
So now, you can choose to have MACD instead of RSI with long term trend based on Kijun still dispaying. Why am I adding MACD even if most of the time I never use it ? It's for Elliott Wave purpose and principaly for triangle. With MACD, you can easily identify if you're forming a triangle or not in an Elliott Wave perspective (I'm not speaking about chartist triangle).
As an example, you can see ETHUSD in daily and something looking similar to a triangle. We can trade it with many possibility (breakout, support/resistance) but I'm interested in to identify if it's a triangle with an EW count (not chartist) and if it's the case I will consider different scenario (triangle are most of the time wave 4 so we could have one more push leg down on this ticker)
So, in my daytrading I'm still always using RSI except when I want to verify if we have a triangle :) and I need to switch to MACD for that to check the following things :
- am I able to draw a triangle as the price did
- may I able to join A to C and B to D and still have a triangle on MACD
- If Yes, I will take care of E point because it's the start of the 5th wave (E point may be a truncated wave of the triangle and not join the line of points A to C)
By adding this in my strategy, I can anticipate different scenarios and invalidate them if I didn't get the triangle on MACD (by having a D point on MACD not respecting the triangle form). Don't forget, we can decide to don't trade a triangle as an EW count but still trade it as a chartist form (breakout or anything else).
In summary for the next days/weeks, on ETHUSD in daily time unit I will therefore wait and see if the price goes up to point D by being validated on the MACD. If so, then I will look at the possible formation of point E around prices 141$ and 156$, if at these prices I have short signals then it will be interesting to go back in short position
--------------------------------------------------------
Ce script est une mise à jour de mon script précédent "RSI + Tendance Kijun LT", je ne l'expliquerai pas ici, si besoin jetez-y un oeil :
J'ai fait un nouveau script (sans forcer la mise à jour du précédent) parce que certaines personnes peuvent ne pas être intéressées par MACD et pour des raisons de performance, elles peuvent être intéressées à n'avoir que RSI (puisque vous ne pouvez pas avoir les deux en même temps mais seulement passer de RSI et MACD)
Donc maintenant, vous pouvez choisir d'avoir MACD au lieu de RSI avec une tendance à long terme basée sur Kijun qui s'affiche toujours. Pourquoi est-ce que j'ajoute MACD même si la plupart du temps je ne l'utilise jamais ? C'est pour Elliott Wave et surtout pour le triangle. Avec MACD, vous pouvez facilement identifier si vous formez un triangle ou non dans une perspective Elliott Wave (je ne parle pas de triangle chartiste).
Par exemple, vous pouvez voir que sur ETHUSD en unité de temps journalière nous avons quelque chose qui ressemble à un triangle. Nous pouvons faire des trade de pleins de manières différentes (cassure d'oblique, support/résistance) mais je suis intéressé d'identifier si c'est un triangle avec un compte EW (pas chartiste) et si c'est le cas, je vais envisager un scénario différent (sachant que les triangles sont la plupart du temps la vague 4 et donc envisager à la sortie une dernière poussée baissière type vague 5 sur ETHUSD)
Donc, dans mon daytrading, j'utilise toujours RSI sauf quand je veux vérifier si nous avons un triangle :) et j'ai besoin de passer à MACD afin de vérifier les éléments suivantes :
- Suis-je capable de dessiner un triangle comme le prix le dessine
- puis-je joindre A à C et B à D et toujours avoir un triangle sur MACD ?
- Si oui, je m'occupe du point E car c'est le début de la 5ème vague (le point E peut être une onde tronquée du triangle et ne pas joindre la ligne des points A à C).
En ajoutant cela dans ma stratégie, je peux anticiper différents scénarios et les invalider si je n'ai pas obtenu le triangle sur MACD (en ayant un point D sur MACD ne respectant pas la forme du triangle). N'oubliez pas, nous pouvons décider de ne pas le trade comme un triangle d'un décompte EW mais de le trade simplement comme un triangle chartiste (breakout ou autre chose).
En résumé pour les prochains jours/semaines, sur ETHUSD en unité de temps journalière je vais donc patienter et voir si le prix va jusqu'au point D en étant validé sur le MACD. Si oui, alors je regarderai l'éventuelle formation du point E autour des prix 141$ et 156$, si à ces prix j'ai des signaux vendeurs alors il sera intéressant de rentrer en position short