This script is an interesting take on Convergence and Divergence of Moving Averages. With the built-in MACD Indicator, you cannot make these adjustments to the settings.
DESCRIPTION The top Moving Average is calculated on the High of the candle. The bottom Move Average is calculated on the Low of the candle. If the two are moving apart (Divergence), the shaded area between them turns Green. If the two are moving together (Convergence), the shaded area between them turns Red. This may help identify when a trend is becoming stronger or weaker, based on the shaded area and Moving Average direction.
POSSIBLE USAGE For example: If the MA's are pointing downward and the shaded area is Green - it means that average distance between the candle High and Low is getting wider, which may indicate a stronger downward movement. Then, when the shaded area turns Red, signaling the average distance between the candle High and Low are getting narrower, this may indicate that the downward movement is weakening, and may be the end of that downward trend.
SETTINGS You can choose from EMA, SMA, WMA, RMA, HMA, TMA, and VWMA. Although you can choose the MA Source, it is highly recommended to keep one source on the High of the candle and the other on the Low of the candle, for measure Convergence and Divergence. All indicator settings are editable. It can be used on Multi Timeframes (MTF).
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.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.