ANN MACD (BTC)
Logic is correct.
But I prefer to say experimental because the sample set is narrow. (300 columns)
Let's start:
6 inputs : Volume Change , Bollinger Low Band chg. , Bollinger Mid Band chg., Bollinger Up Band chg. , RSI change , MACD histogram change.
1 output : Future bar change (Historical)
Training timeframe : 15 mins (Analysis TF > 4 hours (My opinion))
Learning cycles : 337
Training error: 0.009999
Input columns: 6
Output columns: 1
Excluded columns: 0
Grid
Training example rows: 301
Validating example rows: 0
Querying example rows: 0
Excluded example rows: 0
Duplicated example rows: 0
Network
Input nodes connected: 6
Hidden layer 1 nodes: 8
Hidden layer 2 nodes: 0
Hidden layer 3 nodes: 0
Output nodes: 1
Learning rate : 0.6 Momentum : 0.8
More info :
EDIT : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Moving Average Convergence / Divergence (MACD)
ANN MACD Future Forecast (SPY 1D) NOTE : Deep learning was conducted in a narrow sample set for testing purposes. So this script is Experimental .
This system is based on the following article and is inspired by an external program:
hackernoon.com
None of the artificial neural networks in Tradingview work and are not based on completely correct logic. Unlike others in this system:
IMPORTANT NOTE: If the tangent activation function is used, the input data must also have tangent values (compared to the previous values of 1 bar).
Inputs were prepared according to this judgment.
1. The tangent function which is the activation function is written correctly. (The tangent function in the article: ActivationFunctionTanh (v) => (1 - exp (-2 * v)) / (1 + exp (-2 * v)))
2. Missing bias parts in the formulas were added.
3. The output function is taken from the next day (historical), so that the next bar can be predicted, which is the truth.
4.The forecast value of the next bar is subtracted from the current bar change and the market direction is determined.
5.When the future forecast and the current close are added together, the resulting data is called seed.
The seed carries data both from the present and from yesterday and from the future.
6.And this seed was subjected to the MACD method.
Thus, due to exponential averages, more importance will be given to recent developments and
The acceleration situations will show us the direction.
However, a short position should be taken for crossover and a long position for crossunder .
Because the predicted values work in reverse.Even though we use the same period (9,12,26) it is much faster!
7. There is no future code that can cause Repaint.
However, the color after closing should be checked.
The system is completely correct.
However, a very narrow sample was selected.
100 data: Tangent diffs ; volume change, bollinger bands values changes (Upband , Midband , Lowband) and LazyBear's Squeeze Momentum Indicator (SQZMOM_LB) change and the next bar data (historical) price change were put into the deep learning test.
IMPORTANT NOTE : The larger the sample set and the more effective dependent variables, the higher the hit rate of the deep learning test!
EDIT : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned. Best regards!
MACD - Baby WhaleI spiced the standard MACD indicator up a bit to make it more visible.
When using the MACD:
1. Never go short when the MACD lines are in the negative.
2. Never go long when the MACD lines are in the positive.
3. Always wait for an uptick / downtick on the histogram before you start your trade.
The MACD Histogram can also show you Divergence.
When the price goes up but the Histogram can't make new highs, it might be a good time to think about shorting.
If you want access, just send a message please.
Much love from Baby Whale!!
🙏❤️🐳
TSI MACD by Jwammo12The TSI MACD indicator is a combination of the TSI (True Strength Index) and MACD (Moving Average Convergence Divergence) technical indicators.
The TSI MACD indicator is a momentum indicator, considering that it comes from two momentum indicators.
Ultimately, the TSI MACD indicator is used to gauge the strength of a trend, as well as its accompanying momentum.
The indicator is shown to oscillate between -110 and +110, while its signal baseline is on the zero level (a level that determines the market bias).
TA-Money Flow-Version5This is the MACD of a stochastic OBV movement indicator, Squeeze Momentum Indicator, and addition coloring for Market Direction Indicator . It is good (right) to work with both price and volume.
In this version we've moved the divergence highlighting to symbols at the ends of the histograms. Same coloring scheme as previous, yellow is divergence of either OBV or SQZ , red is both divergence. In the previous version we added in the "squeeze on - blue" highlighting to show follow through of divergence (or just squeeze/stall). We also added in another old script, but colors so well, Lazybears (Market Direction Indicator, linked below). Also incorporated a 3 color or 5 color scheme from the MDI script as a bool. It works great on any time frame, but you need to have volume data. Not sure where I originally got this (stoch-OBV, somewhere off Tradingview several years ago, thanks to the person who shared), Squeeze/MDI is Lazybear, links below.
Enjoy.
Version 5:
Moved divergence highlighting to symbols on histogram
Added coloring based on MDI
TA-Money-Flow-Version4
TA-Money-Flow-Version3
TA-Money-Flow-Version2
Squeeze-Momentum-Indicator-LazyBear
Market-Direction-Indicator-LazyBear
MACD with RSI WarningI like using both MACD and RSI for my strategies to confirm patterns, but I really only check RSI to see if it is outside of the normal range. So I rewrote the MACD indicator to color bars that are above or below the set RSI boundaries in a different color (yellow by default) so I can quickly check that parameter without needing both indicators up.
This is my first indicator, so please feel free to let me know how I might clean it up!
MACD [Gu5]Extremely popular indicator MACD (Moving Average Convergence/Divergence)
Same design of my previous indicators
Show Cross Line for a better visualization
```
Setting recommended for BTC
"Fast Length" = 21
"Slow Length" = 55
"Signal Smoothing" = 14
Other markets try
"Fast Length" = 12
"Slow Length" = 26
"Signal Smoothing" = 9
```
--
El MACD (Convergencia/Divergencia de Medias Móviles) es uno de los mas populares indicadores
Continuando con el mismo estilo de diseño de mis anteriores indicadores
Destaca el cruce de medias para una mejor visualización
MACD HistogramShort MACD histogram to deal with crypto trade.
Added ability to simulate a test price too.
TA-Money Flow-Version3This is the MACD of a stochastic OBV movement indicator. It is good (right) to work with both price and volume. I've included highlighting based on price divergence. It works great on any time frame, but you need to have volume data. Not sure where I originally got this (stoch-OBV, somewhere off Tradingview several years ago, thanks to the person who shared), just publishing because of a request.
Enjoy.
Version 2 - TA-Money-Flow-v2-Stochastic-OBV
MACD Profit CandlesThis tool is simple yet very effective. It creates new candles on the chart based on the MACD.
Candles are green when MACD is increasing and red when it is decreasing. All lengths can be adjusted in the input menu and there is an option to plot the signal line.
The rules for using it are pretty simple:
1.Buy on Green
2.Sell on red
~Happy Trading~
RSI & MACDJust combined the template RSI and MACD scripts from the pine library and it seems to work better in pine version 4 :) ty tradingview!
Macd X-FACTOReste indicador consiste en el trazado de dos líneas. La línea Convergencia Divergencia de la Media Móvil mas conocida como MACD es la diferencia entre dos medias móviles exponenciales y la línea de disparo es una media móvil exponencial de la diferencia. Si las líneas MACD se cruzan, entonces se toma como una señal de que es muy probable un cambio de tendencia. El indicador en cuestión nos marcará una cruz azul cuando haya dicho cruce y se genere una tendencia alcista asi como también nos marcara cuando haya un cruce y se genere una tendencia bajista, cruz gris se vende, cruz azul se compra.
MACD Divergence [ALERTSETUP]A request I thought would be useful to code.
Very simple script that allows to create alerts on MACD divergences, based on @wanliyu script.
I also removed the security function to avoid repainting.
Red background is bearish divergence and green background is bullish divergence.
Enjoy !
MACD%% + FISHER TRANSFORMATIONThe MACD but instead of showing the RAW Value(12ema - 26ema) it is showing us the percentage diffrence between the ema's.
Also the fisher transformation is included. Sadly the fisher is not working on low Satoshi Altcoincharts.
Waddah Attar Explosion V2 [SHK]Hey everyone
I have modified Waddah Attar Explosion indicator to work in low price markets like crypto as well as any other market. So now the DeadZone line is based on ATR instead of a fixed number. Nothing more changed and all credits goes to it's MT4 developer and LazyBear (Main Script Link) .
Hope you enjoy!
Read the main description below...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is a port of a famous MT4 indicator. This indicator uses MACD/BB to track trend direction and strength. Author suggests using this indicator on 30mins.
Explanation from the indicator developer:
"Various components of the indicator are:
Dead Zone Line: Works as a filter for weak signals. Do not trade when the red or green histogram is below it.
Histograms:
- Red histogram shows the current down trend.
- Green histogram shows the current up trend.
- Sienna line shows the explosion in price up or down.
Signal for ENTER_BUY: All the following conditions must be met.
- Green histo is raising.
- Green histo above Explosion line.
- Explosion line raising.
- Both green histo and Explosion line above DeadZone line.
Signal for EXIT_BUY: Exit when green histo crosses below Explosion line.
Signal for ENTER_SELL: All the following conditions must be met.
- Red histo is raising.
- Red histo above Explosion line.
- Explosion line raising.
- Both red histo and Explosion line above DeadZone line.
Signal for EXIT_SELL: Exit when red histo crosses below Explosion line.
All of the parameters are configurable via options page. You may have to tune it for your instrument.
Koby's 3 average MACD indicatorThis MACD is averaging 3 different MACD; KAMA MACD, ZLEMA MACD, and normal MACD.
Can find easier MACD's divergence and convergence than normal MACD.
And more smoothly drawing than ZLEMA MACD (KZ_MACD) which is I've made before.
Koby's ZLEMA MACD and KAMA signalUsing zero lag ema for MACD line, and using KAMA for MACD's signal line.
Test version.
This has MACD and signal cross alert, and 0 line alert.