OPEN-SOURCE SCRIPT

MACD VPT lag issue

已更新
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
Volume

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明