OPEN-SOURCE SCRIPT

Zero-Lag MACD/PPO

MACD/PPO Indicator, with optional faster EMA's to reduce lag.

-Use "MA TYPE" to select SMA, EMA, Double-EMA, Triple-EMA, or Hull as the MACD Source. Default is 'EMA'.
-Use "FAST MA" and "SLOW MA" to set the fast and slow period lengths.
-Use "SIGNAL TYPE" to select SMA, EMA, Double-EMA, Triple-EMA, or Hull as the Signal formula. Default is 'EMA'.
-Use "SIGNAL LENGTH" to set the Signal period length.
-Use "HIST. SIZE" to change the scaling of the histogram and make it stand out more.
-Use "COLOR SIGNALS" to select when to signal green/red on the MACD line.
--- "None" is always black.
--- "Over/Under" will signal based on MACD being over or under the Signal line.
--- "Rising/Falling" will signal based on MACD being over/under the Signal line and both are rising/falling.
-Use "PPO INSTEAD" to use Price Percent Oscillator scaling (works better for long-term and large price fluctuation).
Moving Average Convergence / Divergence (MACD)Price Oscillator (PPO)

开源脚本

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

想在图表上使用此脚本?

免责声明