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)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian