nj_guy72

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).
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

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.

Want to use this script on a chart?