modhelius

Advanced MACD

modhelius Aggiornato   
This is a more advanced version of the standard moving average convergence/divergence indicator (MACD). It allows you to change the type of all moving averages (Simple, Exponential, Weighted, Volume-weighted, Triple EMA or a moving average that uses RSI). By for example setting the period to 3/10/16 and use simple moving averages instead of exponential moving averages you can turn it into the modified version of the MACD oscillator (mMACD) described in detail in Appendix B in the book "The Art and Science of Technical Analysis: Market Structure, Price Action and Trading Strategies" by Adam Grimes.

The indicator also allows you to volume weight the indicator (turned on by default), which will turn it into a Volume-Weighted Moving Average Convergence Divergence (VW-MACD) first used by Buff Pelz Dormeier in 2002 and described in detail in his book "Investing with Volume Analysis: Identify, Follow, and Profit from Trends". If you want to weight the oscillator against the true range instead of volume this is also possible. By default, this will be done automatically for assets that do not support volume.
Note di rilascio:
Added a setting that turns this indicator into a Percentage Price Oscillator.
Note di rilascio:
Added a setting that turns this indicator into a Percentage Price Oscillator.
Note di rilascio:
Some tags added.
Note di rilascio:
Support for StochasticMACD (also known as StochMACD or just SMACD) added.
Note di rilascio:
Update example graph.
Note di rilascio:
Set better default Stochastic Length
Note di rilascio:
Update example graph.
Note di rilascio:
Change back to correct default value for Stochastic Length.
Note di rilascio:
Update to Pine Script Version 4 and add resolution to study.

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?