OPEN-SOURCE SCRIPT

Advanced MACD

Aktualisiert
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.
Versionshinweise
Added a setting that turns this indicator into a Percentage Price Oscillator.
Versionshinweise
Added a setting that turns this indicator into a Percentage Price Oscillator.
Versionshinweise
Some tags added.
Versionshinweise
Support for StochasticMACD (also known as StochMACD or just SMACD) added.
Versionshinweise
Update example graph.
Versionshinweise
Set better default Stochastic Length
Versionshinweise
Update example graph.
Versionshinweise
Change back to correct default value for Stochastic Length.
Versionshinweise
Update to Pine Script Version 4 and add resolution to study.
Moving Average Convergence / Divergence (MACD)mmacdOscillatorsPrice Oscillator (PPO)smacdstochasticmacdstochmacdvwmacd

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


Auch am:

Haftungsausschluss