modhelius

Advanced MACD

modhelius 已更新   
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.
發布通知:
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.

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?