OPEN-SOURCE SCRIPT
Обновлено Advanced MACD

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.
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.
Информация о релизе
Added a setting that turns this indicator into a Percentage Price Oscillator.Информация о релизе
Added a setting that turns this indicator into a Percentage Price Oscillator.Информация о релизе
Some tags added.Информация о релизе
Support for StochasticMACD (also known as StochMACD or just SMACD) added.Информация о релизе
Update example graph.Информация о релизе
Set better default Stochastic LengthИнформация о релизе
Update example graph. Информация о релизе
Change back to correct default value for Stochastic Length.Информация о релизе
Update to Pine Script Version 4 and add resolution to study.Скрипт с открытым кодом
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Отказ от ответственности
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Скрипт с открытым кодом
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Отказ от ответственности
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.