RafaelZioni

MACD VPT lag issue

RafaelZioni 已更新   
Most indicator use close as their primary source which is good but side effect of it is the lag in 1-2 candles
I created in the past the VPT indicator which is a volume indicator similar to OBV and I tranform it to be ised as a source insted of close . the reason for it since it a volume based indicator it faster and can help in the lag issue
So this script is just example how i change the source from close and put inside the VPT which make the MACD more responsive and faster
one problem of this indicator is that sometime it overshhot so with you can smooth it with len to desire result
So if you have lag indicator in one or two candels you can use this trick to try to solve it
版本注释:
minor fix
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?